Class StdVideoEncodeH264SliceHeader.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoEncodeH264SliceHeader.Buffer>
org.lwjgl.system.StructBuffer<StdVideoEncodeH264SliceHeader, StdVideoEncodeH264SliceHeader.Buffer>
org.lwjgl.vulkan.video.StdVideoEncodeH264SliceHeader.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<StdVideoEncodeH264SliceHeader>, NativeResource, Pointer
- Enclosing class:
StdVideoEncodeH264SliceHeader
public static class StdVideoEncodeH264SliceHeader.Buffer
extends StructBuffer<StdVideoEncodeH264SliceHeader, StdVideoEncodeH264SliceHeader.Buffer>
implements NativeResource
An array of
StdVideoEncodeH264SliceHeader structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newStdVideoEncodeH264SliceHeader.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintcabac_init_idc(int value) Sets the specified value to thecabac_init_idcfield.intdisable_deblocking_filter_idc(int value) Sets the specified value to thedisable_deblocking_filter_idcfield.intfirst_mb_in_slice(int value) Sets the specified value to thefirst_mb_in_slicefield.flags()flags(Consumer<StdVideoEncodeH264SliceHeaderFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoEncodeH264SliceHeaderFlagsto theflagsfield.Sets the address of the specifiedStdVideoEncodeH264WeightTableto thepWeightTablefield.byteslice_alpha_c0_offset_div2(byte value) Sets the specified value to theslice_alpha_c0_offset_div2field.byteslice_beta_offset_div2(byte value) Sets the specified value to theslice_beta_offset_div2field.byteslice_qp_delta(byte value) Sets the specified value to theslice_qp_deltafield.intslice_type(int value) Sets the specified value to theslice_typefield.Methods inherited from class StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class 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 Pointer.Default
equals, hashCodeMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
StdVideoEncodeH264SliceHeader.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
StdVideoEncodeH264SliceHeaderFlagsview of theflagsfield.
-
first_mb_in_slice
- Returns:
- the value of the
first_mb_in_slicefield.
-
slice_type
- Returns:
- the value of the
slice_typefield.
-
slice_alpha_c0_offset_div2
- Returns:
- the value of the
slice_alpha_c0_offset_div2field.
-
slice_beta_offset_div2
- Returns:
- the value of the
slice_beta_offset_div2field.
-
slice_qp_delta
- Returns:
- the value of the
slice_qp_deltafield.
-
cabac_init_idc
- Returns:
- the value of the
cabac_init_idcfield.
-
disable_deblocking_filter_idc
- Returns:
- the value of the
disable_deblocking_filter_idcfield.
-
pWeightTable
@NativeType("StdVideoEncodeH264WeightTable const *") public StdVideoEncodeH264WeightTable pWeightTable()- Returns:
- a
StdVideoEncodeH264WeightTableview of the struct pointed to by thepWeightTablefield.
-
flags
Copies the specifiedStdVideoEncodeH264SliceHeaderFlagsto theflagsfield. -
flags
public StdVideoEncodeH264SliceHeader.Buffer flags(Consumer<StdVideoEncodeH264SliceHeaderFlags> consumer) Passes theflagsfield to the specifiedConsumer. -
first_mb_in_slice
Sets the specified value to thefirst_mb_in_slicefield. -
slice_type
public StdVideoEncodeH264SliceHeader.Buffer slice_type(@NativeType("StdVideoH264SliceType") int value) Sets the specified value to theslice_typefield. -
slice_alpha_c0_offset_div2
public StdVideoEncodeH264SliceHeader.Buffer slice_alpha_c0_offset_div2(@NativeType("int8_t") byte value) Sets the specified value to theslice_alpha_c0_offset_div2field. -
slice_beta_offset_div2
public StdVideoEncodeH264SliceHeader.Buffer slice_beta_offset_div2(@NativeType("int8_t") byte value) Sets the specified value to theslice_beta_offset_div2field. -
slice_qp_delta
Sets the specified value to theslice_qp_deltafield. -
cabac_init_idc
public StdVideoEncodeH264SliceHeader.Buffer cabac_init_idc(@NativeType("StdVideoH264CabacInitIdc") int value) Sets the specified value to thecabac_init_idcfield. -
disable_deblocking_filter_idc
public StdVideoEncodeH264SliceHeader.Buffer disable_deblocking_filter_idc(@NativeType("StdVideoH264DisableDeblockingFilterIdc") int value) Sets the specified value to thedisable_deblocking_filter_idcfield. -
pWeightTable
public StdVideoEncodeH264SliceHeader.Buffer pWeightTable(@NativeType("StdVideoEncodeH264WeightTable const *") StdVideoEncodeH264WeightTable value) Sets the address of the specifiedStdVideoEncodeH264WeightTableto thepWeightTablefield.
-