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.Buffer
instance backed by the specified 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.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.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.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.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoAV1SequenceHeader.Buffer
instance 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
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.
-