Package app.photofox.vipsffm.generated
Class _VipsBufferCache
java.lang.Object
app.photofox.vipsffm.generated._VipsBufferCache
- Direct Known Subclasses:
VipsBufferCache
struct _VipsBufferCache {
GSList *buffers;
GThread *thread;
struct _VipsImage *im;
VipsBufferThread *buffer_thread;
GSList *reserve;
int n_reserve;
}
-
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 MemorySegmentbuffer_thread(MemorySegment struct) Getter for field:VipsBufferThread *buffer_threadstatic voidbuffer_thread(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsBufferThread *buffer_threadstatic final AddressLayoutLayout for field:VipsBufferThread *buffer_threadstatic final longOffset for field:VipsBufferThread *buffer_threadstatic MemorySegmentbuffers(MemorySegment struct) Getter for field:GSList *buffersstatic voidbuffers(MemorySegment struct, MemorySegment fieldValue) Setter for field:GSList *buffersstatic final AddressLayoutLayout for field:GSList *buffersstatic final longOffset for field:GSList *buffersstatic 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 intn_reserve(MemorySegment struct) Getter for field:int n_reservestatic voidn_reserve(MemorySegment struct, int fieldValue) Setter for field:int n_reservestatic final ValueLayout.OfIntLayout for field:int n_reservestatic final longOffset for field:int n_reservestatic 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 MemorySegmentreserve(MemorySegment struct) Getter for field:GSList *reservestatic voidreserve(MemorySegment struct, MemorySegment fieldValue) Setter for field:GSList *reservestatic final AddressLayoutLayout for field:GSList *reservestatic final longOffset for field:GSList *reservestatic longsizeof()The size (in bytes) of this structstatic MemorySegmentthread(MemorySegment struct) Getter for field:GThread *threadstatic voidthread(MemorySegment struct, MemorySegment fieldValue) Setter for field:GThread *threadstatic final AddressLayoutLayout for field:GThread *threadstatic final longOffset for field:GThread *thread
-
Method Details
-
layout
The layout of this struct -
buffers$layout
Layout for field:GSList *buffers -
buffers$offset
public static final long buffers$offset()Offset for field:GSList *buffers -
buffers
Getter for field:GSList *buffers -
buffers
Setter for field:GSList *buffers -
thread$layout
Layout for field:GThread *thread -
thread$offset
public static final long thread$offset()Offset for field:GThread *thread -
thread
Getter for field:GThread *thread -
thread
Setter for field:GThread *thread -
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 -
buffer_thread$layout
Layout for field:VipsBufferThread *buffer_thread -
buffer_thread$offset
public static final long buffer_thread$offset()Offset for field:VipsBufferThread *buffer_thread -
buffer_thread
Getter for field:VipsBufferThread *buffer_thread -
buffer_thread
Setter for field:VipsBufferThread *buffer_thread -
reserve$layout
Layout for field:GSList *reserve -
reserve$offset
public static final long reserve$offset()Offset for field:GSList *reserve -
reserve
Getter for field:GSList *reserve -
reserve
Setter for field:GSList *reserve -
n_reserve$layout
Layout for field:int n_reserve -
n_reserve$offset
public static final long n_reserve$offset()Offset for field:int n_reserve -
n_reserve
Getter for field:int n_reserve -
n_reserve
Setter for field:int n_reserve -
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()
-