Package org.lwjgl.vulkan.video
Class StdVideoDecodeVP9PictureInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoDecodeVP9PictureInfo>
org.lwjgl.vulkan.video.StdVideoDecodeVP9PictureInfo
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoDecodeVP9PictureInfo
extends Struct<StdVideoDecodeVP9PictureInfo>
implements NativeResource
struct StdVideoDecodeVP9PictureInfo {
{@link StdVideoDecodeVP9PictureInfoFlags StdVideoDecodeVP9PictureInfoFlags} flags;
StdVideoVP9Profile profile;
StdVideoVP9FrameType frame_type;
uint8_t frame_context_idx;
uint8_t reset_frame_context;
uint8_t refresh_frame_flags;
uint8_t ref_frame_sign_bias_mask;
StdVideoVP9InterpolationFilter interpolation_filter;
uint8_t base_q_idx;
int8_t delta_q_y_dc;
int8_t delta_q_uv_dc;
int8_t delta_q_uv_ac;
uint8_t tile_cols_log2;
uint8_t tile_rows_log2;
uint16_t reserved1[3];
{@link StdVideoVP9ColorConfig StdVideoVP9ColorConfig} const * pColorConfig;
{@link StdVideoVP9LoopFilter StdVideoVP9LoopFilter} const * pLoopFilter;
{@link StdVideoVP9Segmentation StdVideoVP9Segmentation} const * pSegmentation;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoDecodeVP9PictureInfo
(ByteBuffer container) Creates aStdVideoDecodeVP9PictureInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
base_q_idx
(byte value) Sets the specified value to thebase_q_idx
field.static StdVideoDecodeVP9PictureInfo
calloc()
Returns a newStdVideoDecodeVP9PictureInfo
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoDecodeVP9PictureInfo
calloc
(MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoDecodeVP9PictureInfo
create()
Returns a newStdVideoDecodeVP9PictureInfo
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated withBufferUtils
.static StdVideoDecodeVP9PictureInfo
create
(long address) Returns a newStdVideoDecodeVP9PictureInfo
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoDecodeVP9PictureInfo.Buffer
instance at the specified memory.static @Nullable StdVideoDecodeVP9PictureInfo
createSafe
(long address) static @Nullable StdVideoDecodeVP9PictureInfo.Buffer
createSafe
(long address, int capacity) 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.static StdVideoDecodeVP9PictureInfo
malloc()
Returns a newStdVideoDecodeVP9PictureInfo
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoDecodeVP9PictureInfo
malloc
(MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfo
instance allocated on the specifiedMemoryStack
.static byte
nbase_q_idx
(long struct) Unsafe version ofbase_q_idx()
.static void
nbase_q_idx
(long struct, byte value) Unsafe version ofbase_q_idx
.static byte
ndelta_q_uv_ac
(long struct) Unsafe version ofdelta_q_uv_ac()
.static void
ndelta_q_uv_ac
(long struct, byte value) Unsafe version ofdelta_q_uv_ac
.static byte
ndelta_q_uv_dc
(long struct) Unsafe version ofdelta_q_uv_dc()
.static void
ndelta_q_uv_dc
(long struct, byte value) Unsafe version ofdelta_q_uv_dc
.static byte
ndelta_q_y_dc
(long struct) Unsafe version ofdelta_q_y_dc()
.static void
ndelta_q_y_dc
(long struct, byte value) Unsafe version ofdelta_q_y_dc
.nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoDecodeVP9PictureInfoFlags value) Unsafe version offlags
.static byte
nframe_context_idx
(long struct) Unsafe version offrame_context_idx()
.static void
nframe_context_idx
(long struct, byte value) Unsafe version offrame_context_idx
.static int
nframe_type
(long struct) Unsafe version offrame_type()
.static void
nframe_type
(long struct, int value) Unsafe version offrame_type
.static int
ninterpolation_filter
(long struct) Unsafe version ofinterpolation_filter()
.static void
ninterpolation_filter
(long struct, int value) Unsafe version ofinterpolation_filter
.static StdVideoVP9ColorConfig
npColorConfig
(long struct) Unsafe version ofpColorConfig()
.static void
npColorConfig
(long struct, StdVideoVP9ColorConfig value) Unsafe version ofpColorConfig
.static StdVideoVP9LoopFilter
npLoopFilter
(long struct) Unsafe version ofpLoopFilter()
.static void
npLoopFilter
(long struct, StdVideoVP9LoopFilter value) Unsafe version ofpLoopFilter
.static int
nprofile
(long struct) Unsafe version ofprofile()
.static void
nprofile
(long struct, int value) Unsafe version ofprofile
.static StdVideoVP9Segmentation
npSegmentation
(long struct) Unsafe version ofpSegmentation()
.static void
npSegmentation
(long struct, StdVideoVP9Segmentation value) Unsafe version ofpSegmentation
.static byte
nref_frame_sign_bias_mask
(long struct) Unsafe version ofref_frame_sign_bias_mask()
.static void
nref_frame_sign_bias_mask
(long struct, byte value) Unsafe version ofref_frame_sign_bias_mask
.static byte
nrefresh_frame_flags
(long struct) Unsafe version ofrefresh_frame_flags()
.static void
nrefresh_frame_flags
(long struct, byte value) Unsafe version ofrefresh_frame_flags
.static ShortBuffer
nreserved1
(long struct) static short
nreserved1
(long struct, int index) static void
nreserved1
(long struct, int index, short value) static void
nreserved1
(long struct, ShortBuffer value) static byte
nreset_frame_context
(long struct) Unsafe version ofreset_frame_context()
.static void
nreset_frame_context
(long struct, byte value) Unsafe version ofreset_frame_context
.static byte
ntile_cols_log2
(long struct) Unsafe version oftile_cols_log2()
.static void
ntile_cols_log2
(long struct, byte value) Unsafe version oftile_cols_log2
.static byte
ntile_rows_log2
(long struct) Unsafe version oftile_rows_log2()
.static void
ntile_rows_log2
(long struct, byte value) Unsafe version oftile_rows_log2
.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.Copies the specified struct data to this struct.set
(StdVideoDecodeVP9PictureInfoFlags flags, int profile, int frame_type, byte frame_context_idx, byte reset_frame_context, byte refresh_frame_flags, byte ref_frame_sign_bias_mask, int interpolation_filter, byte base_q_idx, byte delta_q_y_dc, byte delta_q_uv_dc, byte delta_q_uv_ac, byte tile_cols_log2, byte tile_rows_log2, StdVideoVP9ColorConfig pColorConfig, StdVideoVP9LoopFilter pLoopFilter, StdVideoVP9Segmentation pSegmentation) Initializes this struct with the specified values.int
sizeof()
Returnssizeof(struct)
.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.static void
validate
(long struct) Validates pointer members that should not beNULL
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FLAGS
public static final int FLAGSThe struct member offsets. -
PROFILE
public static final int PROFILEThe struct member offsets. -
FRAME_TYPE
public static final int FRAME_TYPEThe struct member offsets. -
FRAME_CONTEXT_IDX
public static final int FRAME_CONTEXT_IDXThe struct member offsets. -
RESET_FRAME_CONTEXT
public static final int RESET_FRAME_CONTEXTThe struct member offsets. -
REFRESH_FRAME_FLAGS
public static final int REFRESH_FRAME_FLAGSThe struct member offsets. -
REF_FRAME_SIGN_BIAS_MASK
public static final int REF_FRAME_SIGN_BIAS_MASKThe struct member offsets. -
INTERPOLATION_FILTER
public static final int INTERPOLATION_FILTERThe struct member offsets. -
BASE_Q_IDX
public static final int BASE_Q_IDXThe struct member offsets. -
DELTA_Q_Y_DC
public static final int DELTA_Q_Y_DCThe struct member offsets. -
DELTA_Q_UV_DC
public static final int DELTA_Q_UV_DCThe struct member offsets. -
DELTA_Q_UV_AC
public static final int DELTA_Q_UV_ACThe struct member offsets. -
TILE_COLS_LOG2
public static final int TILE_COLS_LOG2The struct member offsets. -
TILE_ROWS_LOG2
public static final int TILE_ROWS_LOG2The struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
PCOLORCONFIG
public static final int PCOLORCONFIGThe struct member offsets. -
PLOOPFILTER
public static final int PLOOPFILTERThe struct member offsets. -
PSEGMENTATION
public static final int PSEGMENTATIONThe struct member offsets.
-
-
Constructor Details
-
StdVideoDecodeVP9PictureInfo
Creates aStdVideoDecodeVP9PictureInfo
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoDecodeVP9PictureInfo>
-
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
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. -
set
public StdVideoDecodeVP9PictureInfo set(StdVideoDecodeVP9PictureInfoFlags flags, int profile, int frame_type, byte frame_context_idx, byte reset_frame_context, byte refresh_frame_flags, byte ref_frame_sign_bias_mask, int interpolation_filter, byte base_q_idx, byte delta_q_y_dc, byte delta_q_uv_dc, byte delta_q_uv_ac, byte tile_cols_log2, byte tile_rows_log2, StdVideoVP9ColorConfig pColorConfig, StdVideoVP9LoopFilter pLoopFilter, StdVideoVP9Segmentation pSegmentation) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoDecodeVP9PictureInfo
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoDecodeVP9PictureInfo
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoDecodeVP9PictureInfo
instance allocated withBufferUtils
. -
create
Returns a newStdVideoDecodeVP9PictureInfo
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoDecodeVP9PictureInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoDecodeVP9PictureInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeVP9PictureInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeVP9PictureInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nflags
Unsafe version offlags()
. -
nprofile
public static int nprofile(long struct) Unsafe version ofprofile()
. -
nframe_type
public static int nframe_type(long struct) Unsafe version offrame_type()
. -
nframe_context_idx
public static byte nframe_context_idx(long struct) Unsafe version offrame_context_idx()
. -
nreset_frame_context
public static byte nreset_frame_context(long struct) Unsafe version ofreset_frame_context()
. -
nrefresh_frame_flags
public static byte nrefresh_frame_flags(long struct) Unsafe version ofrefresh_frame_flags()
. -
nref_frame_sign_bias_mask
public static byte nref_frame_sign_bias_mask(long struct) Unsafe version ofref_frame_sign_bias_mask()
. -
ninterpolation_filter
public static int ninterpolation_filter(long struct) Unsafe version ofinterpolation_filter()
. -
nbase_q_idx
public static byte nbase_q_idx(long struct) Unsafe version ofbase_q_idx()
. -
ndelta_q_y_dc
public static byte ndelta_q_y_dc(long struct) Unsafe version ofdelta_q_y_dc()
. -
ndelta_q_uv_dc
public static byte ndelta_q_uv_dc(long struct) Unsafe version ofdelta_q_uv_dc()
. -
ndelta_q_uv_ac
public static byte ndelta_q_uv_ac(long struct) Unsafe version ofdelta_q_uv_ac()
. -
ntile_cols_log2
public static byte ntile_cols_log2(long struct) Unsafe version oftile_cols_log2()
. -
ntile_rows_log2
public static byte ntile_rows_log2(long struct) Unsafe version oftile_rows_log2()
. -
nreserved1
-
nreserved1
public static short nreserved1(long struct, int index) -
npColorConfig
Unsafe version ofpColorConfig()
. -
npLoopFilter
Unsafe version ofpLoopFilter()
. -
npSegmentation
Unsafe version ofpSegmentation()
. -
nflags
Unsafe version offlags
. -
nprofile
public static void nprofile(long struct, int value) Unsafe version ofprofile
. -
nframe_type
public static void nframe_type(long struct, int value) Unsafe version offrame_type
. -
nframe_context_idx
public static void nframe_context_idx(long struct, byte value) Unsafe version offrame_context_idx
. -
nreset_frame_context
public static void nreset_frame_context(long struct, byte value) Unsafe version ofreset_frame_context
. -
nrefresh_frame_flags
public static void nrefresh_frame_flags(long struct, byte value) Unsafe version ofrefresh_frame_flags
. -
nref_frame_sign_bias_mask
public static void nref_frame_sign_bias_mask(long struct, byte value) Unsafe version ofref_frame_sign_bias_mask
. -
ninterpolation_filter
public static void ninterpolation_filter(long struct, int value) Unsafe version ofinterpolation_filter
. -
nbase_q_idx
public static void nbase_q_idx(long struct, byte value) Unsafe version ofbase_q_idx
. -
ndelta_q_y_dc
public static void ndelta_q_y_dc(long struct, byte value) Unsafe version ofdelta_q_y_dc
. -
ndelta_q_uv_dc
public static void ndelta_q_uv_dc(long struct, byte value) Unsafe version ofdelta_q_uv_dc
. -
ndelta_q_uv_ac
public static void ndelta_q_uv_ac(long struct, byte value) Unsafe version ofdelta_q_uv_ac
. -
ntile_cols_log2
public static void ntile_cols_log2(long struct, byte value) Unsafe version oftile_cols_log2
. -
ntile_rows_log2
public static void ntile_rows_log2(long struct, byte value) Unsafe version oftile_rows_log2
. -
nreserved1
-
nreserved1
public static void nreserved1(long struct, int index, short value) -
npColorConfig
Unsafe version ofpColorConfig
. -
npLoopFilter
Unsafe version ofpLoopFilter
. -
npSegmentation
Unsafe version ofpSegmentation
. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-