struct DeepImage {
char const ** channel_names;
float *** image;
int ** offset_table;
int num_channels;
int width;
int height;
char[4];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | DeepImage.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CHANNEL_NAMES
The struct member offsets. |
| public static final int | HEIGHT
The struct member offsets. |
| public static final int | IMAGE
The struct member offsets. |
| public static final int | NUM_CHANNELS
The struct member offsets. |
| public static final int | OFFSET_TABLE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | DeepImage(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static DeepImage | |
| public static DeepImage. | calloc(int
the buffer capacity capacity)Returns a new |
| public static DeepImage | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static DeepImage. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static DeepImage | |
| public static DeepImage | |
| public static DeepImage. | |
| public static DeepImage. | |
| public PointerBuffer | |
| public DeepImage | channel_names(PointerBuffer value)
Sets the address of the specified |
| protected DeepImage | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static DeepImage | |
| public static DeepImage | |
| public static DeepImage. | create(int
the buffer capacity capacity)Returns a new |
| public static DeepImage. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static DeepImage | |
| public static DeepImage. | |
| public int | |
| public DeepImage | |
| public PointerBuffer | |
| public DeepImage | |
| public static DeepImage | |
| public static DeepImage. | malloc(int
the buffer capacity capacity)Returns a new |
| public static DeepImage | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static DeepImage. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static DeepImage | |
| public static DeepImage | |
| public static DeepImage. | |
| public static DeepImage. | |
| public static PointerBuffer | |
| public static void | |
| public static int | |
| public static void | |
| public static PointerBuffer | |
| public static void | |
| public static int | |
| public static void | nnum_channels(long struct, int value)
Sets the specified value to the |
| public static PointerBuffer | |
| public static void | |
| public int | |
| public DeepImage | |
| public static int | |
| public static void | |
| public PointerBuffer | Returns: offset_table[scanline][offsets]the number of elements in the returned buffer capacity)
|
| public DeepImage | offset_table(PointerBuffer value)
Sets the address of the specified |
| public DeepImage | set(PointerBuffer channel_names, PointerBuffer image, PointerBuffer offset_table, int num_channels, int width, int height)
Initializes this struct with the specified values. |
| public DeepImage | |
| public int | |
| public static void | |
| public int | |
| public DeepImage |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CHANNEL_NAMES | back to summary |
|---|---|
| public static final int CHANNEL_NAMES The struct member offsets. | |
| HEIGHT | back to summary |
|---|---|
| public static final int HEIGHT The struct member offsets. | |
| IMAGE | back to summary |
|---|---|
| public static final int IMAGE The struct member offsets. | |
| NUM_CHANNELS | back to summary |
|---|---|
| public static final int NUM_CHANNELS The struct member offsets. | |
| OFFSET_TABLE | back to summary |
|---|---|
| public static final int OFFSET_TABLE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WIDTH | back to summary |
|---|---|
| public static final int WIDTH The struct member offsets. | |
| DeepImage | back to summary |
|---|---|
| protected DeepImage(long address, ByteBuffer container) | |
| DeepImage | back to summary |
|---|---|
| public DeepImage(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static DeepImage calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static DeepImage. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static DeepImage calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static DeepImage. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static DeepImage callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static DeepImage callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static DeepImage. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static DeepImage. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| channel_names | back to summary |
|---|---|
public PointerBuffer channel_names()
| |
| channel_names | back to summary |
|---|---|
| public DeepImage channel_names(PointerBuffer value) Sets the address of the specified | |
| create | back to summary |
|---|---|
| protected DeepImage create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static DeepImage create() Returns a new | |
| create | back to summary |
|---|---|
| public static DeepImage create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static DeepImage. Returns a new
| |
| create | back to summary |
|---|---|
| public static DeepImage. Create a
| |
| createSafe | back to summary |
|---|---|
| public static DeepImage createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static DeepImage. Like
| |
| height | back to summary |
|---|---|
public int height()
| |
| height | back to summary |
|---|---|
| public DeepImage height(int value) Sets the specified value to the | |
| image | back to summary |
|---|---|
| public PointerBuffer image() image[channels][scanlines][samples]
| |
| image | back to summary |
|---|---|
| public DeepImage image(PointerBuffer value) Sets the address of the specified | |
| malloc | back to summary |
|---|---|
| public static DeepImage malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static DeepImage. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static DeepImage malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static DeepImage. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static DeepImage mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static DeepImage mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static DeepImage. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static DeepImage. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nchannel_names | back to summary |
|---|---|
| public static PointerBuffer nchannel_names(long struct) Unsafe version of | |
| nchannel_names | back to summary |
|---|---|
| public static void nchannel_names(long struct, PointerBuffer value) Unsafe version of | |
| nheight | back to summary |
|---|---|
| public static int nheight(long struct) Unsafe version of | |
| nheight | back to summary |
|---|---|
| public static void nheight(long struct, int value) Unsafe version of | |
| nimage | back to summary |
|---|---|
| public static PointerBuffer nimage(long struct) Unsafe version of | |
| nimage | back to summary |
|---|---|
| public static void nimage(long struct, PointerBuffer value) Unsafe version of | |
| nnum_channels | back to summary |
|---|---|
| public static int nnum_channels(long struct) Unsafe version of | |
| nnum_channels | back to summary |
|---|---|
| public static void nnum_channels(long struct, int value) Sets the specified value to the | |
| noffset_table | back to summary |
|---|---|
| public static PointerBuffer noffset_table(long struct, int capacity) Unsafe version of | |
| noffset_table | back to summary |
|---|---|
| public static void noffset_table(long struct, PointerBuffer value) Unsafe version of | |
| num_channels | back to summary |
|---|---|
public int num_channels()
| |
| num_channels | back to summary |
|---|---|
| public DeepImage num_channels(int value) Sets the specified value to the | |
| nwidth | back to summary |
|---|---|
| public static int nwidth(long struct) Unsafe version of | |
| nwidth | back to summary |
|---|---|
| public static void nwidth(long struct, int value) Unsafe version of | |
| offset_table | back to summary |
|---|---|
public PointerBuffer offset_table(int capacity)
| |
| offset_table | back to summary |
|---|---|
| public DeepImage offset_table(PointerBuffer value) Sets the address of the specified | |
| set | back to summary |
|---|---|
| public DeepImage set(PointerBuffer channel_names, PointerBuffer image, PointerBuffer offset_table, int num_channels, int width, int height) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public DeepImage set(DeepImage src) Copies the specified struct data to this struct. | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
| width | back to summary |
|---|---|
public int width()
| |
| width | back to summary |
|---|---|
| public DeepImage width(int value) Sets the specified value to the | |
DeepImage structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final DeepImage |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public PointerBuffer | |
| public DeepImage. | channel_names(PointerBuffer value)
Sets the address of the specified |
| protected DeepImage | |
| public int | |
| public DeepImage. | |
| public PointerBuffer | |
| public DeepImage. | image(PointerBuffer value)
Sets the address of the specified |
| public int | |
| public DeepImage. | |
| public PointerBuffer | |
| public DeepImage. | offset_table(PointerBuffer value)
Sets the address of the specified |
| protected DeepImage. | |
| public int | |
| public DeepImage. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final DeepImage ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| channel_names | back to summary |
|---|---|
public PointerBuffer channel_names()
| |
| channel_names | back to summary |
|---|---|
| public DeepImage. Sets the address of the specified | |
| getElementFactory | back to summary |
|---|---|
| protected DeepImage getElementFactory() Implements abstract org.
| |
| height | back to summary |
|---|---|
public int height()
| |
| height | back to summary |
|---|---|
| public DeepImage. Sets the specified value to the | |
| image | back to summary |
|---|---|
public PointerBuffer image()
| |
| image | back to summary |
|---|---|
| public DeepImage. Sets the address of the specified | |
| num_channels | back to summary |
|---|---|
public int num_channels()
| |
| num_channels | back to summary |
|---|---|
| public DeepImage. Sets the specified value to the | |
| offset_table | back to summary |
|---|---|
public PointerBuffer offset_table(int capacity)
| |
| offset_table | back to summary |
|---|---|
| public DeepImage. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected DeepImage. Implements abstract org.
| |
| width | back to summary |
|---|---|
public int width()
| |
| width | back to summary |
|---|---|
| public DeepImage. Sets the specified value to the | |