Class StdVideoH264SequenceParameterSetVui.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoH264SequenceParameterSetVui.Buffer>
org.lwjgl.system.StructBuffer<StdVideoH264SequenceParameterSetVui, StdVideoH264SequenceParameterSetVui.Buffer>
org.lwjgl.vulkan.video.StdVideoH264SequenceParameterSetVui.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<StdVideoH264SequenceParameterSetVui>, NativeResource, Pointer
- Enclosing class:
StdVideoH264SequenceParameterSetVui
public static class StdVideoH264SequenceParameterSetVui.Buffer
extends StructBuffer<StdVideoH264SequenceParameterSetVui, StdVideoH264SequenceParameterSetVui.Buffer>
implements NativeResource
An array of
StdVideoH264SequenceParameterSetVui 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 newStdVideoH264SequenceParameterSetVui.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintaspect_ratio_idc(int value) Sets the specified value to theaspect_ratio_idcfield.bytechroma_sample_loc_type_bottom_field(byte value) Sets the specified value to thechroma_sample_loc_type_bottom_fieldfield.bytechroma_sample_loc_type_top_field(byte value) Sets the specified value to thechroma_sample_loc_type_top_fieldfield.bytecolour_primaries(byte value) Sets the specified value to thecolour_primariesfield.flags()flags(Consumer<StdVideoH264SpsVuiFlags> consumer) Passes theflagsfield to the specifiedConsumer.flags(StdVideoH264SpsVuiFlags value) Copies the specifiedStdVideoH264SpsVuiFlagsto theflagsfield.bytematrix_coefficients(byte value) Sets the specified value to thematrix_coefficientsfield.bytemax_dec_frame_buffering(byte value) Sets the specified value to themax_dec_frame_bufferingfield.bytemax_num_reorder_frames(byte value) Sets the specified value to themax_num_reorder_framesfield.intnum_units_in_tick(int value) Sets the specified value to thenum_units_in_tickfield.Sets the address of the specifiedStdVideoH264HrdParametersto thepHrdParametersfield.shortsar_height(short value) Sets the specified value to thesar_heightfield.shortsar_width(short value) Sets the specified value to thesar_widthfield.inttime_scale(int value) Sets the specified value to thetime_scalefield.bytetransfer_characteristics(byte value) Sets the specified value to thetransfer_characteristicsfield.bytevideo_format(byte value) Sets the specified value to thevideo_formatfield.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 newStdVideoH264SequenceParameterSetVui.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
StdVideoH264SequenceParameterSetVui.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
StdVideoH264SpsVuiFlagsview of theflagsfield.
-
aspect_ratio_idc
- Returns:
- the value of the
aspect_ratio_idcfield.
-
sar_width
- Returns:
- the value of the
sar_widthfield.
-
sar_height
- Returns:
- the value of the
sar_heightfield.
-
video_format
- Returns:
- the value of the
video_formatfield.
-
colour_primaries
- Returns:
- the value of the
colour_primariesfield.
-
transfer_characteristics
- Returns:
- the value of the
transfer_characteristicsfield.
-
matrix_coefficients
- Returns:
- the value of the
matrix_coefficientsfield.
-
num_units_in_tick
- Returns:
- the value of the
num_units_in_tickfield.
-
time_scale
- Returns:
- the value of the
time_scalefield.
-
max_num_reorder_frames
- Returns:
- the value of the
max_num_reorder_framesfield.
-
max_dec_frame_buffering
- Returns:
- the value of the
max_dec_frame_bufferingfield.
-
chroma_sample_loc_type_top_field
- Returns:
- the value of the
chroma_sample_loc_type_top_fieldfield.
-
chroma_sample_loc_type_bottom_field
- Returns:
- the value of the
chroma_sample_loc_type_bottom_fieldfield.
-
pHrdParameters
- Returns:
- a
StdVideoH264HrdParametersview of the struct pointed to by thepHrdParametersfield.
-
flags
Copies the specifiedStdVideoH264SpsVuiFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
aspect_ratio_idc
public StdVideoH264SequenceParameterSetVui.Buffer aspect_ratio_idc(@NativeType("StdVideoH264AspectRatioIdc") int value) Sets the specified value to theaspect_ratio_idcfield. -
sar_width
Sets the specified value to thesar_widthfield. -
sar_height
Sets the specified value to thesar_heightfield. -
video_format
Sets the specified value to thevideo_formatfield. -
colour_primaries
public StdVideoH264SequenceParameterSetVui.Buffer colour_primaries(@NativeType("uint8_t") byte value) Sets the specified value to thecolour_primariesfield. -
transfer_characteristics
public StdVideoH264SequenceParameterSetVui.Buffer transfer_characteristics(@NativeType("uint8_t") byte value) Sets the specified value to thetransfer_characteristicsfield. -
matrix_coefficients
public StdVideoH264SequenceParameterSetVui.Buffer matrix_coefficients(@NativeType("uint8_t") byte value) Sets the specified value to thematrix_coefficientsfield. -
num_units_in_tick
public StdVideoH264SequenceParameterSetVui.Buffer num_units_in_tick(@NativeType("uint32_t") int value) Sets the specified value to thenum_units_in_tickfield. -
time_scale
Sets the specified value to thetime_scalefield. -
max_num_reorder_frames
public StdVideoH264SequenceParameterSetVui.Buffer max_num_reorder_frames(@NativeType("uint8_t") byte value) Sets the specified value to themax_num_reorder_framesfield. -
max_dec_frame_buffering
public StdVideoH264SequenceParameterSetVui.Buffer max_dec_frame_buffering(@NativeType("uint8_t") byte value) Sets the specified value to themax_dec_frame_bufferingfield. -
chroma_sample_loc_type_top_field
public StdVideoH264SequenceParameterSetVui.Buffer chroma_sample_loc_type_top_field(@NativeType("uint8_t") byte value) Sets the specified value to thechroma_sample_loc_type_top_fieldfield. -
chroma_sample_loc_type_bottom_field
public StdVideoH264SequenceParameterSetVui.Buffer chroma_sample_loc_type_bottom_field(@NativeType("uint8_t") byte value) Sets the specified value to thechroma_sample_loc_type_bottom_fieldfield. -
pHrdParameters
public StdVideoH264SequenceParameterSetVui.Buffer pHrdParameters(@NativeType("StdVideoH264HrdParameters const *") StdVideoH264HrdParameters value) Sets the address of the specifiedStdVideoH264HrdParametersto thepHrdParametersfield.
-