Package app.photofox.vipsffm.generated
Class VipsWindow
java.lang.Object
app.photofox.vipsffm.generated.VipsWindow
struct {
int ref_count;
struct _VipsImage *im;
int top;
int height;
VipsPel *data;
void *baseaddr;
size_t length;
}
-
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 MemorySegmentbaseaddr(MemorySegment struct) Getter for field:void *baseaddrstatic voidbaseaddr(MemorySegment struct, MemorySegment fieldValue) Setter for field:void *baseaddrstatic final AddressLayoutLayout for field:void *baseaddrstatic final longOffset for field:void *baseaddrstatic MemorySegmentdata(MemorySegment struct) Getter for field:VipsPel *datastatic voiddata(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsPel *datastatic final AddressLayoutLayout for field:VipsPel *datastatic final longOffset for field:VipsPel *datastatic intheight(MemorySegment struct) Getter for field:int heightstatic voidheight(MemorySegment struct, int fieldValue) Setter for field:int heightstatic final ValueLayout.OfIntLayout for field:int heightstatic final longOffset for field:int heightstatic 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 longlength(MemorySegment struct) Getter for field:size_t lengthstatic voidlength(MemorySegment struct, long fieldValue) Setter for field:size_t lengthstatic final ValueLayout.OfLongLayout for field:size_t lengthstatic final longOffset for field:size_t lengthstatic 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 structstatic inttop(MemorySegment struct) Getter for field:int topstatic voidtop(MemorySegment struct, int fieldValue) Setter for field:int topstatic final ValueLayout.OfIntLayout for field:int topstatic final longOffset for field:int top
-
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 -
top$layout
Layout for field:int top -
top$offset
public static final long top$offset()Offset for field:int top -
top
Getter for field:int top -
top
Setter for field:int top -
height$layout
Layout for field:int height -
height$offset
public static final long height$offset()Offset for field:int height -
height
Getter for field:int height -
height
Setter for field:int height -
data$layout
Layout for field:VipsPel *data -
data$offset
public static final long data$offset()Offset for field:VipsPel *data -
data
Getter for field:VipsPel *data -
data
Setter for field:VipsPel *data -
baseaddr$layout
Layout for field:void *baseaddr -
baseaddr$offset
public static final long baseaddr$offset()Offset for field:void *baseaddr -
baseaddr
Getter for field:void *baseaddr -
baseaddr
Setter for field:void *baseaddr -
length$layout
Layout for field:size_t length -
length$offset
public static final long length$offset()Offset for field:size_t length -
length
Getter for field:size_t length -
length
Setter for field:size_t length -
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()
-