Class StdVideoDecodeVP9PictureInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoDecodeVP9PictureInfo.Buffer>
org.lwjgl.system.StructBuffer<StdVideoDecodeVP9PictureInfo, StdVideoDecodeVP9PictureInfo.Buffer>
org.lwjgl.vulkan.video.StdVideoDecodeVP9PictureInfo.Buffer
- All Implemented Interfaces:
AutoCloseable, Iterable<StdVideoDecodeVP9PictureInfo>, NativeResource, Pointer
- Enclosing class:
StdVideoDecodeVP9PictureInfo
public static class StdVideoDecodeVP9PictureInfo.Buffer
extends StructBuffer<StdVideoDecodeVP9PictureInfo, StdVideoDecodeVP9PictureInfo.Buffer>
implements NativeResource
An array of
StdVideoDecodeVP9PictureInfo 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 newStdVideoDecodeVP9PictureInfo.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbytebase_q_idx(byte value) Sets the specified value to thebase_q_idxfield.bytedelta_q_uv_ac(byte value) Sets the specified value to thedelta_q_uv_acfield.bytedelta_q_uv_dc(byte value) Sets the specified value to thedelta_q_uv_dcfield.bytedelta_q_y_dc(byte value) Sets the specified value to thedelta_q_y_dcfield.flags()flags(Consumer<StdVideoDecodeVP9PictureInfoFlags> consumer) Passes theflagsfield to the specifiedConsumer.Copies the specifiedStdVideoDecodeVP9PictureInfoFlagsto theflagsfield.byteframe_context_idx(byte value) Sets the specified value to theframe_context_idxfield.intframe_type(int value) Sets the specified value to theframe_typefield.intinterpolation_filter(int value) Sets the specified value to theinterpolation_filterfield.Sets the address of the specifiedStdVideoVP9ColorConfigto thepColorConfigfield.pLoopFilter(StdVideoVP9LoopFilter value) Sets the address of the specifiedStdVideoVP9LoopFilterto thepLoopFilterfield.intprofile()profile(int value) Sets the specified value to theprofilefield.Sets the address of the specifiedStdVideoVP9Segmentationto thepSegmentationfield.byteref_frame_sign_bias_mask(byte value) Sets the specified value to theref_frame_sign_bias_maskfield.byterefresh_frame_flags(byte value) Sets the specified value to therefresh_frame_flagsfield.bytereset_frame_context(byte value) Sets the specified value to thereset_frame_contextfield.bytetile_cols_log2(byte value) Sets the specified value to thetile_cols_log2field.bytetile_rows_log2(byte value) Sets the specified value to thetile_rows_log2field.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 newStdVideoDecodeVP9PictureInfo.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
StdVideoDecodeVP9PictureInfo.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
StdVideoDecodeVP9PictureInfoFlagsview of theflagsfield.
-
profile
- Returns:
- the value of the
profilefield.
-
frame_type
- Returns:
- the value of the
frame_typefield.
-
frame_context_idx
- Returns:
- the value of the
frame_context_idxfield.
-
reset_frame_context
- Returns:
- the value of the
reset_frame_contextfield.
-
refresh_frame_flags
- Returns:
- the value of the
refresh_frame_flagsfield.
-
ref_frame_sign_bias_mask
- Returns:
- the value of the
ref_frame_sign_bias_maskfield.
-
interpolation_filter
- Returns:
- the value of the
interpolation_filterfield.
-
base_q_idx
- Returns:
- the value of the
base_q_idxfield.
-
delta_q_y_dc
- Returns:
- the value of the
delta_q_y_dcfield.
-
delta_q_uv_dc
- Returns:
- the value of the
delta_q_uv_dcfield.
-
delta_q_uv_ac
- Returns:
- the value of the
delta_q_uv_acfield.
-
tile_cols_log2
- Returns:
- the value of the
tile_cols_log2field.
-
tile_rows_log2
- Returns:
- the value of the
tile_rows_log2field.
-
pColorConfig
- Returns:
- a
StdVideoVP9ColorConfigview of the struct pointed to by thepColorConfigfield.
-
pLoopFilter
- Returns:
- a
StdVideoVP9LoopFilterview of the struct pointed to by thepLoopFilterfield.
-
pSegmentation
- Returns:
- a
StdVideoVP9Segmentationview of the struct pointed to by thepSegmentationfield.
-
flags
Copies the specifiedStdVideoDecodeVP9PictureInfoFlagsto theflagsfield. -
flags
public StdVideoDecodeVP9PictureInfo.Buffer flags(Consumer<StdVideoDecodeVP9PictureInfoFlags> consumer) Passes theflagsfield to the specifiedConsumer. -
profile
Sets the specified value to theprofilefield. -
frame_type
public StdVideoDecodeVP9PictureInfo.Buffer frame_type(@NativeType("StdVideoVP9FrameType") int value) Sets the specified value to theframe_typefield. -
frame_context_idx
Sets the specified value to theframe_context_idxfield. -
reset_frame_context
Sets the specified value to thereset_frame_contextfield. -
refresh_frame_flags
Sets the specified value to therefresh_frame_flagsfield. -
ref_frame_sign_bias_mask
public StdVideoDecodeVP9PictureInfo.Buffer ref_frame_sign_bias_mask(@NativeType("uint8_t") byte value) Sets the specified value to theref_frame_sign_bias_maskfield. -
interpolation_filter
public StdVideoDecodeVP9PictureInfo.Buffer interpolation_filter(@NativeType("StdVideoVP9InterpolationFilter") int value) Sets the specified value to theinterpolation_filterfield. -
base_q_idx
Sets the specified value to thebase_q_idxfield. -
delta_q_y_dc
Sets the specified value to thedelta_q_y_dcfield. -
delta_q_uv_dc
Sets the specified value to thedelta_q_uv_dcfield. -
delta_q_uv_ac
Sets the specified value to thedelta_q_uv_acfield. -
tile_cols_log2
Sets the specified value to thetile_cols_log2field. -
tile_rows_log2
Sets the specified value to thetile_rows_log2field. -
pColorConfig
public StdVideoDecodeVP9PictureInfo.Buffer pColorConfig(@NativeType("StdVideoVP9ColorConfig const *") StdVideoVP9ColorConfig value) Sets the address of the specifiedStdVideoVP9ColorConfigto thepColorConfigfield. -
pLoopFilter
public StdVideoDecodeVP9PictureInfo.Buffer pLoopFilter(@NativeType("StdVideoVP9LoopFilter const *") StdVideoVP9LoopFilter value) Sets the address of the specifiedStdVideoVP9LoopFilterto thepLoopFilterfield. -
pSegmentation
public StdVideoDecodeVP9PictureInfo.Buffer pSegmentation(@NativeType("StdVideoVP9Segmentation const *") StdVideoVP9Segmentation value) Sets the address of the specifiedStdVideoVP9Segmentationto thepSegmentationfield.
-