Package org.lwjgl.vulkan.video
Class StdVideoAV1SequenceHeader
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class StdVideoAV1SequenceHeader
extends Struct<StdVideoAV1SequenceHeader>
implements NativeResource
struct StdVideoAV1SequenceHeader {
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];
StdVideoAV1ColorConfig const * pColorConfig;
StdVideoAV1TimingInfo const * pTimingInfo;
}-
Nested Class Summary
Nested ClassesNested 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 member offsets.static 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 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
ConstructorsConstructorDescriptionStdVideoAV1SequenceHeader(ByteBuffer container) Creates aStdVideoAV1SequenceHeaderinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbyteadditional_frame_id_length_minus_1(byte value) Sets the specified value to theadditional_frame_id_length_minus_1field.static StdVideoAV1SequenceHeadercalloc()Returns a newStdVideoAV1SequenceHeaderinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoAV1SequenceHeader.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1SequenceHeader.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoAV1SequenceHeadercalloc(MemoryStack stack) Returns a newStdVideoAV1SequenceHeaderinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoAV1SequenceHeadercreate()Returns a newStdVideoAV1SequenceHeaderinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoAV1SequenceHeader.Bufferinstance allocated withBufferUtils.static StdVideoAV1SequenceHeadercreate(long address) Returns a newStdVideoAV1SequenceHeaderinstance for the specified memory address.create(long address, int capacity) Create aStdVideoAV1SequenceHeader.Bufferinstance at the specified memory.static @Nullable StdVideoAV1SequenceHeadercreateSafe(long address) static @Nullable StdVideoAV1SequenceHeader.BuffercreateSafe(long address, int capacity) bytedelta_frame_id_length_minus_2(byte value) Sets the specified value to thedelta_frame_id_length_minus_2field.flags()flags(Consumer<StdVideoAV1SequenceHeaderFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoAV1SequenceHeaderFlagsto theflagsfield.byteframe_height_bits_minus_1(byte value) Sets the specified value to theframe_height_bits_minus_1field.byteframe_width_bits_minus_1(byte value) Sets the specified value to theframe_width_bits_minus_1field.static StdVideoAV1SequenceHeadermalloc()Returns a newStdVideoAV1SequenceHeaderinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoAV1SequenceHeader.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoAV1SequenceHeader.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoAV1SequenceHeadermalloc(MemoryStack stack) Returns a newStdVideoAV1SequenceHeaderinstance allocated on the specifiedMemoryStack.shortmax_frame_height_minus_1(short value) Sets the specified value to themax_frame_height_minus_1field.shortmax_frame_width_minus_1(short value) Sets the specified value to themax_frame_width_minus_1field.static bytenadditional_frame_id_length_minus_1(long struct) Unsafe version ofadditional_frame_id_length_minus_1().static voidnadditional_frame_id_length_minus_1(long struct, byte value) Unsafe version ofadditional_frame_id_length_minus_1.static bytendelta_frame_id_length_minus_2(long struct) Unsafe version ofdelta_frame_id_length_minus_2().static voidndelta_frame_id_length_minus_2(long struct, byte value) Unsafe version ofdelta_frame_id_length_minus_2.nflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoAV1SequenceHeaderFlags value) Unsafe version offlags.static bytenframe_height_bits_minus_1(long struct) Unsafe version offrame_height_bits_minus_1().static voidnframe_height_bits_minus_1(long struct, byte value) Unsafe version offrame_height_bits_minus_1.static bytenframe_width_bits_minus_1(long struct) Unsafe version offrame_width_bits_minus_1().static voidnframe_width_bits_minus_1(long struct, byte value) Unsafe version offrame_width_bits_minus_1.static shortnmax_frame_height_minus_1(long struct) Unsafe version ofmax_frame_height_minus_1().static voidnmax_frame_height_minus_1(long struct, short value) Unsafe version ofmax_frame_height_minus_1.static shortnmax_frame_width_minus_1(long struct) Unsafe version ofmax_frame_width_minus_1().static voidnmax_frame_width_minus_1(long struct, short value) Unsafe version ofmax_frame_width_minus_1.static bytenorder_hint_bits_minus_1(long struct) Unsafe version oforder_hint_bits_minus_1().static voidnorder_hint_bits_minus_1(long struct, byte value) Unsafe version oforder_hint_bits_minus_1.static StdVideoAV1ColorConfignpColorConfig(long struct) Unsafe version ofpColorConfig().static voidnpColorConfig(long struct, StdVideoAV1ColorConfig value) Unsafe version ofpColorConfig.static StdVideoAV1TimingInfonpTimingInfo(long struct) Unsafe version ofpTimingInfo().static voidnpTimingInfo(long struct, StdVideoAV1TimingInfo value) Unsafe version ofpTimingInfo.static ByteBuffernreserved1(long struct) static bytenreserved1(long struct, int index) static voidnreserved1(long struct, int index, byte value) static voidnreserved1(long struct, ByteBuffer value) static bytenseq_force_integer_mv(long struct) Unsafe version ofseq_force_integer_mv().static voidnseq_force_integer_mv(long struct, byte value) Unsafe version ofseq_force_integer_mv.static bytenseq_force_screen_content_tools(long struct) Unsafe version ofseq_force_screen_content_tools().static voidnseq_force_screen_content_tools(long struct, byte value) Unsafe version ofseq_force_screen_content_tools.static intnseq_profile(long struct) Unsafe version ofseq_profile().static voidnseq_profile(long struct, int value) Unsafe version ofseq_profile.byteorder_hint_bits_minus_1(byte value) Sets the specified value to theorder_hint_bits_minus_1field.Sets the address of the specifiedStdVideoAV1ColorConfigto thepColorConfigfield.pTimingInfo(StdVideoAV1TimingInfo value) Sets the address of the specifiedStdVideoAV1TimingInfoto thepTimingInfofield.byteseq_force_integer_mv(byte value) Sets the specified value to theseq_force_integer_mvfield.byteseq_force_screen_content_tools(byte value) Sets the specified value to theseq_force_screen_content_toolsfield.intseq_profile(int value) Sets the specified value to theseq_profilefield.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.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.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. -
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 aStdVideoAV1SequenceHeaderinstance 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<StdVideoAV1SequenceHeader>
-
flags
- Returns:
- a
StdVideoAV1SequenceHeaderFlagsview of theflagsfield.
-
seq_profile
public int seq_profile()- Returns:
- the value of the
seq_profilefield.
-
frame_width_bits_minus_1
public byte frame_width_bits_minus_1()- Returns:
- the value of the
frame_width_bits_minus_1field.
-
frame_height_bits_minus_1
public byte frame_height_bits_minus_1()- Returns:
- the value of the
frame_height_bits_minus_1field.
-
max_frame_width_minus_1
public short max_frame_width_minus_1()- Returns:
- the value of the
max_frame_width_minus_1field.
-
max_frame_height_minus_1
public short max_frame_height_minus_1()- Returns:
- the value of the
max_frame_height_minus_1field.
-
delta_frame_id_length_minus_2
public byte delta_frame_id_length_minus_2()- Returns:
- the value of the
delta_frame_id_length_minus_2field.
-
additional_frame_id_length_minus_1
public byte additional_frame_id_length_minus_1()- Returns:
- the value of the
additional_frame_id_length_minus_1field.
-
order_hint_bits_minus_1
public byte order_hint_bits_minus_1()- Returns:
- the value of the
order_hint_bits_minus_1field.
-
seq_force_integer_mv
public byte seq_force_integer_mv()- Returns:
- the value of the
seq_force_integer_mvfield.
-
seq_force_screen_content_tools
public byte seq_force_screen_content_tools()- Returns:
- the value of the
seq_force_screen_content_toolsfield.
-
pColorConfig
- Returns:
- a
StdVideoAV1ColorConfigview of the struct pointed to by thepColorConfigfield.
-
pTimingInfo
- Returns:
- a
StdVideoAV1TimingInfoview of the struct pointed to by thepTimingInfofield.
-
flags
Copies the specifiedStdVideoAV1SequenceHeaderFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
seq_profile
Sets the specified value to theseq_profilefield. -
frame_width_bits_minus_1
Sets the specified value to theframe_width_bits_minus_1field. -
frame_height_bits_minus_1
Sets the specified value to theframe_height_bits_minus_1field. -
max_frame_width_minus_1
Sets the specified value to themax_frame_width_minus_1field. -
max_frame_height_minus_1
Sets the specified value to themax_frame_height_minus_1field. -
delta_frame_id_length_minus_2
Sets the specified value to thedelta_frame_id_length_minus_2field. -
additional_frame_id_length_minus_1
Sets the specified value to theadditional_frame_id_length_minus_1field. -
order_hint_bits_minus_1
Sets the specified value to theorder_hint_bits_minus_1field. -
seq_force_integer_mv
Sets the specified value to theseq_force_integer_mvfield. -
seq_force_screen_content_tools
Sets the specified value to theseq_force_screen_content_toolsfield. -
pColorConfig
Sets the address of the specifiedStdVideoAV1ColorConfigto thepColorConfigfield. -
pTimingInfo
Sets the address of the specifiedStdVideoAV1TimingInfoto thepTimingInfofield. -
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 newStdVideoAV1SequenceHeaderinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoAV1SequenceHeaderinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoAV1SequenceHeaderinstance allocated withBufferUtils. -
create
Returns a newStdVideoAV1SequenceHeaderinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoAV1SequenceHeader.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoAV1SequenceHeader.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoAV1SequenceHeader.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoAV1SequenceHeader.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoAV1SequenceHeaderinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1SequenceHeaderinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoAV1SequenceHeader.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoAV1SequenceHeader.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(). -
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
-