Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265SliceSegmentHeader.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoEncodeH265SliceSegmentHeader,StdVideoEncodeH265SliceSegmentHeader.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoEncodeH265SliceSegmentHeader.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoEncodeH265SliceSegmentHeader>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoEncodeH265SliceSegmentHeader
public static class StdVideoEncodeH265SliceSegmentHeader.Buffer extends org.lwjgl.system.StructBuffer<StdVideoEncodeH265SliceSegmentHeader,StdVideoEncodeH265SliceSegmentHeader.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoEncodeH265SliceSegmentHeaderstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byStdVideoEncodeH265SliceSegmentHeader.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 Detail
-
slice_type
public int slice_type()
- Returns:
- the value of the
slice_typefield.
-
slice_pic_parameter_set_id
public byte slice_pic_parameter_set_id()
- Returns:
- the value of the
slice_pic_parameter_set_idfield.
-
num_short_term_ref_pic_sets
public byte num_short_term_ref_pic_sets()
- Returns:
- the value of the
num_short_term_ref_pic_setsfield.
-
slice_segment_address
public int slice_segment_address()
- Returns:
- the value of the
slice_segment_addressfield.
-
short_term_ref_pic_set_idx
public byte short_term_ref_pic_set_idx()
- Returns:
- the value of the
short_term_ref_pic_set_idxfield.
-
num_long_term_sps
public byte num_long_term_sps()
- Returns:
- the value of the
num_long_term_spsfield.
-
num_long_term_pics
public byte num_long_term_pics()
- Returns:
- the value of the
num_long_term_picsfield.
-
collocated_ref_idx
public byte collocated_ref_idx()
- Returns:
- the value of the
collocated_ref_idxfield.
-
num_ref_idx_l0_active_minus1
public byte num_ref_idx_l0_active_minus1()
- Returns:
- the value of the
StdVideoEncodeH265SliceSegmentHeader.num_ref_idx_l0_active_minus1()field.
-
num_ref_idx_l1_active_minus1
public byte num_ref_idx_l1_active_minus1()
- Returns:
- the value of the
StdVideoEncodeH265SliceSegmentHeader.num_ref_idx_l1_active_minus1()field.
-
luma_log2_weight_denom
public byte luma_log2_weight_denom()
- Returns:
- the value of the
StdVideoEncodeH265SliceSegmentHeader.luma_log2_weight_denom()field.
-
delta_chroma_log2_weight_denom
public byte delta_chroma_log2_weight_denom()
- Returns:
- the value of the
delta_chroma_log2_weight_denomfield.
-
delta_luma_weight_l0
public java.nio.ByteBuffer delta_luma_weight_l0()
- Returns:
- a
ByteBufferview of thedelta_luma_weight_l0field.
-
delta_luma_weight_l0
public byte delta_luma_weight_l0(int index)
- Returns:
- the value at the specified index of the
delta_luma_weight_l0field.
-
luma_offset_l0
public java.nio.ByteBuffer luma_offset_l0()
- Returns:
- a
ByteBufferview of theluma_offset_l0field.
-
luma_offset_l0
public byte luma_offset_l0(int index)
- Returns:
- the value at the specified index of the
luma_offset_l0field.
-
delta_chroma_weight_l0
public java.nio.ByteBuffer delta_chroma_weight_l0()
- Returns:
- a
ByteBufferview of thedelta_chroma_weight_l0field.
-
delta_chroma_weight_l0
public byte delta_chroma_weight_l0(int index)
- Returns:
- the value at the specified index of the
delta_chroma_weight_l0field.
-
delta_chroma_offset_l0
public java.nio.ByteBuffer delta_chroma_offset_l0()
- Returns:
- a
ByteBufferview of thedelta_chroma_offset_l0field.
-
delta_chroma_offset_l0
public byte delta_chroma_offset_l0(int index)
- Returns:
- the value at the specified index of the
delta_chroma_offset_l0field.
-
delta_luma_weight_l1
public java.nio.ByteBuffer delta_luma_weight_l1()
- Returns:
- a
ByteBufferview of thedelta_luma_weight_l1field.
-
delta_luma_weight_l1
public byte delta_luma_weight_l1(int index)
- Returns:
- the value at the specified index of the
delta_luma_weight_l1field.
-
luma_offset_l1
public java.nio.ByteBuffer luma_offset_l1()
- Returns:
- a
ByteBufferview of theluma_offset_l1field.
-
luma_offset_l1
public byte luma_offset_l1(int index)
- Returns:
- the value at the specified index of the
luma_offset_l1field.
-
delta_chroma_weight_l1
public java.nio.ByteBuffer delta_chroma_weight_l1()
- Returns:
- a
ByteBufferview of thedelta_chroma_weight_l1field.
-
delta_chroma_weight_l1
public byte delta_chroma_weight_l1(int index)
- Returns:
- the value at the specified index of the
delta_chroma_weight_l1field.
-
delta_chroma_offset_l1
public java.nio.ByteBuffer delta_chroma_offset_l1()
- Returns:
- a
ByteBufferview of thedelta_chroma_offset_l1field.
-
delta_chroma_offset_l1
public byte delta_chroma_offset_l1(int index)
- Returns:
- the value at the specified index of the
delta_chroma_offset_l1field.
-
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
StdVideoEncodeH265SliceSegmentHeader.slice_cb_qp_offset()field.
-
slice_cr_qp_offset
public byte slice_cr_qp_offset()
- Returns:
- the value of the
StdVideoEncodeH265SliceSegmentHeader.slice_cr_qp_offset()field.
-
slice_beta_offset_div2
public byte slice_beta_offset_div2()
- Returns:
- the value of the
StdVideoEncodeH265SliceSegmentHeader.slice_beta_offset_div2()field.
-
slice_tc_offset_div2
public byte slice_tc_offset_div2()
- Returns:
- the value of the
StdVideoEncodeH265SliceSegmentHeader.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_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.
-
flags
public StdVideoEncodeH265SliceSegmentHeaderFlags flags()
- Returns:
- a
StdVideoEncodeH265SliceSegmentHeaderFlagsview of theflagsfield.
-
slice_type
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_type(int value)
Sets the specified value to theslice_typefield.
-
slice_pic_parameter_set_id
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_pic_parameter_set_id(byte value)
Sets the specified value to theslice_pic_parameter_set_idfield.
-
num_short_term_ref_pic_sets
public StdVideoEncodeH265SliceSegmentHeader.Buffer num_short_term_ref_pic_sets(byte value)
Sets the specified value to thenum_short_term_ref_pic_setsfield.
-
slice_segment_address
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_segment_address(int value)
Sets the specified value to theslice_segment_addressfield.
-
short_term_ref_pic_set_idx
public StdVideoEncodeH265SliceSegmentHeader.Buffer short_term_ref_pic_set_idx(byte value)
Sets the specified value to theshort_term_ref_pic_set_idxfield.
-
num_long_term_sps
public StdVideoEncodeH265SliceSegmentHeader.Buffer num_long_term_sps(byte value)
Sets the specified value to thenum_long_term_spsfield.
-
num_long_term_pics
public StdVideoEncodeH265SliceSegmentHeader.Buffer num_long_term_pics(byte value)
Sets the specified value to thenum_long_term_picsfield.
-
collocated_ref_idx
public StdVideoEncodeH265SliceSegmentHeader.Buffer collocated_ref_idx(byte value)
Sets the specified value to thecollocated_ref_idxfield.
-
num_ref_idx_l0_active_minus1
public StdVideoEncodeH265SliceSegmentHeader.Buffer num_ref_idx_l0_active_minus1(byte value)
Sets the specified value to theStdVideoEncodeH265SliceSegmentHeader.num_ref_idx_l0_active_minus1()field.
-
num_ref_idx_l1_active_minus1
public StdVideoEncodeH265SliceSegmentHeader.Buffer num_ref_idx_l1_active_minus1(byte value)
Sets the specified value to theStdVideoEncodeH265SliceSegmentHeader.num_ref_idx_l1_active_minus1()field.
-
luma_log2_weight_denom
public StdVideoEncodeH265SliceSegmentHeader.Buffer luma_log2_weight_denom(byte value)
Sets the specified value to theStdVideoEncodeH265SliceSegmentHeader.luma_log2_weight_denom()field.
-
delta_chroma_log2_weight_denom
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_chroma_log2_weight_denom(byte value)
Sets the specified value to thedelta_chroma_log2_weight_denomfield.
-
delta_luma_weight_l0
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_luma_weight_l0(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto thedelta_luma_weight_l0field.
-
delta_luma_weight_l0
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_luma_weight_l0(int index, byte value)
Sets the specified value at the specified index of thedelta_luma_weight_l0field.
-
luma_offset_l0
public StdVideoEncodeH265SliceSegmentHeader.Buffer luma_offset_l0(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto theluma_offset_l0field.
-
luma_offset_l0
public StdVideoEncodeH265SliceSegmentHeader.Buffer luma_offset_l0(int index, byte value)
Sets the specified value at the specified index of theluma_offset_l0field.
-
delta_chroma_weight_l0
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_chroma_weight_l0(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto thedelta_chroma_weight_l0field.
-
delta_chroma_weight_l0
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_chroma_weight_l0(int index, byte value)
Sets the specified value at the specified index of thedelta_chroma_weight_l0field.
-
delta_chroma_offset_l0
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_chroma_offset_l0(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto thedelta_chroma_offset_l0field.
-
delta_chroma_offset_l0
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_chroma_offset_l0(int index, byte value)
Sets the specified value at the specified index of thedelta_chroma_offset_l0field.
-
delta_luma_weight_l1
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_luma_weight_l1(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto thedelta_luma_weight_l1field.
-
delta_luma_weight_l1
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_luma_weight_l1(int index, byte value)
Sets the specified value at the specified index of thedelta_luma_weight_l1field.
-
luma_offset_l1
public StdVideoEncodeH265SliceSegmentHeader.Buffer luma_offset_l1(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto theluma_offset_l1field.
-
luma_offset_l1
public StdVideoEncodeH265SliceSegmentHeader.Buffer luma_offset_l1(int index, byte value)
Sets the specified value at the specified index of theluma_offset_l1field.
-
delta_chroma_weight_l1
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_chroma_weight_l1(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto thedelta_chroma_weight_l1field.
-
delta_chroma_weight_l1
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_chroma_weight_l1(int index, byte value)
Sets the specified value at the specified index of thedelta_chroma_weight_l1field.
-
delta_chroma_offset_l1
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_chroma_offset_l1(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto thedelta_chroma_offset_l1field.
-
delta_chroma_offset_l1
public StdVideoEncodeH265SliceSegmentHeader.Buffer delta_chroma_offset_l1(int index, byte value)
Sets the specified value at the specified index of thedelta_chroma_offset_l1field.
-
MaxNumMergeCand
public StdVideoEncodeH265SliceSegmentHeader.Buffer MaxNumMergeCand(byte value)
Sets the specified value to theMaxNumMergeCandfield.
-
slice_cb_qp_offset
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_cb_qp_offset(byte value)
Sets the specified value to theStdVideoEncodeH265SliceSegmentHeader.slice_cb_qp_offset()field.
-
slice_cr_qp_offset
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_cr_qp_offset(byte value)
Sets the specified value to theStdVideoEncodeH265SliceSegmentHeader.slice_cr_qp_offset()field.
-
slice_beta_offset_div2
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_beta_offset_div2(byte value)
Sets the specified value to theStdVideoEncodeH265SliceSegmentHeader.slice_beta_offset_div2()field.
-
slice_tc_offset_div2
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_tc_offset_div2(byte value)
Sets the specified value to theStdVideoEncodeH265SliceSegmentHeader.slice_tc_offset_div2()field.
-
slice_act_y_qp_offset
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_act_y_qp_offset(byte value)
Sets the specified value to theslice_act_y_qp_offsetfield.
-
slice_act_cb_qp_offset
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_act_cb_qp_offset(byte value)
Sets the specified value to theslice_act_cb_qp_offsetfield.
-
slice_act_cr_qp_offset
public StdVideoEncodeH265SliceSegmentHeader.Buffer slice_act_cr_qp_offset(byte value)
Sets the specified value to theslice_act_cr_qp_offsetfield.
-
flags
public StdVideoEncodeH265SliceSegmentHeader.Buffer flags(StdVideoEncodeH265SliceSegmentHeaderFlags value)
Copies the specifiedStdVideoEncodeH265SliceSegmentHeaderFlagsto theflagsfield.
-
flags
public StdVideoEncodeH265SliceSegmentHeader.Buffer flags(java.util.function.Consumer<StdVideoEncodeH265SliceSegmentHeaderFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
-