Package org.lwjgl.vulkan.video
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 org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newStdVideoDecodeVP9PictureInfo.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
base_q_idx
(byte value) Sets the specified value to thebase_q_idx
field.byte
delta_q_uv_ac
(byte value) Sets the specified value to thedelta_q_uv_ac
field.byte
delta_q_uv_dc
(byte value) Sets the specified value to thedelta_q_uv_dc
field.byte
delta_q_y_dc
(byte value) Sets the specified value to thedelta_q_y_dc
field.flags()
flags
(Consumer<StdVideoDecodeVP9PictureInfoFlags> consumer) Passes theflags
field to the specifiedConsumer
.Copies the specifiedStdVideoDecodeVP9PictureInfoFlags
to theflags
field.byte
frame_context_idx
(byte value) Sets the specified value to theframe_context_idx
field.int
frame_type
(int value) Sets the specified value to theframe_type
field.int
interpolation_filter
(int value) Sets the specified value to theinterpolation_filter
field.Sets the address of the specifiedStdVideoVP9ColorConfig
to thepColorConfig
field.pLoopFilter
(StdVideoVP9LoopFilter value) Sets the address of the specifiedStdVideoVP9LoopFilter
to thepLoopFilter
field.int
profile()
profile
(int value) Sets the specified value to theprofile
field.Sets the address of the specifiedStdVideoVP9Segmentation
to thepSegmentation
field.byte
ref_frame_sign_bias_mask
(byte value) Sets the specified value to theref_frame_sign_bias_mask
field.byte
refresh_frame_flags
(byte value) Sets the specified value to therefresh_frame_flags
field.byte
reset_frame_context
(byte value) Sets the specified value to thereset_frame_context
field.byte
tile_cols_log2
(byte value) Sets the specified value to thetile_cols_log2
field.byte
tile_rows_log2
(byte value) Sets the specified value to thetile_rows_log2
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoDecodeVP9PictureInfo.Buffer
instance 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
StdVideoDecodeVP9PictureInfoFlags
view of theflags
field.
-
profile
public int profile()- Returns:
- the value of the
profile
field.
-
frame_type
public int frame_type()- Returns:
- the value of the
frame_type
field.
-
frame_context_idx
public byte frame_context_idx()- Returns:
- the value of the
frame_context_idx
field.
-
reset_frame_context
public byte reset_frame_context()- Returns:
- the value of the
reset_frame_context
field.
-
refresh_frame_flags
public byte refresh_frame_flags()- Returns:
- the value of the
refresh_frame_flags
field.
-
ref_frame_sign_bias_mask
public byte ref_frame_sign_bias_mask()- Returns:
- the value of the
ref_frame_sign_bias_mask
field.
-
interpolation_filter
public int interpolation_filter()- Returns:
- the value of the
interpolation_filter
field.
-
base_q_idx
public byte base_q_idx()- Returns:
- the value of the
base_q_idx
field.
-
delta_q_y_dc
public byte delta_q_y_dc()- Returns:
- the value of the
delta_q_y_dc
field.
-
delta_q_uv_dc
public byte delta_q_uv_dc()- Returns:
- the value of the
delta_q_uv_dc
field.
-
delta_q_uv_ac
public byte delta_q_uv_ac()- Returns:
- the value of the
delta_q_uv_ac
field.
-
tile_cols_log2
public byte tile_cols_log2()- Returns:
- the value of the
tile_cols_log2
field.
-
tile_rows_log2
public byte tile_rows_log2()- Returns:
- the value of the
tile_rows_log2
field.
-
pColorConfig
- Returns:
- a
StdVideoVP9ColorConfig
view of the struct pointed to by thepColorConfig
field.
-
pLoopFilter
- Returns:
- a
StdVideoVP9LoopFilter
view of the struct pointed to by thepLoopFilter
field.
-
pSegmentation
- Returns:
- a
StdVideoVP9Segmentation
view of the struct pointed to by thepSegmentation
field.
-
flags
Copies the specifiedStdVideoDecodeVP9PictureInfoFlags
to theflags
field. -
flags
public StdVideoDecodeVP9PictureInfo.Buffer flags(Consumer<StdVideoDecodeVP9PictureInfoFlags> consumer) Passes theflags
field to the specifiedConsumer
. -
profile
Sets the specified value to theprofile
field. -
frame_type
Sets the specified value to theframe_type
field. -
frame_context_idx
Sets the specified value to theframe_context_idx
field. -
reset_frame_context
Sets the specified value to thereset_frame_context
field. -
refresh_frame_flags
Sets the specified value to therefresh_frame_flags
field. -
ref_frame_sign_bias_mask
Sets the specified value to theref_frame_sign_bias_mask
field. -
interpolation_filter
Sets the specified value to theinterpolation_filter
field. -
base_q_idx
Sets the specified value to thebase_q_idx
field. -
delta_q_y_dc
Sets the specified value to thedelta_q_y_dc
field. -
delta_q_uv_dc
Sets the specified value to thedelta_q_uv_dc
field. -
delta_q_uv_ac
Sets the specified value to thedelta_q_uv_ac
field. -
tile_cols_log2
Sets the specified value to thetile_cols_log2
field. -
tile_rows_log2
Sets the specified value to thetile_rows_log2
field. -
pColorConfig
Sets the address of the specifiedStdVideoVP9ColorConfig
to thepColorConfig
field. -
pLoopFilter
Sets the address of the specifiedStdVideoVP9LoopFilter
to thepLoopFilter
field. -
pSegmentation
Sets the address of the specifiedStdVideoVP9Segmentation
to thepSegmentation
field.
-