Package app.photofox.vipsffm.generated
Class _VipsRegion
java.lang.Object
app.photofox.vipsffm.generated._VipsRegion
- Direct Known Subclasses:
VipsRegion
struct _VipsRegion {
VipsObject parent_object;
VipsImage *im;
VipsRect valid;
RegionType type;
VipsPel *data;
int bpl;
void *seq;
GThread *thread;
VipsWindow *window;
VipsBuffer *buffer;
gboolean invalid;
}
-
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 intbpl(MemorySegment struct) Getter for field:int bplstatic voidbpl(MemorySegment struct, int fieldValue) Setter for field:int bplstatic final ValueLayout.OfIntLayout for field:int bplstatic final longOffset for field:int bplstatic MemorySegmentbuffer(MemorySegment struct) Getter for field:VipsBuffer *bufferstatic voidbuffer(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsBuffer *bufferstatic final AddressLayoutLayout for field:VipsBuffer *bufferstatic final longOffset for field:VipsBuffer *bufferstatic 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 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 intinvalid(MemorySegment struct) Getter for field:gboolean invalidstatic voidinvalid(MemorySegment struct, int fieldValue) Setter for field:gboolean invalidstatic final ValueLayout.OfIntLayout for field:gboolean invalidstatic final longOffset for field:gboolean invalidstatic final GroupLayoutlayout()The layout of this structstatic MemorySegmentparent_object(MemorySegment struct) Getter for field:VipsObject parent_objectstatic voidparent_object(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsObject parent_objectstatic final GroupLayoutLayout for field:VipsObject parent_objectstatic final longOffset for field:VipsObject parent_objectstatic 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 MemorySegmentseq(MemorySegment struct) Getter for field:void *seqstatic voidseq(MemorySegment struct, MemorySegment fieldValue) Setter for field:void *seqstatic final AddressLayoutLayout for field:void *seqstatic final longOffset for field:void *seqstatic 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 *threadstatic inttype(MemorySegment struct) Getter for field:RegionType typestatic voidtype(MemorySegment struct, int fieldValue) Setter for field:RegionType typestatic final ValueLayout.OfIntLayout for field:RegionType typestatic final longOffset for field:RegionType typestatic MemorySegmentvalid(MemorySegment struct) Getter for field:VipsRect validstatic voidvalid(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsRect validstatic final GroupLayoutLayout for field:VipsRect validstatic final longOffset for field:VipsRect validstatic MemorySegmentwindow(MemorySegment struct) Getter for field:VipsWindow *windowstatic voidwindow(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsWindow *windowstatic final AddressLayoutLayout for field:VipsWindow *windowstatic final longOffset for field:VipsWindow *window
-
Method Details
-
layout
The layout of this struct -
parent_object$layout
Layout for field:VipsObject parent_object -
parent_object$offset
public static final long parent_object$offset()Offset for field:VipsObject parent_object -
parent_object
Getter for field:VipsObject parent_object -
parent_object
Setter for field:VipsObject parent_object -
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 -
valid$layout
Layout for field:VipsRect valid -
valid$offset
public static final long valid$offset()Offset for field:VipsRect valid -
valid
Getter for field:VipsRect valid -
valid
Setter for field:VipsRect valid -
type$layout
Layout for field:RegionType type -
type$offset
public static final long type$offset()Offset for field:RegionType type -
type
Getter for field:RegionType type -
type
Setter for field:RegionType type -
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 -
bpl$layout
Layout for field:int bpl -
bpl$offset
public static final long bpl$offset()Offset for field:int bpl -
bpl
Getter for field:int bpl -
bpl
Setter for field:int bpl -
seq$layout
Layout for field:void *seq -
seq$offset
public static final long seq$offset()Offset for field:void *seq -
seq
Getter for field:void *seq -
seq
Setter for field:void *seq -
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 -
window$layout
Layout for field:VipsWindow *window -
window$offset
public static final long window$offset()Offset for field:VipsWindow *window -
window
Getter for field:VipsWindow *window -
window
Setter for field:VipsWindow *window -
buffer$layout
Layout for field:VipsBuffer *buffer -
buffer$offset
public static final long buffer$offset()Offset for field:VipsBuffer *buffer -
buffer
Getter for field:VipsBuffer *buffer -
buffer
Setter for field:VipsBuffer *buffer -
invalid$layout
Layout for field:gboolean invalid -
invalid$offset
public static final long invalid$offset()Offset for field:gboolean invalid -
invalid
Getter for field:gboolean invalid -
invalid
Setter for field:gboolean invalid -
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()
-