Package org.lwjgl.vulkan.video
Class StdVideoH264SequenceParameterSetVui.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoH264SequenceParameterSetVui,StdVideoH264SequenceParameterSetVui.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoH264SequenceParameterSetVui.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoH264SequenceParameterSetVui>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoH264SequenceParameterSetVui
public static class StdVideoH264SequenceParameterSetVui.Buffer extends org.lwjgl.system.StructBuffer<StdVideoH264SequenceParameterSetVui,StdVideoH264SequenceParameterSetVui.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoH264SequenceParameterSetVuistructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byStdVideoH264SequenceParameterSetVui.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
-
aspect_ratio_idc
public int aspect_ratio_idc()
- Returns:
- the value of the
aspect_ratio_idcfield.
-
sar_width
public short sar_width()
- Returns:
- the value of the
sar_widthfield.
-
sar_height
public short sar_height()
- Returns:
- the value of the
sar_heightfield.
-
video_format
public byte video_format()
- Returns:
- the value of the
video_formatfield.
-
color_primaries
public byte color_primaries()
- Returns:
- the value of the
color_primariesfield.
-
transfer_characteristics
public byte transfer_characteristics()
- Returns:
- the value of the
transfer_characteristicsfield.
-
matrix_coefficients
public byte matrix_coefficients()
- Returns:
- the value of the
matrix_coefficientsfield.
-
num_units_in_tick
public int num_units_in_tick()
- Returns:
- the value of the
num_units_in_tickfield.
-
time_scale
public int time_scale()
- Returns:
- the value of the
time_scalefield.
-
pHrdParameters
public StdVideoH264HrdParameters pHrdParameters()
- Returns:
- a
StdVideoH264HrdParametersview of the struct pointed to by theStdVideoH264SequenceParameterSetVui.pHrdParameters()field.
-
max_num_reorder_frames
public byte max_num_reorder_frames()
- Returns:
- the value of the
max_num_reorder_framesfield.
-
max_dec_frame_buffering
public byte max_dec_frame_buffering()
- Returns:
- the value of the
max_dec_frame_bufferingfield.
-
flags
public StdVideoH264SpsVuiFlags flags()
- Returns:
- a
StdVideoH264SpsVuiFlagsview of theflagsfield.
-
aspect_ratio_idc
public StdVideoH264SequenceParameterSetVui.Buffer aspect_ratio_idc(int value)
Sets the specified value to theaspect_ratio_idcfield.
-
sar_width
public StdVideoH264SequenceParameterSetVui.Buffer sar_width(short value)
Sets the specified value to thesar_widthfield.
-
sar_height
public StdVideoH264SequenceParameterSetVui.Buffer sar_height(short value)
Sets the specified value to thesar_heightfield.
-
video_format
public StdVideoH264SequenceParameterSetVui.Buffer video_format(byte value)
Sets the specified value to thevideo_formatfield.
-
color_primaries
public StdVideoH264SequenceParameterSetVui.Buffer color_primaries(byte value)
Sets the specified value to thecolor_primariesfield.
-
transfer_characteristics
public StdVideoH264SequenceParameterSetVui.Buffer transfer_characteristics(byte value)
Sets the specified value to thetransfer_characteristicsfield.
-
matrix_coefficients
public StdVideoH264SequenceParameterSetVui.Buffer matrix_coefficients(byte value)
Sets the specified value to thematrix_coefficientsfield.
-
num_units_in_tick
public StdVideoH264SequenceParameterSetVui.Buffer num_units_in_tick(int value)
Sets the specified value to thenum_units_in_tickfield.
-
time_scale
public StdVideoH264SequenceParameterSetVui.Buffer time_scale(int value)
Sets the specified value to thetime_scalefield.
-
pHrdParameters
public StdVideoH264SequenceParameterSetVui.Buffer pHrdParameters(StdVideoH264HrdParameters value)
Sets the address of the specifiedStdVideoH264HrdParametersto theStdVideoH264SequenceParameterSetVui.pHrdParameters()field.
-
max_num_reorder_frames
public StdVideoH264SequenceParameterSetVui.Buffer max_num_reorder_frames(byte value)
Sets the specified value to themax_num_reorder_framesfield.
-
max_dec_frame_buffering
public StdVideoH264SequenceParameterSetVui.Buffer max_dec_frame_buffering(byte value)
Sets the specified value to themax_dec_frame_bufferingfield.
-
flags
public StdVideoH264SequenceParameterSetVui.Buffer flags(StdVideoH264SpsVuiFlags value)
Copies the specifiedStdVideoH264SpsVuiFlagsto theflagsfield.
-
flags
public StdVideoH264SequenceParameterSetVui.Buffer flags(java.util.function.Consumer<StdVideoH264SpsVuiFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
-