Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264SliceHeader.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoEncodeH264SliceHeader,StdVideoEncodeH264SliceHeader.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoEncodeH264SliceHeader.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoEncodeH264SliceHeader>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoEncodeH264SliceHeader
public static class StdVideoEncodeH264SliceHeader.Buffer extends org.lwjgl.system.StructBuffer<StdVideoEncodeH264SliceHeader,StdVideoEncodeH264SliceHeader.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoEncodeH264SliceHeaderstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcabac_init_idc()StdVideoEncodeH264SliceHeader.Buffercabac_init_idc(int value)Sets the specified value to thecabac_init_idcfield.intdisable_deblocking_filter_idc()StdVideoEncodeH264SliceHeader.Bufferdisable_deblocking_filter_idc(int value)Sets the specified value to thedisable_deblocking_filter_idcfield.intfirst_mb_in_slice()StdVideoEncodeH264SliceHeader.Bufferfirst_mb_in_slice(int value)Sets the specified value to thefirst_mb_in_slicefield.StdVideoEncodeH264SliceHeaderFlagsflags()StdVideoEncodeH264SliceHeader.Bufferflags(java.util.function.Consumer<StdVideoEncodeH264SliceHeaderFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoEncodeH264SliceHeader.Bufferflags(StdVideoEncodeH264SliceHeaderFlags value)Copies the specifiedStdVideoEncodeH264SliceHeaderFlagsto theflagsfield.shortidr_pic_id()StdVideoEncodeH264SliceHeader.Bufferidr_pic_id(short value)Sets the specified value to theidr_pic_idfield.bytenum_ref_idx_l0_active_minus1()StdVideoEncodeH264SliceHeader.Buffernum_ref_idx_l0_active_minus1(byte value)Sets the specified value to thenum_ref_idx_l0_active_minus1field.bytenum_ref_idx_l1_active_minus1()StdVideoEncodeH264SliceHeader.Buffernum_ref_idx_l1_active_minus1(byte value)Sets the specified value to thenum_ref_idx_l1_active_minus1field.bytepic_parameter_set_id()StdVideoEncodeH264SliceHeader.Bufferpic_parameter_set_id(byte value)Sets the specified value to thepic_parameter_set_idfield.byteseq_parameter_set_id()StdVideoEncodeH264SliceHeader.Bufferseq_parameter_set_id(byte value)Sets the specified value to theseq_parameter_set_idfield.byteslice_alpha_c0_offset_div2()StdVideoEncodeH264SliceHeader.Bufferslice_alpha_c0_offset_div2(byte value)Sets the specified value to theslice_alpha_c0_offset_div2field.byteslice_beta_offset_div2()StdVideoEncodeH264SliceHeader.Bufferslice_beta_offset_div2(byte value)Sets the specified value to theslice_beta_offset_div2field.intslice_type()StdVideoEncodeH264SliceHeader.Bufferslice_type(int value)Sets the specified value to theslice_typefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStdVideoEncodeH264SliceHeader.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 byStdVideoEncodeH264SliceHeader.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
-
flags
public StdVideoEncodeH264SliceHeaderFlags flags()
- Returns:
- a
StdVideoEncodeH264SliceHeaderFlagsview of theflagsfield.
-
first_mb_in_slice
public int first_mb_in_slice()
- Returns:
- the value of the
first_mb_in_slicefield.
-
slice_type
public int slice_type()
- Returns:
- the value of the
slice_typefield.
-
seq_parameter_set_id
public byte seq_parameter_set_id()
- Returns:
- the value of the
seq_parameter_set_idfield.
-
pic_parameter_set_id
public byte pic_parameter_set_id()
- Returns:
- the value of the
pic_parameter_set_idfield.
-
idr_pic_id
public short idr_pic_id()
- Returns:
- the value of the
idr_pic_idfield.
-
num_ref_idx_l0_active_minus1
public byte num_ref_idx_l0_active_minus1()
- Returns:
- the value of the
num_ref_idx_l0_active_minus1field.
-
num_ref_idx_l1_active_minus1
public byte num_ref_idx_l1_active_minus1()
- Returns:
- the value of the
num_ref_idx_l1_active_minus1field.
-
cabac_init_idc
public int cabac_init_idc()
- Returns:
- the value of the
cabac_init_idcfield.
-
disable_deblocking_filter_idc
public int disable_deblocking_filter_idc()
- Returns:
- the value of the
disable_deblocking_filter_idcfield.
-
slice_alpha_c0_offset_div2
public byte slice_alpha_c0_offset_div2()
- Returns:
- the value of the
slice_alpha_c0_offset_div2field.
-
slice_beta_offset_div2
public byte slice_beta_offset_div2()
- Returns:
- the value of the
slice_beta_offset_div2field.
-
flags
public StdVideoEncodeH264SliceHeader.Buffer flags(StdVideoEncodeH264SliceHeaderFlags value)
Copies the specifiedStdVideoEncodeH264SliceHeaderFlagsto theflagsfield.
-
flags
public StdVideoEncodeH264SliceHeader.Buffer flags(java.util.function.Consumer<StdVideoEncodeH264SliceHeaderFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
first_mb_in_slice
public StdVideoEncodeH264SliceHeader.Buffer first_mb_in_slice(int value)
Sets the specified value to thefirst_mb_in_slicefield.
-
slice_type
public StdVideoEncodeH264SliceHeader.Buffer slice_type(int value)
Sets the specified value to theslice_typefield.
-
seq_parameter_set_id
public StdVideoEncodeH264SliceHeader.Buffer seq_parameter_set_id(byte value)
Sets the specified value to theseq_parameter_set_idfield.
-
pic_parameter_set_id
public StdVideoEncodeH264SliceHeader.Buffer pic_parameter_set_id(byte value)
Sets the specified value to thepic_parameter_set_idfield.
-
idr_pic_id
public StdVideoEncodeH264SliceHeader.Buffer idr_pic_id(short value)
Sets the specified value to theidr_pic_idfield.
-
num_ref_idx_l0_active_minus1
public StdVideoEncodeH264SliceHeader.Buffer num_ref_idx_l0_active_minus1(byte value)
Sets the specified value to thenum_ref_idx_l0_active_minus1field.
-
num_ref_idx_l1_active_minus1
public StdVideoEncodeH264SliceHeader.Buffer num_ref_idx_l1_active_minus1(byte value)
Sets the specified value to thenum_ref_idx_l1_active_minus1field.
-
cabac_init_idc
public StdVideoEncodeH264SliceHeader.Buffer cabac_init_idc(int value)
Sets the specified value to thecabac_init_idcfield.
-
disable_deblocking_filter_idc
public StdVideoEncodeH264SliceHeader.Buffer disable_deblocking_filter_idc(int value)
Sets the specified value to thedisable_deblocking_filter_idcfield.
-
slice_alpha_c0_offset_div2
public StdVideoEncodeH264SliceHeader.Buffer slice_alpha_c0_offset_div2(byte value)
Sets the specified value to theslice_alpha_c0_offset_div2field.
-
slice_beta_offset_div2
public StdVideoEncodeH264SliceHeader.Buffer slice_beta_offset_div2(byte value)
Sets the specified value to theslice_beta_offset_div2field.
-
-