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 {
{@link StdVideoEncodeAV1OperatingPointInfoFlags 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 class
An array ofStdVideoEncodeAV1OperatingPointInfo
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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 aStdVideoEncodeAV1OperatingPointInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newStdVideoEncodeAV1OperatingPointInfo
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeAV1OperatingPointInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.create()
Returns a newStdVideoEncodeAV1OperatingPointInfo
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeAV1OperatingPointInfo
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeAV1OperatingPointInfo.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeAV1OperatingPointInfo
createSafe
(long address) static @Nullable StdVideoEncodeAV1OperatingPointInfo.Buffer
createSafe
(long address, int capacity) int
decoder_buffer_delay
(int value) Sets the specified value to thedecoder_buffer_delay
field.int
encoder_buffer_delay
(int value) Sets the specified value to theencoder_buffer_delay
field.flags()
Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoEncodeAV1OperatingPointInfoFlags
to theflags
field.byte
initial_display_delay_minus_1
(byte value) Sets the specified value to theinitial_display_delay_minus_1
field.malloc()
Returns a newStdVideoEncodeAV1OperatingPointInfo
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeAV1OperatingPointInfo
instance allocated on the specifiedMemoryStack
.static int
ndecoder_buffer_delay
(long struct) Unsafe version ofdecoder_buffer_delay()
.static void
ndecoder_buffer_delay
(long struct, int value) Unsafe version ofdecoder_buffer_delay
.static int
nencoder_buffer_delay
(long struct) Unsafe version ofencoder_buffer_delay()
.static void
nencoder_buffer_delay
(long struct, int value) Unsafe version ofencoder_buffer_delay
.nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoEncodeAV1OperatingPointInfoFlags value) Unsafe version offlags
.static byte
ninitial_display_delay_minus_1
(long struct) Unsafe version ofinitial_display_delay_minus_1()
.static void
ninitial_display_delay_minus_1
(long struct, byte value) Unsafe version ofinitial_display_delay_minus_1
.static short
noperating_point_idc
(long struct) Unsafe version ofoperating_point_idc()
.static void
noperating_point_idc
(long struct, short value) Unsafe version ofoperating_point_idc
.static byte
nseq_level_idx
(long struct) Unsafe version ofseq_level_idx()
.static void
nseq_level_idx
(long struct, byte value) Unsafe version ofseq_level_idx
.static byte
nseq_tier
(long struct) Unsafe version ofseq_tier()
.static void
nseq_tier
(long struct, byte value) Unsafe version ofseq_tier
.short
operating_point_idc
(short value) Sets the specified value to theoperating_point_idc
field.byte
seq_level_idx
(byte value) Sets the specified value to theseq_level_idx
field.byte
seq_tier()
seq_tier
(byte value) Sets the specified value to theseq_tier
field.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.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aStdVideoEncodeAV1OperatingPointInfo
instance at the current position of the specifiedByteBuffer
container. 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:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoEncodeAV1OperatingPointInfo>
-
flags
- Returns:
- a
StdVideoEncodeAV1OperatingPointInfoFlags
view of theflags
field.
-
operating_point_idc
public short operating_point_idc()- Returns:
- the value of the
operating_point_idc
field.
-
seq_level_idx
public byte seq_level_idx()- Returns:
- the value of the
seq_level_idx
field.
-
seq_tier
public byte seq_tier()- Returns:
- the value of the
seq_tier
field.
-
decoder_buffer_delay
public int decoder_buffer_delay()- Returns:
- the value of the
decoder_buffer_delay
field.
-
encoder_buffer_delay
public int encoder_buffer_delay()- Returns:
- the value of the
encoder_buffer_delay
field.
-
initial_display_delay_minus_1
public byte initial_display_delay_minus_1()- Returns:
- the value of the
initial_display_delay_minus_1
field.
-
flags
Copies the specifiedStdVideoEncodeAV1OperatingPointInfoFlags
to theflags
field. -
flags
public StdVideoEncodeAV1OperatingPointInfo flags(Consumer<StdVideoEncodeAV1OperatingPointInfoFlags> consumer) Passes theflags
field to the specifiedConsumer
. -
operating_point_idc
Sets the specified value to theoperating_point_idc
field. -
seq_level_idx
Sets the specified value to theseq_level_idx
field. -
seq_tier
Sets the specified value to theseq_tier
field. -
decoder_buffer_delay
Sets the specified value to thedecoder_buffer_delay
field. -
encoder_buffer_delay
Sets the specified value to theencoder_buffer_delay
field. -
initial_display_delay_minus_1
Sets the specified value to theinitial_display_delay_minus_1
field. -
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 newStdVideoEncodeAV1OperatingPointInfo
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeAV1OperatingPointInfo
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeAV1OperatingPointInfo
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeAV1OperatingPointInfo
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeAV1OperatingPointInfo.Buffer
instance 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 newStdVideoEncodeAV1OperatingPointInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeAV1OperatingPointInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeAV1OperatingPointInfo.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-