Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265SliceSegmentHeader.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoEncodeH265SliceSegmentHeader.Buffer>
org.lwjgl.system.StructBuffer<StdVideoEncodeH265SliceSegmentHeader,StdVideoEncodeH265SliceSegmentHeader.Buffer>
org.lwjgl.vulkan.video.StdVideoEncodeH265SliceSegmentHeader.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<StdVideoEncodeH265SliceSegmentHeader>
,NativeResource
,Pointer
- Enclosing class:
StdVideoEncodeH265SliceSegmentHeader
public static class StdVideoEncodeH265SliceSegmentHeader.Buffer
extends StructBuffer<StdVideoEncodeH265SliceSegmentHeader,StdVideoEncodeH265SliceSegmentHeader.Buffer>
implements NativeResource
An array of
StdVideoEncodeH265SliceSegmentHeader
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 newStdVideoEncodeH265SliceSegmentHeader.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
collocated_ref_idx
(byte value) Sets the specified value to thecollocated_ref_idx
field.flags()
Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoEncodeH265SliceSegmentHeaderFlags
to theflags
field.byte
MaxNumMergeCand
(byte value) Sets the specified value to theMaxNumMergeCand
field.Sets the address of the specifiedStdVideoEncodeH265WeightTable
to thepWeightTable
field.byte
slice_act_cb_qp_offset
(byte value) Sets the specified value to theslice_act_cb_qp_offset
field.byte
slice_act_cr_qp_offset
(byte value) Sets the specified value to theslice_act_cr_qp_offset
field.byte
slice_act_y_qp_offset
(byte value) Sets the specified value to theslice_act_y_qp_offset
field.byte
slice_beta_offset_div2
(byte value) Sets the specified value to theslice_beta_offset_div2
field.byte
slice_cb_qp_offset
(byte value) Sets the specified value to theslice_cb_qp_offset
field.byte
slice_cr_qp_offset
(byte value) Sets the specified value to theslice_cr_qp_offset
field.byte
slice_qp_delta
(byte value) Sets the specified value to theslice_qp_delta
field.int
slice_segment_address
(int value) Sets the specified value to theslice_segment_address
field.byte
slice_tc_offset_div2
(byte value) Sets the specified value to theslice_tc_offset_div2
field.int
slice_type
(int value) Sets the specified value to theslice_type
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 newStdVideoEncodeH265SliceSegmentHeader.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
StdVideoEncodeH265SliceSegmentHeader.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
StdVideoEncodeH265SliceSegmentHeaderFlags
view of theflags
field.
-
slice_type
public int slice_type()- Returns:
- the value of the
slice_type
field.
-
slice_segment_address
public int slice_segment_address()- Returns:
- the value of the
slice_segment_address
field.
-
collocated_ref_idx
public byte collocated_ref_idx()- Returns:
- the value of the
collocated_ref_idx
field.
-
MaxNumMergeCand
public byte MaxNumMergeCand()- Returns:
- the value of the
MaxNumMergeCand
field.
-
slice_cb_qp_offset
public byte slice_cb_qp_offset()- Returns:
- the value of the
slice_cb_qp_offset
field.
-
slice_cr_qp_offset
public byte slice_cr_qp_offset()- Returns:
- the value of the
slice_cr_qp_offset
field.
-
slice_beta_offset_div2
public byte slice_beta_offset_div2()- Returns:
- the value of the
slice_beta_offset_div2
field.
-
slice_tc_offset_div2
public byte slice_tc_offset_div2()- Returns:
- the value of the
slice_tc_offset_div2
field.
-
slice_act_y_qp_offset
public byte slice_act_y_qp_offset()- Returns:
- the value of the
slice_act_y_qp_offset
field.
-
slice_act_cb_qp_offset
public byte slice_act_cb_qp_offset()- Returns:
- the value of the
slice_act_cb_qp_offset
field.
-
slice_act_cr_qp_offset
public byte slice_act_cr_qp_offset()- Returns:
- the value of the
slice_act_cr_qp_offset
field.
-
slice_qp_delta
public byte slice_qp_delta()- Returns:
- the value of the
slice_qp_delta
field.
-
pWeightTable
- Returns:
- a
StdVideoEncodeH265WeightTable
view of the struct pointed to by thepWeightTable
field.
-
flags
public StdVideoEncodeH265SliceSegmentHeader.Buffer flags(StdVideoEncodeH265SliceSegmentHeaderFlags value) Copies the specifiedStdVideoEncodeH265SliceSegmentHeaderFlags
to theflags
field. -
flags
public StdVideoEncodeH265SliceSegmentHeader.Buffer flags(Consumer<StdVideoEncodeH265SliceSegmentHeaderFlags> consumer) Passes theflags
field to the specifiedConsumer
. -
slice_type
Sets the specified value to theslice_type
field. -
slice_segment_address
Sets the specified value to theslice_segment_address
field. -
collocated_ref_idx
Sets the specified value to thecollocated_ref_idx
field. -
MaxNumMergeCand
Sets the specified value to theMaxNumMergeCand
field. -
slice_cb_qp_offset
Sets the specified value to theslice_cb_qp_offset
field. -
slice_cr_qp_offset
Sets the specified value to theslice_cr_qp_offset
field. -
slice_beta_offset_div2
Sets the specified value to theslice_beta_offset_div2
field. -
slice_tc_offset_div2
Sets the specified value to theslice_tc_offset_div2
field. -
slice_act_y_qp_offset
Sets the specified value to theslice_act_y_qp_offset
field. -
slice_act_cb_qp_offset
Sets the specified value to theslice_act_cb_qp_offset
field. -
slice_act_cr_qp_offset
Sets the specified value to theslice_act_cr_qp_offset
field. -
slice_qp_delta
Sets the specified value to theslice_qp_delta
field. -
pWeightTable
public StdVideoEncodeH265SliceSegmentHeader.Buffer pWeightTable(StdVideoEncodeH265WeightTable value) Sets the address of the specifiedStdVideoEncodeH265WeightTable
to thepWeightTable
field.
-