Package app.photofox.vipsffm.generated
Class _VipsProgress
java.lang.Object
app.photofox.vipsffm.generated._VipsProgress
- Direct Known Subclasses:
VipsProgress
struct _VipsProgress {
VipsImage *im;
int run;
int eta;
gint64 tpels;
gint64 npels;
int percent;
GTimer *start;
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static inteta(MemorySegment struct) Getter for field:int etastatic voideta(MemorySegment struct, int fieldValue) Setter for field:int etastatic final ValueLayout.OfIntLayout for field:int etastatic final longOffset for field:int etastatic MemorySegmentim(MemorySegment struct) Getter for field:VipsImage *imstatic voidim(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsImage *imstatic final AddressLayoutLayout for field:VipsImage *imstatic final longOffset for field:VipsImage *imstatic final GroupLayoutlayout()The layout of this structstatic longnpels(MemorySegment struct) Getter for field:gint64 npelsstatic voidnpels(MemorySegment struct, long fieldValue) Setter for field:gint64 npelsstatic final ValueLayout.OfLongLayout for field:gint64 npelsstatic final longOffset for field:gint64 npelsstatic intpercent(MemorySegment struct) Getter for field:int percentstatic voidpercent(MemorySegment struct, int fieldValue) Setter for field:int percentstatic final ValueLayout.OfIntLayout for field:int percentstatic final longOffset for field:int percentstatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static intrun(MemorySegment struct) Getter for field:int runstatic voidrun(MemorySegment struct, int fieldValue) Setter for field:int runstatic final ValueLayout.OfIntLayout for field:int runstatic final longOffset for field:int runstatic longsizeof()The size (in bytes) of this structstatic MemorySegmentstart(MemorySegment struct) Getter for field:GTimer *startstatic voidstart(MemorySegment struct, MemorySegment fieldValue) Setter for field:GTimer *startstatic final AddressLayoutLayout for field:GTimer *startstatic final longOffset for field:GTimer *startstatic longtpels(MemorySegment struct) Getter for field:gint64 tpelsstatic voidtpels(MemorySegment struct, long fieldValue) Setter for field:gint64 tpelsstatic final ValueLayout.OfLongLayout for field:gint64 tpelsstatic final longOffset for field:gint64 tpels
-
Method Details
-
layout
The layout of this struct -
im$layout
Layout for field:VipsImage *im -
im$offset
public static final long im$offset()Offset for field:VipsImage *im -
im
Getter for field:VipsImage *im -
im
Setter for field:VipsImage *im -
run$layout
Layout for field:int run -
run$offset
public static final long run$offset()Offset for field:int run -
run
Getter for field:int run -
run
Setter for field:int run -
eta$layout
Layout for field:int eta -
eta$offset
public static final long eta$offset()Offset for field:int eta -
eta
Getter for field:int eta -
eta
Setter for field:int eta -
tpels$layout
Layout for field:gint64 tpels -
tpels$offset
public static final long tpels$offset()Offset for field:gint64 tpels -
tpels
Getter for field:gint64 tpels -
tpels
Setter for field:gint64 tpels -
npels$layout
Layout for field:gint64 npels -
npels$offset
public static final long npels$offset()Offset for field:gint64 npels -
npels
Getter for field:gint64 npels -
npels
Setter for field:gint64 npels -
percent$layout
Layout for field:int percent -
percent$offset
public static final long percent$offset()Offset for field:int percent -
percent
Getter for field:int percent -
percent
Setter for field:int percent -
start$layout
Layout for field:GTimer *start -
start$offset
public static final long start$offset()Offset for field:GTimer *start -
start
Getter for field:GTimer *start -
start
Setter for field:GTimer *start -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-