Package app.photofox.vipsffm.generated
Class _VipsBuffer
java.lang.Object
app.photofox.vipsffm.generated._VipsBuffer
- Direct Known Subclasses:
VipsBuffer
struct _VipsBuffer {
int ref_count;
struct _VipsImage *im;
VipsRect area;
gboolean done;
VipsBufferCache *cache;
VipsPel *buf;
size_t bsize;
}
-
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 MemorySegmentarea(MemorySegment struct) Getter for field:VipsRect areastatic voidarea(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsRect areastatic final GroupLayoutLayout for field:VipsRect areastatic final longOffset for field:VipsRect areastatic MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static longbsize(MemorySegment struct) Getter for field:size_t bsizestatic voidbsize(MemorySegment struct, long fieldValue) Setter for field:size_t bsizestatic final ValueLayout.OfLongLayout for field:size_t bsizestatic final longOffset for field:size_t bsizestatic MemorySegmentbuf(MemorySegment struct) Getter for field:VipsPel *bufstatic voidbuf(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsPel *bufstatic final AddressLayoutLayout for field:VipsPel *bufstatic final longOffset for field:VipsPel *bufstatic MemorySegmentcache(MemorySegment struct) Getter for field:VipsBufferCache *cachestatic voidcache(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsBufferCache *cachestatic final AddressLayoutLayout for field:VipsBufferCache *cachestatic final longOffset for field:VipsBufferCache *cachestatic intdone(MemorySegment struct) Getter for field:gboolean donestatic voiddone(MemorySegment struct, int fieldValue) Setter for field:gboolean donestatic final ValueLayout.OfIntLayout for field:gboolean donestatic final longOffset for field:gboolean donestatic MemorySegmentim(MemorySegment struct) Getter for field:struct _VipsImage *imstatic voidim(MemorySegment struct, MemorySegment fieldValue) Setter for field:struct _VipsImage *imstatic final AddressLayoutLayout for field:struct _VipsImage *imstatic final longOffset for field:struct _VipsImage *imstatic final GroupLayoutlayout()The layout of this structstatic intref_count(MemorySegment struct) Getter for field:int ref_countstatic voidref_count(MemorySegment struct, int fieldValue) Setter for field:int ref_countstatic final ValueLayout.OfIntLayout for field:int ref_countstatic final longOffset for field:int ref_countstatic 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 longsizeof()The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
ref_count$layout
Layout for field:int ref_count -
ref_count$offset
public static final long ref_count$offset()Offset for field:int ref_count -
ref_count
Getter for field:int ref_count -
ref_count
Setter for field:int ref_count -
im$layout
Layout for field:struct _VipsImage *im -
im$offset
public static final long im$offset()Offset for field:struct _VipsImage *im -
im
Getter for field:struct _VipsImage *im -
im
Setter for field:struct _VipsImage *im -
area$layout
Layout for field:VipsRect area -
area$offset
public static final long area$offset()Offset for field:VipsRect area -
area
Getter for field:VipsRect area -
area
Setter for field:VipsRect area -
done$layout
Layout for field:gboolean done -
done$offset
public static final long done$offset()Offset for field:gboolean done -
done
Getter for field:gboolean done -
done
Setter for field:gboolean done -
cache$layout
Layout for field:VipsBufferCache *cache -
cache$offset
public static final long cache$offset()Offset for field:VipsBufferCache *cache -
cache
Getter for field:VipsBufferCache *cache -
cache
Setter for field:VipsBufferCache *cache -
buf$layout
Layout for field:VipsPel *buf -
buf$offset
public static final long buf$offset()Offset for field:VipsPel *buf -
buf
Getter for field:VipsPel *buf -
buf
Setter for field:VipsPel *buf -
bsize$layout
Layout for field:size_t bsize -
bsize$offset
public static final long bsize$offset()Offset for field:size_t bsize -
bsize
Getter for field:size_t bsize -
bsize
Setter for field:size_t bsize -
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()
-