Package org.lwjgl.vulkan.video
Class StdVideoH265PredictorPaletteEntries
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoH265PredictorPaletteEntries
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoH265PredictorPaletteEntries extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoH265PredictorPaletteEntries { uint16_t PredictorPaletteEntries[STD_VIDEO_H265_PREDICTOR_PALETTE_COMP_ENTRIES_LIST_SIZE]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoH265PredictorPaletteEntries.BufferAn array ofStdVideoH265PredictorPaletteEntriesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPREDICTORPALETTEENTRIESThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description StdVideoH265PredictorPaletteEntries(java.nio.ByteBuffer container)Creates aStdVideoH265PredictorPaletteEntriesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoH265PredictorPaletteEntriescalloc()Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated withmemCalloc.static StdVideoH265PredictorPaletteEntries.Buffercalloc(int capacity)Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated withmemCalloc.static StdVideoH265PredictorPaletteEntries.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265PredictorPaletteEntriescalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265PredictorPaletteEntriescreate()Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated withBufferUtils.static StdVideoH265PredictorPaletteEntries.Buffercreate(int capacity)Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated withBufferUtils.static StdVideoH265PredictorPaletteEntriescreate(long address)Returns a newStdVideoH265PredictorPaletteEntriesinstance for the specified memory address.static StdVideoH265PredictorPaletteEntries.Buffercreate(long address, int capacity)Create aStdVideoH265PredictorPaletteEntries.Bufferinstance at the specified memory.static StdVideoH265PredictorPaletteEntriescreateSafe(long address)static StdVideoH265PredictorPaletteEntries.BuffercreateSafe(long address, int capacity)static StdVideoH265PredictorPaletteEntriesmalloc()Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated withmemAlloc.static StdVideoH265PredictorPaletteEntries.Buffermalloc(int capacity)Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated withmemAlloc.static StdVideoH265PredictorPaletteEntries.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH265PredictorPaletteEntriesmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated on the specifiedMemoryStack.static java.nio.ShortBuffernPredictorPaletteEntries(long struct)Unsafe version ofPredictorPaletteEntries().static shortnPredictorPaletteEntries(long struct, int index)Unsafe version ofPredictorPaletteEntries.static voidnPredictorPaletteEntries(long struct, int index, short value)Unsafe version ofPredictorPaletteEntries.static voidnPredictorPaletteEntries(long struct, java.nio.ShortBuffer value)Unsafe version ofPredictorPaletteEntries.java.nio.ShortBufferPredictorPaletteEntries()shortPredictorPaletteEntries(int index)StdVideoH265PredictorPaletteEntriesPredictorPaletteEntries(int index, short value)Sets the specified value at the specified index of thePredictorPaletteEntriesfield.StdVideoH265PredictorPaletteEntriesPredictorPaletteEntries(java.nio.ShortBuffer value)Copies the specifiedShortBufferto thePredictorPaletteEntriesfield.StdVideoH265PredictorPaletteEntriesset(StdVideoH265PredictorPaletteEntries src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoH265PredictorPaletteEntries
public StdVideoH265PredictorPaletteEntries(java.nio.ByteBuffer container)
Creates aStdVideoH265PredictorPaletteEntriesinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
PredictorPaletteEntries
public java.nio.ShortBuffer PredictorPaletteEntries()
- Returns:
- a
ShortBufferview of thePredictorPaletteEntriesfield.
-
PredictorPaletteEntries
public short PredictorPaletteEntries(int index)
- Returns:
- the value at the specified index of the
PredictorPaletteEntriesfield.
-
PredictorPaletteEntries
public StdVideoH265PredictorPaletteEntries PredictorPaletteEntries(java.nio.ShortBuffer value)
Copies the specifiedShortBufferto thePredictorPaletteEntriesfield.
-
PredictorPaletteEntries
public StdVideoH265PredictorPaletteEntries PredictorPaletteEntries(int index, short value)
Sets the specified value at the specified index of thePredictorPaletteEntriesfield.
-
set
public StdVideoH265PredictorPaletteEntries set(StdVideoH265PredictorPaletteEntries src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoH265PredictorPaletteEntries malloc()
Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoH265PredictorPaletteEntries calloc()
Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoH265PredictorPaletteEntries create()
Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated withBufferUtils.
-
create
public static StdVideoH265PredictorPaletteEntries create(long address)
Returns a newStdVideoH265PredictorPaletteEntriesinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoH265PredictorPaletteEntries createSafe(long address)
-
malloc
public static StdVideoH265PredictorPaletteEntries.Buffer malloc(int capacity)
Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoH265PredictorPaletteEntries.Buffer calloc(int capacity)
Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH265PredictorPaletteEntries.Buffer create(int capacity)
Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH265PredictorPaletteEntries.Buffer create(long address, int capacity)
Create aStdVideoH265PredictorPaletteEntries.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoH265PredictorPaletteEntries.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoH265PredictorPaletteEntries malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoH265PredictorPaletteEntries calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265PredictorPaletteEntriesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoH265PredictorPaletteEntries.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoH265PredictorPaletteEntries.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265PredictorPaletteEntries.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nPredictorPaletteEntries
public static java.nio.ShortBuffer nPredictorPaletteEntries(long struct)
Unsafe version ofPredictorPaletteEntries().
-
nPredictorPaletteEntries
public static short nPredictorPaletteEntries(long struct, int index)Unsafe version ofPredictorPaletteEntries.
-
nPredictorPaletteEntries
public static void nPredictorPaletteEntries(long struct, java.nio.ShortBuffer value)Unsafe version ofPredictorPaletteEntries.
-
nPredictorPaletteEntries
public static void nPredictorPaletteEntries(long struct, int index, short value)Unsafe version ofPredictorPaletteEntries.
-
-