MSLConstexprSampler.
struct spvc_msl_sampler_ycbcr_conversion {
unsigned int planes;
spvc_msl_format_resolution resolution;
spvc_msl_sampler_filter chroma_filter;
spvc_msl_chroma_location x_chroma_offset;
spvc_msl_chroma_location y_chroma_offset;
spvc_msl_component_swizzle swizzle[4];
spvc_msl_sampler_ycbcr_model_conversion ycbcr_model;
spvc_msl_sampler_ycbcr_range ycbcr_range;
unsigned int bpc;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | SpvcMslSamplerYcbcrConversion.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BPC
The struct member offsets. |
| public static final int | CHROMA_FILTER
The struct member offsets. |
| public static final int | PLANES
The struct member offsets. |
| public static final int | RESOLUTION
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SWIZZLE
The struct member offsets. |
| public static final int | X_CHROMA_OFFSET
The struct member offsets. |
| public static final int | Y_CHROMA_OFFSET
The struct member offsets. |
| public static final int | YCBCR_MODEL
The struct member offsets. |
| public static final int | YCBCR_RANGE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | SpvcMslSamplerYcbcrConversion(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcMslSamplerYcbcrConversion | |
| public static SpvcMslSamplerYcbcrConversion | |
| public static SpvcMslSamplerYcbcrConversion. | calloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcMslSamplerYcbcrConversion | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcMslSamplerYcbcrConversion. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public SpvcMslSamplerYcbcrConversion | |
| protected SpvcMslSamplerYcbcrConversion | 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 SpvcMslSamplerYcbcrConversion | |
| public static SpvcMslSamplerYcbcrConversion | create(long address)
Returns a new |
| public static SpvcMslSamplerYcbcrConversion. | create(int
the buffer capacity capacity)Returns a new |
| public static SpvcMslSamplerYcbcrConversion. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static SpvcMslSamplerYcbcrConversion | |
| public static SpvcMslSamplerYcbcrConversion. | |
| public static SpvcMslSamplerYcbcrConversion | |
| public static SpvcMslSamplerYcbcrConversion. | malloc(int
the buffer capacity capacity)Returns a new |
| public static SpvcMslSamplerYcbcrConversion | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SpvcMslSamplerYcbcrConversion. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static IntBuffer | |
| public static int | |
| public static void | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public SpvcMslSamplerYcbcrConversion | |
| public int | |
| public SpvcMslSamplerYcbcrConversion | |
| public SpvcMslSamplerYcbcrConversion | |
| public SpvcMslSamplerYcbcrConversion | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public IntBuffer | |
| public int | |
| public SpvcMslSamplerYcbcrConversion | |
| public SpvcMslSamplerYcbcrConversion | |
| public int | |
| public SpvcMslSamplerYcbcrConversion | |
| public int | |
| public SpvcMslSamplerYcbcrConversion | |
| public int | |
| public SpvcMslSamplerYcbcrConversion | |
| public int | |
| public SpvcMslSamplerYcbcrConversion |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BPC | back to summary |
|---|---|
| public static final int BPC The struct member offsets. | |
| CHROMA_FILTER | back to summary |
|---|---|
| public static final int CHROMA_FILTER The struct member offsets. | |
| PLANES | back to summary |
|---|---|
| public static final int PLANES The struct member offsets. | |
| RESOLUTION | back to summary |
|---|---|
| public static final int RESOLUTION The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SWIZZLE | back to summary |
|---|---|
| public static final int SWIZZLE The struct member offsets. | |
| X_CHROMA_OFFSET | back to summary |
|---|---|
| public static final int X_CHROMA_OFFSET The struct member offsets. | |
| Y_CHROMA_OFFSET | back to summary |
|---|---|
| public static final int Y_CHROMA_OFFSET The struct member offsets. | |
| YCBCR_MODEL | back to summary |
|---|---|
| public static final int YCBCR_MODEL The struct member offsets. | |
| YCBCR_RANGE | back to summary |
|---|---|
| public static final int YCBCR_RANGE The struct member offsets. | |
| SpvcMslSamplerYcbcrConversion | back to summary |
|---|---|
| protected SpvcMslSamplerYcbcrConversion(long address, ByteBuffer container) | |
| SpvcMslSamplerYcbcrConversion | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bpc | back to summary |
|---|---|
public int bpc()
| |
| bpc | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion bpc(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion. Returns a new
| |
| chroma_filter | back to summary |
|---|---|
public int chroma_filter()
| |
| chroma_filter | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion chroma_filter(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected SpvcMslSamplerYcbcrConversion create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion create() Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion. Returns a new
| |
| create | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion. Create a
| |
| createSafe | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion. Like
| |
| malloc | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SpvcMslSamplerYcbcrConversion. Returns a new
| |
| nbpc | back to summary |
|---|---|
| public static int nbpc(long struct) Unsafe version of | |
| nbpc | back to summary |
|---|---|
| public static void nbpc(long struct, int value) Unsafe version of | |
| nchroma_filter | back to summary |
|---|---|
| public static int nchroma_filter(long struct) Unsafe version of | |
| nchroma_filter | back to summary |
|---|---|
| public static void nchroma_filter(long struct, int value) Unsafe version of | |
| nplanes | back to summary |
|---|---|
| public static int nplanes(long struct) Unsafe version of | |
| nplanes | back to summary |
|---|---|
| public static void nplanes(long struct, int value) Unsafe version of | |
| nresolution | back to summary |
|---|---|
| public static int nresolution(long struct) Unsafe version of | |
| nresolution | back to summary |
|---|---|
| public static void nresolution(long struct, int value) Unsafe version of | |
| nswizzle | back to summary |
|---|---|
| public static IntBuffer nswizzle(long struct) Unsafe version of | |
| nswizzle | back to summary |
|---|---|
| public static int nswizzle(long struct, int index) Unsafe version of | |
| nswizzle | back to summary |
|---|---|
| public static void nswizzle(long struct, IntBuffer value) Unsafe version of | |
| nswizzle | back to summary |
|---|---|
| public static void nswizzle(long struct, int index, int value) Unsafe version of | |
| nx_chroma_offset | back to summary |
|---|---|
| public static int nx_chroma_offset(long struct) Unsafe version of | |
| nx_chroma_offset | back to summary |
|---|---|
| public static void nx_chroma_offset(long struct, int value) Unsafe version of | |
| ny_chroma_offset | back to summary |
|---|---|
| public static int ny_chroma_offset(long struct) Unsafe version of | |
| ny_chroma_offset | back to summary |
|---|---|
| public static void ny_chroma_offset(long struct, int value) Unsafe version of | |
| nycbcr_model | back to summary |
|---|---|
| public static int nycbcr_model(long struct) Unsafe version of | |
| nycbcr_model | back to summary |
|---|---|
| public static void nycbcr_model(long struct, int value) Unsafe version of | |
| nycbcr_range | back to summary |
|---|---|
| public static int nycbcr_range(long struct) Unsafe version of | |
| nycbcr_range | back to summary |
|---|---|
| public static void nycbcr_range(long struct, int value) Unsafe version of | |
| planes | back to summary |
|---|---|
public int planes()
| |
| planes | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion planes(int value) Sets the specified value to the | |
| resolution | back to summary |
|---|---|
public int resolution()
| |
| resolution | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion resolution(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion set(int planes, int resolution, int chroma_filter, int x_chroma_offset, int y_chroma_offset, IntBuffer swizzle, int ycbcr_model, int ycbcr_range, int bpc) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion set(SpvcMslSamplerYcbcrConversion src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| swizzle | back to summary |
|---|---|
public IntBuffer swizzle()
| |
| swizzle | back to summary |
|---|---|
public int swizzle(int index)
| |
| swizzle | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion swizzle(IntBuffer value) Copies the specified | |
| swizzle | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion swizzle(int index, int value) Sets the specified value at the specified index of the | |
| x_chroma_offset | back to summary |
|---|---|
public int x_chroma_offset()
| |
| x_chroma_offset | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion x_chroma_offset(int value) Sets the specified value to the | |
| y_chroma_offset | back to summary |
|---|---|
public int y_chroma_offset()
| |
| y_chroma_offset | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion y_chroma_offset(int value) Sets the specified value to the | |
| ycbcr_model | back to summary |
|---|---|
public int ycbcr_model()
| |
| ycbcr_model | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion ycbcr_model(int value) Sets the specified value to the | |
| ycbcr_range | back to summary |
|---|---|
public int ycbcr_range()
| |
| ycbcr_range | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion ycbcr_range(int value) Sets the specified value to the | |
SpvcMslSamplerYcbcrConversion structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final SpvcMslSamplerYcbcrConversion |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SpvcMslSamplerYcbcrConversion. | |
| public int | |
| public SpvcMslSamplerYcbcrConversion. | |
| protected SpvcMslSamplerYcbcrConversion | |
| public int | |
| public SpvcMslSamplerYcbcrConversion. | |
| public int | |
| public SpvcMslSamplerYcbcrConversion. | |
| protected SpvcMslSamplerYcbcrConversion. | |
| public IntBuffer | |
| public int | |
| public SpvcMslSamplerYcbcrConversion. | |
| public SpvcMslSamplerYcbcrConversion. | |
| public int | |
| public SpvcMslSamplerYcbcrConversion. | |
| public int | |
| public SpvcMslSamplerYcbcrConversion. | |
| public int | |
| public SpvcMslSamplerYcbcrConversion. | |
| public int | |
| public SpvcMslSamplerYcbcrConversion. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final SpvcMslSamplerYcbcrConversion 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) | |
| bpc | back to summary |
|---|---|
public int bpc()
| |
| bpc | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Sets the specified value to the | |
| chroma_filter | back to summary |
|---|---|
public int chroma_filter()
| |
| chroma_filter | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected SpvcMslSamplerYcbcrConversion getElementFactory() Implements abstract org.
| |
| planes | back to summary |
|---|---|
public int planes()
| |
| planes | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Sets the specified value to the | |
| resolution | back to summary |
|---|---|
public int resolution()
| |
| resolution | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected SpvcMslSamplerYcbcrConversion. Implements abstract org.
| |
| swizzle | back to summary |
|---|---|
public IntBuffer swizzle()
| |
| swizzle | back to summary |
|---|---|
public int swizzle(int index)
| |
| swizzle | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Copies the specified | |
| swizzle | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Sets the specified value at the specified index of the | |
| x_chroma_offset | back to summary |
|---|---|
public int x_chroma_offset()
| |
| x_chroma_offset | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Sets the specified value to the | |
| y_chroma_offset | back to summary |
|---|---|
public int y_chroma_offset()
| |
| y_chroma_offset | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Sets the specified value to the | |
| ycbcr_model | back to summary |
|---|---|
public int ycbcr_model()
| |
| ycbcr_model | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Sets the specified value to the | |
| ycbcr_range | back to summary |
|---|---|
public int ycbcr_range()
| |
| ycbcr_range | back to summary |
|---|---|
| public SpvcMslSamplerYcbcrConversion. Sets the specified value to the | |