Package org.lwjgl.vulkan.video
Class StdVideoAV1SequenceHeader
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoAV1SequenceHeader
extends Struct<StdVideoAV1SequenceHeader>
implements NativeResource
struct StdVideoAV1SequenceHeader {
{@link StdVideoAV1SequenceHeaderFlags StdVideoAV1SequenceHeaderFlags} flags;
StdVideoAV1Profile seq_profile;
uint8_t frame_width_bits_minus_1;
uint8_t frame_height_bits_minus_1;
uint16_t max_frame_width_minus_1;
uint16_t max_frame_height_minus_1;
uint8_t delta_frame_id_length_minus_2;
uint8_t additional_frame_id_length_minus_1;
uint8_t order_hint_bits_minus_1;
uint8_t seq_force_integer_mv;
uint8_t seq_force_screen_content_tools;
uint8_t reserved1[5];
{@link StdVideoAV1ColorConfig StdVideoAV1ColorConfig} const * pColorConfig;
{@link StdVideoAV1TimingInfo StdVideoAV1TimingInfo} const * pTimingInfo;
}
-
Nested Class Summary
Nested ClassesNested 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 member offsets.static 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 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
ConstructorsConstructorDescriptionStdVideoAV1SequenceHeader
(ByteBuffer container) Creates aStdVideoAV1SequenceHeader
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
additional_frame_id_length_minus_1
(byte value) Sets the specified value to theadditional_frame_id_length_minus_1
field.static StdVideoAV1SequenceHeader
calloc()
Returns a newStdVideoAV1SequenceHeader
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoAV1SequenceHeader.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoAV1SequenceHeader.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoAV1SequenceHeader
calloc
(MemoryStack stack) Returns a newStdVideoAV1SequenceHeader
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoAV1SequenceHeader
create()
Returns a newStdVideoAV1SequenceHeader
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoAV1SequenceHeader.Buffer
instance allocated withBufferUtils
.static StdVideoAV1SequenceHeader
create
(long address) Returns a newStdVideoAV1SequenceHeader
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoAV1SequenceHeader.Buffer
instance at the specified memory.static @Nullable StdVideoAV1SequenceHeader
createSafe
(long address) static @Nullable StdVideoAV1SequenceHeader.Buffer
createSafe
(long address, int capacity) byte
delta_frame_id_length_minus_2
(byte value) Sets the specified value to thedelta_frame_id_length_minus_2
field.flags()
flags
(Consumer<StdVideoAV1SequenceHeaderFlags> consumer) Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoAV1SequenceHeaderFlags
to theflags
field.byte
frame_height_bits_minus_1
(byte value) Sets the specified value to theframe_height_bits_minus_1
field.byte
frame_width_bits_minus_1
(byte value) Sets the specified value to theframe_width_bits_minus_1
field.static StdVideoAV1SequenceHeader
malloc()
Returns a newStdVideoAV1SequenceHeader
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoAV1SequenceHeader.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoAV1SequenceHeader.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoAV1SequenceHeader
malloc
(MemoryStack stack) Returns a newStdVideoAV1SequenceHeader
instance allocated on the specifiedMemoryStack
.short
max_frame_height_minus_1
(short value) Sets the specified value to themax_frame_height_minus_1
field.short
max_frame_width_minus_1
(short value) Sets the specified value to themax_frame_width_minus_1
field.static byte
nadditional_frame_id_length_minus_1
(long struct) Unsafe version ofadditional_frame_id_length_minus_1()
.static void
nadditional_frame_id_length_minus_1
(long struct, byte value) Unsafe version ofadditional_frame_id_length_minus_1
.static byte
ndelta_frame_id_length_minus_2
(long struct) Unsafe version ofdelta_frame_id_length_minus_2()
.static void
ndelta_frame_id_length_minus_2
(long struct, byte value) Unsafe version ofdelta_frame_id_length_minus_2
.nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoAV1SequenceHeaderFlags value) Unsafe version offlags
.static byte
nframe_height_bits_minus_1
(long struct) Unsafe version offrame_height_bits_minus_1()
.static void
nframe_height_bits_minus_1
(long struct, byte value) Unsafe version offrame_height_bits_minus_1
.static byte
nframe_width_bits_minus_1
(long struct) Unsafe version offrame_width_bits_minus_1()
.static void
nframe_width_bits_minus_1
(long struct, byte value) Unsafe version offrame_width_bits_minus_1
.static short
nmax_frame_height_minus_1
(long struct) Unsafe version ofmax_frame_height_minus_1()
.static void
nmax_frame_height_minus_1
(long struct, short value) Unsafe version ofmax_frame_height_minus_1
.static short
nmax_frame_width_minus_1
(long struct) Unsafe version ofmax_frame_width_minus_1()
.static void
nmax_frame_width_minus_1
(long struct, short value) Unsafe version ofmax_frame_width_minus_1
.static byte
norder_hint_bits_minus_1
(long struct) Unsafe version oforder_hint_bits_minus_1()
.static void
norder_hint_bits_minus_1
(long struct, byte value) Unsafe version oforder_hint_bits_minus_1
.static StdVideoAV1ColorConfig
npColorConfig
(long struct) Unsafe version ofpColorConfig()
.static void
npColorConfig
(long struct, StdVideoAV1ColorConfig value) Unsafe version ofpColorConfig
.static StdVideoAV1TimingInfo
npTimingInfo
(long struct) Unsafe version ofpTimingInfo()
.static void
npTimingInfo
(long struct, StdVideoAV1TimingInfo value) Unsafe version ofpTimingInfo
.static ByteBuffer
nreserved1
(long struct) static byte
nreserved1
(long struct, int index) static void
nreserved1
(long struct, int index, byte value) static void
nreserved1
(long struct, ByteBuffer value) static byte
nseq_force_integer_mv
(long struct) Unsafe version ofseq_force_integer_mv()
.static void
nseq_force_integer_mv
(long struct, byte value) Unsafe version ofseq_force_integer_mv
.static byte
nseq_force_screen_content_tools
(long struct) Unsafe version ofseq_force_screen_content_tools()
.static void
nseq_force_screen_content_tools
(long struct, byte value) Unsafe version ofseq_force_screen_content_tools
.static int
nseq_profile
(long struct) Unsafe version ofseq_profile()
.static void
nseq_profile
(long struct, int value) Unsafe version ofseq_profile
.byte
order_hint_bits_minus_1
(byte value) Sets the specified value to theorder_hint_bits_minus_1
field.Sets the address of the specifiedStdVideoAV1ColorConfig
to thepColorConfig
field.pTimingInfo
(StdVideoAV1TimingInfo value) Sets the address of the specifiedStdVideoAV1TimingInfo
to thepTimingInfo
field.byte
seq_force_integer_mv
(byte value) Sets the specified value to theseq_force_integer_mv
field.byte
seq_force_screen_content_tools
(byte value) Sets the specified value to theseq_force_screen_content_tools
field.int
seq_profile
(int value) Sets the specified value to theseq_profile
field.Copies the specified struct data to this struct.set
(StdVideoAV1SequenceHeaderFlags flags, int seq_profile, byte frame_width_bits_minus_1, byte frame_height_bits_minus_1, short max_frame_width_minus_1, short max_frame_height_minus_1, byte delta_frame_id_length_minus_2, byte additional_frame_id_length_minus_1, byte order_hint_bits_minus_1, byte seq_force_integer_mv, byte seq_force_screen_content_tools, StdVideoAV1ColorConfig pColorConfig, StdVideoAV1TimingInfo pTimingInfo) Initializes this struct with the specified values.int
sizeof()
Returnssizeof(struct)
.static void
validate
(long struct) Validates pointer members that should not beNULL
.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. -
SEQ_PROFILE
public static final int SEQ_PROFILEThe struct member offsets. -
FRAME_WIDTH_BITS_MINUS_1
public static final int FRAME_WIDTH_BITS_MINUS_1The struct member offsets. -
FRAME_HEIGHT_BITS_MINUS_1
public static final int FRAME_HEIGHT_BITS_MINUS_1The struct member offsets. -
MAX_FRAME_WIDTH_MINUS_1
public static final int MAX_FRAME_WIDTH_MINUS_1The struct member offsets. -
MAX_FRAME_HEIGHT_MINUS_1
public static final int MAX_FRAME_HEIGHT_MINUS_1The struct member offsets. -
DELTA_FRAME_ID_LENGTH_MINUS_2
public static final int DELTA_FRAME_ID_LENGTH_MINUS_2The struct member offsets. -
ADDITIONAL_FRAME_ID_LENGTH_MINUS_1
public static final int ADDITIONAL_FRAME_ID_LENGTH_MINUS_1The struct member offsets. -
ORDER_HINT_BITS_MINUS_1
public static final int ORDER_HINT_BITS_MINUS_1The struct member offsets. -
SEQ_FORCE_INTEGER_MV
public static final int SEQ_FORCE_INTEGER_MVThe struct member offsets. -
SEQ_FORCE_SCREEN_CONTENT_TOOLS
public static final int SEQ_FORCE_SCREEN_CONTENT_TOOLSThe struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
PCOLORCONFIG
public static final int PCOLORCONFIGThe struct member offsets. -
PTIMINGINFO
public static final int PTIMINGINFOThe struct member offsets.
-
-
Constructor Details
-
StdVideoAV1SequenceHeader
Creates aStdVideoAV1SequenceHeader
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<StdVideoAV1SequenceHeader>
-
flags
- Returns:
- a
StdVideoAV1SequenceHeaderFlags
view of theflags
field.
-
seq_profile
public int seq_profile()- Returns:
- the value of the
seq_profile
field.
-
frame_width_bits_minus_1
public byte frame_width_bits_minus_1()- Returns:
- the value of the
frame_width_bits_minus_1
field.
-
frame_height_bits_minus_1
public byte frame_height_bits_minus_1()- Returns:
- the value of the
frame_height_bits_minus_1
field.
-
max_frame_width_minus_1
public short max_frame_width_minus_1()- Returns:
- the value of the
max_frame_width_minus_1
field.
-
max_frame_height_minus_1
public short max_frame_height_minus_1()- Returns:
- the value of the
max_frame_height_minus_1
field.
-
delta_frame_id_length_minus_2
public byte delta_frame_id_length_minus_2()- Returns:
- the value of the
delta_frame_id_length_minus_2
field.
-
additional_frame_id_length_minus_1
public byte additional_frame_id_length_minus_1()- Returns:
- the value of the
additional_frame_id_length_minus_1
field.
-
order_hint_bits_minus_1
public byte order_hint_bits_minus_1()- Returns:
- the value of the
order_hint_bits_minus_1
field.
-
seq_force_integer_mv
public byte seq_force_integer_mv()- Returns:
- the value of the
seq_force_integer_mv
field.
-
seq_force_screen_content_tools
public byte seq_force_screen_content_tools()- Returns:
- the value of the
seq_force_screen_content_tools
field.
-
pColorConfig
- Returns:
- a
StdVideoAV1ColorConfig
view of the struct pointed to by thepColorConfig
field.
-
pTimingInfo
- Returns:
- a
StdVideoAV1TimingInfo
view of the struct pointed to by thepTimingInfo
field.
-
flags
Copies the specifiedStdVideoAV1SequenceHeaderFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
seq_profile
Sets the specified value to theseq_profile
field. -
frame_width_bits_minus_1
Sets the specified value to theframe_width_bits_minus_1
field. -
frame_height_bits_minus_1
Sets the specified value to theframe_height_bits_minus_1
field. -
max_frame_width_minus_1
Sets the specified value to themax_frame_width_minus_1
field. -
max_frame_height_minus_1
Sets the specified value to themax_frame_height_minus_1
field. -
delta_frame_id_length_minus_2
Sets the specified value to thedelta_frame_id_length_minus_2
field. -
additional_frame_id_length_minus_1
Sets the specified value to theadditional_frame_id_length_minus_1
field. -
order_hint_bits_minus_1
Sets the specified value to theorder_hint_bits_minus_1
field. -
seq_force_integer_mv
Sets the specified value to theseq_force_integer_mv
field. -
seq_force_screen_content_tools
Sets the specified value to theseq_force_screen_content_tools
field. -
pColorConfig
Sets the address of the specifiedStdVideoAV1ColorConfig
to thepColorConfig
field. -
pTimingInfo
Sets the address of the specifiedStdVideoAV1TimingInfo
to thepTimingInfo
field. -
set
public StdVideoAV1SequenceHeader set(StdVideoAV1SequenceHeaderFlags flags, int seq_profile, byte frame_width_bits_minus_1, byte frame_height_bits_minus_1, short max_frame_width_minus_1, short max_frame_height_minus_1, byte delta_frame_id_length_minus_2, byte additional_frame_id_length_minus_1, byte order_hint_bits_minus_1, byte seq_force_integer_mv, byte seq_force_screen_content_tools, StdVideoAV1ColorConfig pColorConfig, StdVideoAV1TimingInfo pTimingInfo) 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 newStdVideoAV1SequenceHeader
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoAV1SequenceHeader
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoAV1SequenceHeader
instance allocated withBufferUtils
. -
create
Returns a newStdVideoAV1SequenceHeader
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoAV1SequenceHeader.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoAV1SequenceHeader.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoAV1SequenceHeader.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoAV1SequenceHeader.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoAV1SequenceHeader
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1SequenceHeader
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoAV1SequenceHeader.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1SequenceHeader.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()
. -
nseq_profile
public static int nseq_profile(long struct) Unsafe version ofseq_profile()
. -
nframe_width_bits_minus_1
public static byte nframe_width_bits_minus_1(long struct) Unsafe version offrame_width_bits_minus_1()
. -
nframe_height_bits_minus_1
public static byte nframe_height_bits_minus_1(long struct) Unsafe version offrame_height_bits_minus_1()
. -
nmax_frame_width_minus_1
public static short nmax_frame_width_minus_1(long struct) Unsafe version ofmax_frame_width_minus_1()
. -
nmax_frame_height_minus_1
public static short nmax_frame_height_minus_1(long struct) Unsafe version ofmax_frame_height_minus_1()
. -
ndelta_frame_id_length_minus_2
public static byte ndelta_frame_id_length_minus_2(long struct) Unsafe version ofdelta_frame_id_length_minus_2()
. -
nadditional_frame_id_length_minus_1
public static byte nadditional_frame_id_length_minus_1(long struct) Unsafe version ofadditional_frame_id_length_minus_1()
. -
norder_hint_bits_minus_1
public static byte norder_hint_bits_minus_1(long struct) Unsafe version oforder_hint_bits_minus_1()
. -
nseq_force_integer_mv
public static byte nseq_force_integer_mv(long struct) Unsafe version ofseq_force_integer_mv()
. -
nseq_force_screen_content_tools
public static byte nseq_force_screen_content_tools(long struct) Unsafe version ofseq_force_screen_content_tools()
. -
nreserved1
-
nreserved1
public static byte nreserved1(long struct, int index) -
npColorConfig
Unsafe version ofpColorConfig()
. -
npTimingInfo
Unsafe version ofpTimingInfo()
. -
nflags
Unsafe version offlags
. -
nseq_profile
public static void nseq_profile(long struct, int value) Unsafe version ofseq_profile
. -
nframe_width_bits_minus_1
public static void nframe_width_bits_minus_1(long struct, byte value) Unsafe version offrame_width_bits_minus_1
. -
nframe_height_bits_minus_1
public static void nframe_height_bits_minus_1(long struct, byte value) Unsafe version offrame_height_bits_minus_1
. -
nmax_frame_width_minus_1
public static void nmax_frame_width_minus_1(long struct, short value) Unsafe version ofmax_frame_width_minus_1
. -
nmax_frame_height_minus_1
public static void nmax_frame_height_minus_1(long struct, short value) Unsafe version ofmax_frame_height_minus_1
. -
ndelta_frame_id_length_minus_2
public static void ndelta_frame_id_length_minus_2(long struct, byte value) Unsafe version ofdelta_frame_id_length_minus_2
. -
nadditional_frame_id_length_minus_1
public static void nadditional_frame_id_length_minus_1(long struct, byte value) Unsafe version ofadditional_frame_id_length_minus_1
. -
norder_hint_bits_minus_1
public static void norder_hint_bits_minus_1(long struct, byte value) Unsafe version oforder_hint_bits_minus_1
. -
nseq_force_integer_mv
public static void nseq_force_integer_mv(long struct, byte value) Unsafe version ofseq_force_integer_mv
. -
nseq_force_screen_content_tools
public static void nseq_force_screen_content_tools(long struct, byte value) Unsafe version ofseq_force_screen_content_tools
. -
nreserved1
-
nreserved1
public static void nreserved1(long struct, int index, byte value) -
npColorConfig
Unsafe version ofpColorConfig
. -
npTimingInfo
Unsafe version ofpTimingInfo
. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-