Class _VipsTarget
java.lang.Object
app.photofox.vipsffm.jextract._VipsTarget
- Direct Known Subclasses:
VipsTarget
struct _VipsTarget {
VipsConnection parent_object;
gboolean memory;
gboolean ended;
GString *memory_buffer;
VipsBlob *blob;
unsigned char output_buffer[8500];
int write_point;
gint64 position;
gboolean delete_on_close;
char *delete_on_close_filename;
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
allocate
(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()
usingallocator
static MemorySegment
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCount
usingallocator
.static MemorySegment
asSlice
(MemorySegment array, long index) Obtains a slice ofarrayParam
which selects the array element atindex
.static MemorySegment
blob
(MemorySegment struct) Getter for field:VipsBlob *blob
static void
blob
(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsBlob *blob
static final AddressLayout
Layout for field:VipsBlob *blob
static final long
Offset for field:VipsBlob *blob
static int
delete_on_close
(MemorySegment struct) Getter for field:gboolean delete_on_close
static void
delete_on_close
(MemorySegment struct, int fieldValue) Setter for field:gboolean delete_on_close
static MemorySegment
Getter for field:char *delete_on_close_filename
static void
delete_on_close_filename
(MemorySegment struct, MemorySegment fieldValue) Setter for field:char *delete_on_close_filename
static final AddressLayout
Layout for field:char *delete_on_close_filename
static final long
Offset for field:char *delete_on_close_filename
static final ValueLayout.OfInt
Layout for field:gboolean delete_on_close
static final long
Offset for field:gboolean delete_on_close
static int
ended
(MemorySegment struct) Getter for field:gboolean ended
static void
ended
(MemorySegment struct, int fieldValue) Setter for field:gboolean ended
static final ValueLayout.OfInt
Layout for field:gboolean ended
static final long
Offset for field:gboolean ended
static final GroupLayout
layout()
The layout of this structstatic int
memory
(MemorySegment struct) Getter for field:gboolean memory
static void
memory
(MemorySegment struct, int fieldValue) Setter for field:gboolean memory
static MemorySegment
memory_buffer
(MemorySegment struct) Getter for field:GString *memory_buffer
static void
memory_buffer
(MemorySegment struct, MemorySegment fieldValue) Setter for field:GString *memory_buffer
static final AddressLayout
Layout for field:GString *memory_buffer
static final long
Offset for field:GString *memory_buffer
static final ValueLayout.OfInt
Layout for field:gboolean memory
static final long
Offset for field:gboolean memory
static MemorySegment
output_buffer
(MemorySegment struct) Getter for field:unsigned char output_buffer[8500]
static byte
output_buffer
(MemorySegment struct, long index0) Indexed getter for field:unsigned char output_buffer[8500]
static void
output_buffer
(MemorySegment struct, long index0, byte fieldValue) Indexed setter for field:unsigned char output_buffer[8500]
static void
output_buffer
(MemorySegment struct, MemorySegment fieldValue) Setter for field:unsigned char output_buffer[8500]
static long[]
Dimensions for array field:unsigned char output_buffer[8500]
static final SequenceLayout
Layout for field:unsigned char output_buffer[8500]
static final long
Offset for field:unsigned char output_buffer[8500]
static MemorySegment
parent_object
(MemorySegment struct) Getter for field:VipsConnection parent_object
static void
parent_object
(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsConnection parent_object
static final GroupLayout
Layout for field:VipsConnection parent_object
static final long
Offset for field:VipsConnection parent_object
static long
position
(MemorySegment struct) Getter for field:gint64 position
static void
position
(MemorySegment struct, long fieldValue) Setter for field:gint64 position
static final ValueLayout.OfLong
Layout for field:gint64 position
static final long
Offset for field:gint64 position
static MemorySegment
reinterpret
(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
reinterpret
(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static long
sizeof()
The size (in bytes) of this structstatic int
write_point
(MemorySegment struct) Getter for field:int write_point
static void
write_point
(MemorySegment struct, int fieldValue) Setter for field:int write_point
static final ValueLayout.OfInt
Layout for field:int write_point
static final long
Offset for field:int write_point
-
Method Details
-
layout
The layout of this struct -
parent_object$layout
Layout for field:VipsConnection parent_object
-
parent_object$offset
public static final long parent_object$offset()Offset for field:VipsConnection parent_object
-
parent_object
Getter for field:VipsConnection parent_object
-
parent_object
Setter for field:VipsConnection parent_object
-
memory$layout
Layout for field:gboolean memory
-
memory$offset
public static final long memory$offset()Offset for field:gboolean memory
-
memory
Getter for field:gboolean memory
-
memory
Setter for field:gboolean memory
-
ended$layout
Layout for field:gboolean ended
-
ended$offset
public static final long ended$offset()Offset for field:gboolean ended
-
ended
Getter for field:gboolean ended
-
ended
Setter for field:gboolean ended
-
memory_buffer$layout
Layout for field:GString *memory_buffer
-
memory_buffer$offset
public static final long memory_buffer$offset()Offset for field:GString *memory_buffer
-
memory_buffer
Getter for field:GString *memory_buffer
-
memory_buffer
Setter for field:GString *memory_buffer
-
blob$layout
Layout for field:VipsBlob *blob
-
blob$offset
public static final long blob$offset()Offset for field:VipsBlob *blob
-
blob
Getter for field:VipsBlob *blob
-
blob
Setter for field:VipsBlob *blob
-
output_buffer$layout
Layout for field:unsigned char output_buffer[8500]
-
output_buffer$offset
public static final long output_buffer$offset()Offset for field:unsigned char output_buffer[8500]
-
output_buffer
Getter for field:unsigned char output_buffer[8500]
-
output_buffer
Setter for field:unsigned char output_buffer[8500]
-
output_buffer$dimensions
public static long[] output_buffer$dimensions()Dimensions for array field:unsigned char output_buffer[8500]
-
output_buffer
Indexed getter for field:unsigned char output_buffer[8500]
-
output_buffer
Indexed setter for field:unsigned char output_buffer[8500]
-
write_point$layout
Layout for field:int write_point
-
write_point$offset
public static final long write_point$offset()Offset for field:int write_point
-
write_point
Getter for field:int write_point
-
write_point
Setter for field:int write_point
-
position$layout
Layout for field:gint64 position
-
position$offset
public static final long position$offset()Offset for field:gint64 position
-
position
Getter for field:gint64 position
-
position
Setter for field:gint64 position
-
delete_on_close$layout
Layout for field:gboolean delete_on_close
-
delete_on_close$offset
public static final long delete_on_close$offset()Offset for field:gboolean delete_on_close
-
delete_on_close
Getter for field:gboolean delete_on_close
-
delete_on_close
Setter for field:gboolean delete_on_close
-
delete_on_close_filename$layout
Layout for field:char *delete_on_close_filename
-
delete_on_close_filename$offset
public static final long delete_on_close_filename$offset()Offset for field:char *delete_on_close_filename
-
delete_on_close_filename
Getter for field:char *delete_on_close_filename
-
delete_on_close_filename
Setter for field:char *delete_on_close_filename
-
asSlice
Obtains a slice ofarrayParam
which 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 sizeelementCount
usingallocator
. The returned segment has sizeelementCount * layout().byteSize()
. -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizelayout().byteSize()
-
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizeelementCount * layout().byteSize()
-