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.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbytecollocated_ref_idx(byte value) Sets the specified value to thecollocated_ref_idxfield.flags()Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoEncodeH265SliceSegmentHeaderFlagsto theflagsfield.byteMaxNumMergeCand(byte value) Sets the specified value to theMaxNumMergeCandfield.Sets the address of the specifiedStdVideoEncodeH265WeightTableto thepWeightTablefield.byteslice_act_cb_qp_offset(byte value) Sets the specified value to theslice_act_cb_qp_offsetfield.byteslice_act_cr_qp_offset(byte value) Sets the specified value to theslice_act_cr_qp_offsetfield.byteslice_act_y_qp_offset(byte value) Sets the specified value to theslice_act_y_qp_offsetfield.byteslice_beta_offset_div2(byte value) Sets the specified value to theslice_beta_offset_div2field.byteslice_cb_qp_offset(byte value) Sets the specified value to theslice_cb_qp_offsetfield.byteslice_cr_qp_offset(byte value) Sets the specified value to theslice_cr_qp_offsetfield.byteslice_qp_delta(byte value) Sets the specified value to theslice_qp_deltafield.intslice_segment_address(int value) Sets the specified value to theslice_segment_addressfield.byteslice_tc_offset_div2(byte value) Sets the specified value to theslice_tc_offset_div2field.intslice_type(int value) Sets the specified value to theslice_typefield.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 newStdVideoEncodeH265SliceSegmentHeader.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
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
StdVideoEncodeH265SliceSegmentHeaderFlagsview of theflagsfield.
-
slice_type
public int slice_type()- Returns:
- the value of the
slice_typefield.
-
slice_segment_address
public int slice_segment_address()- Returns:
- the value of the
slice_segment_addressfield.
-
collocated_ref_idx
public byte collocated_ref_idx()- Returns:
- the value of the
collocated_ref_idxfield.
-
MaxNumMergeCand
public byte MaxNumMergeCand()- Returns:
- the value of the
MaxNumMergeCandfield.
-
slice_cb_qp_offset
public byte slice_cb_qp_offset()- Returns:
- the value of the
slice_cb_qp_offsetfield.
-
slice_cr_qp_offset
public byte slice_cr_qp_offset()- Returns:
- the value of the
slice_cr_qp_offsetfield.
-
slice_beta_offset_div2
public byte slice_beta_offset_div2()- Returns:
- the value of the
slice_beta_offset_div2field.
-
slice_tc_offset_div2
public byte slice_tc_offset_div2()- Returns:
- the value of the
slice_tc_offset_div2field.
-
slice_act_y_qp_offset
public byte slice_act_y_qp_offset()- Returns:
- the value of the
slice_act_y_qp_offsetfield.
-
slice_act_cb_qp_offset
public byte slice_act_cb_qp_offset()- Returns:
- the value of the
slice_act_cb_qp_offsetfield.
-
slice_act_cr_qp_offset
public byte slice_act_cr_qp_offset()- Returns:
- the value of the
slice_act_cr_qp_offsetfield.
-
slice_qp_delta
public byte slice_qp_delta()- Returns:
- the value of the
slice_qp_deltafield.
-
pWeightTable
- Returns:
- a
StdVideoEncodeH265WeightTableview of the struct pointed to by thepWeightTablefield.
-
flags
public StdVideoEncodeH265SliceSegmentHeader.Buffer flags(StdVideoEncodeH265SliceSegmentHeaderFlags value) Copies the specifiedStdVideoEncodeH265SliceSegmentHeaderFlagsto theflagsfield. -
flags
public StdVideoEncodeH265SliceSegmentHeader.Buffer flags(Consumer<StdVideoEncodeH265SliceSegmentHeaderFlags> consumer) Passes theflagsfield to the specifiedConsumer. -
slice_type
Sets the specified value to theslice_typefield. -
slice_segment_address
Sets the specified value to theslice_segment_addressfield. -
collocated_ref_idx
Sets the specified value to thecollocated_ref_idxfield. -
MaxNumMergeCand
Sets the specified value to theMaxNumMergeCandfield. -
slice_cb_qp_offset
Sets the specified value to theslice_cb_qp_offsetfield. -
slice_cr_qp_offset
Sets the specified value to theslice_cr_qp_offsetfield. -
slice_beta_offset_div2
Sets the specified value to theslice_beta_offset_div2field. -
slice_tc_offset_div2
Sets the specified value to theslice_tc_offset_div2field. -
slice_act_y_qp_offset
Sets the specified value to theslice_act_y_qp_offsetfield. -
slice_act_cb_qp_offset
Sets the specified value to theslice_act_cb_qp_offsetfield. -
slice_act_cr_qp_offset
Sets the specified value to theslice_act_cr_qp_offsetfield. -
slice_qp_delta
Sets the specified value to theslice_qp_deltafield. -
pWeightTable
public StdVideoEncodeH265SliceSegmentHeader.Buffer pWeightTable(StdVideoEncodeH265WeightTable value) Sets the address of the specifiedStdVideoEncodeH265WeightTableto thepWeightTablefield.
-