Package org.lwjgl.vulkan.video
Class StdVideoAV1SequenceHeader.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoAV1SequenceHeader.Buffer>
org.lwjgl.system.StructBuffer<StdVideoAV1SequenceHeader,StdVideoAV1SequenceHeader.Buffer>
org.lwjgl.vulkan.video.StdVideoAV1SequenceHeader.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<StdVideoAV1SequenceHeader>,NativeResource,Pointer
- Enclosing class:
StdVideoAV1SequenceHeader
public static class StdVideoAV1SequenceHeader.Buffer
extends StructBuffer<StdVideoAV1SequenceHeader,StdVideoAV1SequenceHeader.Buffer>
implements NativeResource
An array of
StdVideoAV1SequenceHeader structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newStdVideoAV1SequenceHeader.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyteadditional_frame_id_length_minus_1(byte value) Sets the specified value to theadditional_frame_id_length_minus_1field.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.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.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.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoAV1SequenceHeader.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
StdVideoAV1SequenceHeader.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
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.
-