Package org.lwjgl.vulkan.video
Class StdVideoEncodeAV1OperatingPointInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeAV1OperatingPointInfo>
org.lwjgl.vulkan.video.StdVideoEncodeAV1OperatingPointInfo
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoEncodeAV1OperatingPointInfo
extends Struct<StdVideoEncodeAV1OperatingPointInfo>
implements NativeResource
struct StdVideoEncodeAV1OperatingPointInfo {
StdVideoEncodeAV1OperatingPointInfoFlags flags;
uint16_t operating_point_idc;
uint8_t seq_level_idx;
uint8_t seq_tier;
uint32_t decoder_buffer_delay;
uint32_t encoder_buffer_delay;
uint8_t initial_display_delay_minus_1;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofStdVideoEncodeAV1OperatingPointInfostructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoEncodeAV1OperatingPointInfo(ByteBuffer container) Creates aStdVideoEncodeAV1OperatingPointInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoEncodeAV1OperatingPointInfoinstance for the specified memory address.create(long address, int capacity) Create aStdVideoEncodeAV1OperatingPointInfo.Bufferinstance at the specified memory.static @Nullable StdVideoEncodeAV1OperatingPointInfocreateSafe(long address) static @Nullable StdVideoEncodeAV1OperatingPointInfo.BuffercreateSafe(long address, int capacity) intdecoder_buffer_delay(int value) Sets the specified value to thedecoder_buffer_delayfield.intencoder_buffer_delay(int value) Sets the specified value to theencoder_buffer_delayfield.flags()Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoEncodeAV1OperatingPointInfoFlagsto theflagsfield.byteinitial_display_delay_minus_1(byte value) Sets the specified value to theinitial_display_delay_minus_1field.malloc()Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated on the specifiedMemoryStack.static intndecoder_buffer_delay(long struct) Unsafe version ofdecoder_buffer_delay().static voidndecoder_buffer_delay(long struct, int value) Unsafe version ofdecoder_buffer_delay.static intnencoder_buffer_delay(long struct) Unsafe version ofencoder_buffer_delay().static voidnencoder_buffer_delay(long struct, int value) Unsafe version ofencoder_buffer_delay.nflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoEncodeAV1OperatingPointInfoFlags value) Unsafe version offlags.static byteninitial_display_delay_minus_1(long struct) Unsafe version ofinitial_display_delay_minus_1().static voidninitial_display_delay_minus_1(long struct, byte value) Unsafe version ofinitial_display_delay_minus_1.static shortnoperating_point_idc(long struct) Unsafe version ofoperating_point_idc().static voidnoperating_point_idc(long struct, short value) Unsafe version ofoperating_point_idc.static bytenseq_level_idx(long struct) Unsafe version ofseq_level_idx().static voidnseq_level_idx(long struct, byte value) Unsafe version ofseq_level_idx.static bytenseq_tier(long struct) Unsafe version ofseq_tier().static voidnseq_tier(long struct, byte value) Unsafe version ofseq_tier.shortoperating_point_idc(short value) Sets the specified value to theoperating_point_idcfield.byteseq_level_idx(byte value) Sets the specified value to theseq_level_idxfield.byteseq_tier()seq_tier(byte value) Sets the specified value to theseq_tierfield.Copies the specified struct data to this struct.set(StdVideoEncodeAV1OperatingPointInfoFlags flags, short operating_point_idc, byte seq_level_idx, byte seq_tier, int decoder_buffer_delay, int encoder_buffer_delay, byte initial_display_delay_minus_1) Initializes this struct with the specified values.intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FLAGS
public static final int FLAGSThe struct member offsets. -
OPERATING_POINT_IDC
public static final int OPERATING_POINT_IDCThe struct member offsets. -
SEQ_LEVEL_IDX
public static final int SEQ_LEVEL_IDXThe struct member offsets. -
SEQ_TIER
public static final int SEQ_TIERThe struct member offsets. -
DECODER_BUFFER_DELAY
public static final int DECODER_BUFFER_DELAYThe struct member offsets. -
ENCODER_BUFFER_DELAY
public static final int ENCODER_BUFFER_DELAYThe struct member offsets. -
INITIAL_DISPLAY_DELAY_MINUS_1
public static final int INITIAL_DISPLAY_DELAY_MINUS_1The struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeAV1OperatingPointInfo
Creates aStdVideoEncodeAV1OperatingPointInfoinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoEncodeAV1OperatingPointInfo>
-
flags
- Returns:
- a
StdVideoEncodeAV1OperatingPointInfoFlagsview of theflagsfield.
-
operating_point_idc
public short operating_point_idc()- Returns:
- the value of the
operating_point_idcfield.
-
seq_level_idx
public byte seq_level_idx()- Returns:
- the value of the
seq_level_idxfield.
-
seq_tier
public byte seq_tier()- Returns:
- the value of the
seq_tierfield.
-
decoder_buffer_delay
public int decoder_buffer_delay()- Returns:
- the value of the
decoder_buffer_delayfield.
-
encoder_buffer_delay
public int encoder_buffer_delay()- Returns:
- the value of the
encoder_buffer_delayfield.
-
initial_display_delay_minus_1
public byte initial_display_delay_minus_1()- Returns:
- the value of the
initial_display_delay_minus_1field.
-
flags
Copies the specifiedStdVideoEncodeAV1OperatingPointInfoFlagsto theflagsfield. -
flags
public StdVideoEncodeAV1OperatingPointInfo flags(Consumer<StdVideoEncodeAV1OperatingPointInfoFlags> consumer) Passes theflagsfield to the specifiedConsumer. -
operating_point_idc
Sets the specified value to theoperating_point_idcfield. -
seq_level_idx
Sets the specified value to theseq_level_idxfield. -
seq_tier
Sets the specified value to theseq_tierfield. -
decoder_buffer_delay
Sets the specified value to thedecoder_buffer_delayfield. -
encoder_buffer_delay
Sets the specified value to theencoder_buffer_delayfield. -
initial_display_delay_minus_1
Sets the specified value to theinitial_display_delay_minus_1field. -
set
public StdVideoEncodeAV1OperatingPointInfo set(StdVideoEncodeAV1OperatingPointInfoFlags flags, short operating_point_idc, byte seq_level_idx, byte seq_tier, int decoder_buffer_delay, int encoder_buffer_delay, byte initial_display_delay_minus_1) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated withBufferUtils. -
create
Returns a newStdVideoEncodeAV1OperatingPointInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoEncodeAV1OperatingPointInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeAV1OperatingPointInfo.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeAV1OperatingPointInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeAV1OperatingPointInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nflags
Unsafe version offlags(). -
noperating_point_idc
public static short noperating_point_idc(long struct) Unsafe version ofoperating_point_idc(). -
nseq_level_idx
public static byte nseq_level_idx(long struct) Unsafe version ofseq_level_idx(). -
nseq_tier
public static byte nseq_tier(long struct) Unsafe version ofseq_tier(). -
ndecoder_buffer_delay
public static int ndecoder_buffer_delay(long struct) Unsafe version ofdecoder_buffer_delay(). -
nencoder_buffer_delay
public static int nencoder_buffer_delay(long struct) Unsafe version ofencoder_buffer_delay(). -
ninitial_display_delay_minus_1
public static byte ninitial_display_delay_minus_1(long struct) Unsafe version ofinitial_display_delay_minus_1(). -
nflags
Unsafe version offlags. -
noperating_point_idc
public static void noperating_point_idc(long struct, short value) Unsafe version ofoperating_point_idc. -
nseq_level_idx
public static void nseq_level_idx(long struct, byte value) Unsafe version ofseq_level_idx. -
nseq_tier
public static void nseq_tier(long struct, byte value) Unsafe version ofseq_tier. -
ndecoder_buffer_delay
public static void ndecoder_buffer_delay(long struct, int value) Unsafe version ofdecoder_buffer_delay. -
nencoder_buffer_delay
public static void nencoder_buffer_delay(long struct, int value) Unsafe version ofencoder_buffer_delay. -
ninitial_display_delay_minus_1
public static void ninitial_display_delay_minus_1(long struct, byte value) Unsafe version ofinitial_display_delay_minus_1.
-