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 {
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];
StdVideoVP9ColorConfig const * pColorConfig;
StdVideoVP9LoopFilter const * pLoopFilter;
StdVideoVP9Segmentation const * pSegmentation;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe 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 aStdVideoDecodeVP9PictureInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbytebase_q_idx(byte value) Sets the specified value to thebase_q_idxfield.static StdVideoDecodeVP9PictureInfocalloc()Returns a newStdVideoDecodeVP9PictureInfoinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeVP9PictureInfocalloc(MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeVP9PictureInfocreate()Returns a newStdVideoDecodeVP9PictureInfoinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated withBufferUtils.static StdVideoDecodeVP9PictureInfocreate(long address) Returns a newStdVideoDecodeVP9PictureInfoinstance for the specified memory address.create(long address, int capacity) Create aStdVideoDecodeVP9PictureInfo.Bufferinstance at the specified memory.static @Nullable StdVideoDecodeVP9PictureInfocreateSafe(long address) static @Nullable StdVideoDecodeVP9PictureInfo.BuffercreateSafe(long address, int capacity) 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.static StdVideoDecodeVP9PictureInfomalloc()Returns a newStdVideoDecodeVP9PictureInfoinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoDecodeVP9PictureInfomalloc(MemoryStack stack) Returns a newStdVideoDecodeVP9PictureInfoinstance allocated on the specifiedMemoryStack.static bytenbase_q_idx(long struct) Unsafe version ofbase_q_idx().static voidnbase_q_idx(long struct, byte value) Unsafe version ofbase_q_idx.static bytendelta_q_uv_ac(long struct) Unsafe version ofdelta_q_uv_ac().static voidndelta_q_uv_ac(long struct, byte value) Unsafe version ofdelta_q_uv_ac.static bytendelta_q_uv_dc(long struct) Unsafe version ofdelta_q_uv_dc().static voidndelta_q_uv_dc(long struct, byte value) Unsafe version ofdelta_q_uv_dc.static bytendelta_q_y_dc(long struct) Unsafe version ofdelta_q_y_dc().static voidndelta_q_y_dc(long struct, byte value) Unsafe version ofdelta_q_y_dc.nflags(long struct) Unsafe version offlags().static voidnflags(long struct, StdVideoDecodeVP9PictureInfoFlags value) Unsafe version offlags.static bytenframe_context_idx(long struct) Unsafe version offrame_context_idx().static voidnframe_context_idx(long struct, byte value) Unsafe version offrame_context_idx.static intnframe_type(long struct) Unsafe version offrame_type().static voidnframe_type(long struct, int value) Unsafe version offrame_type.static intninterpolation_filter(long struct) Unsafe version ofinterpolation_filter().static voidninterpolation_filter(long struct, int value) Unsafe version ofinterpolation_filter.static StdVideoVP9ColorConfignpColorConfig(long struct) Unsafe version ofpColorConfig().static voidnpColorConfig(long struct, StdVideoVP9ColorConfig value) Unsafe version ofpColorConfig.static StdVideoVP9LoopFilternpLoopFilter(long struct) Unsafe version ofpLoopFilter().static voidnpLoopFilter(long struct, StdVideoVP9LoopFilter value) Unsafe version ofpLoopFilter.static intnprofile(long struct) Unsafe version ofprofile().static voidnprofile(long struct, int value) Unsafe version ofprofile.static StdVideoVP9SegmentationnpSegmentation(long struct) Unsafe version ofpSegmentation().static voidnpSegmentation(long struct, StdVideoVP9Segmentation value) Unsafe version ofpSegmentation.static bytenref_frame_sign_bias_mask(long struct) Unsafe version ofref_frame_sign_bias_mask().static voidnref_frame_sign_bias_mask(long struct, byte value) Unsafe version ofref_frame_sign_bias_mask.static bytenrefresh_frame_flags(long struct) Unsafe version ofrefresh_frame_flags().static voidnrefresh_frame_flags(long struct, byte value) Unsafe version ofrefresh_frame_flags.static ShortBuffernreserved1(long struct) static shortnreserved1(long struct, int index) static voidnreserved1(long struct, int index, short value) static voidnreserved1(long struct, ShortBuffer value) static bytenreset_frame_context(long struct) Unsafe version ofreset_frame_context().static voidnreset_frame_context(long struct, byte value) Unsafe version ofreset_frame_context.static bytentile_cols_log2(long struct) Unsafe version oftile_cols_log2().static voidntile_cols_log2(long struct, byte value) Unsafe version oftile_cols_log2.static bytentile_rows_log2(long struct) Unsafe version oftile_rows_log2().static voidntile_rows_log2(long struct, byte value) Unsafe version oftile_rows_log2.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.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.intsizeof()Returnssizeof(struct).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.static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aStdVideoDecodeVP9PictureInfoinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoDecodeVP9PictureInfo>
-
flags
- Returns:
- a
StdVideoDecodeVP9PictureInfoFlagsview of theflagsfield.
-
profile
public int profile()- Returns:
- the value of the
profilefield.
-
frame_type
public int frame_type()- Returns:
- the value of the
frame_typefield.
-
frame_context_idx
public byte frame_context_idx()- Returns:
- the value of the
frame_context_idxfield.
-
reset_frame_context
public byte reset_frame_context()- Returns:
- the value of the
reset_frame_contextfield.
-
refresh_frame_flags
public byte refresh_frame_flags()- Returns:
- the value of the
refresh_frame_flagsfield.
-
ref_frame_sign_bias_mask
public byte ref_frame_sign_bias_mask()- Returns:
- the value of the
ref_frame_sign_bias_maskfield.
-
interpolation_filter
public int interpolation_filter()- Returns:
- the value of the
interpolation_filterfield.
-
base_q_idx
public byte base_q_idx()- Returns:
- the value of the
base_q_idxfield.
-
delta_q_y_dc
public byte delta_q_y_dc()- Returns:
- the value of the
delta_q_y_dcfield.
-
delta_q_uv_dc
public byte delta_q_uv_dc()- Returns:
- the value of the
delta_q_uv_dcfield.
-
delta_q_uv_ac
public byte delta_q_uv_ac()- Returns:
- the value of the
delta_q_uv_acfield.
-
tile_cols_log2
public byte tile_cols_log2()- Returns:
- the value of the
tile_cols_log2field.
-
tile_rows_log2
public byte 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
Passes theflagsfield to the specifiedConsumer. -
profile
Sets the specified value to theprofilefield. -
frame_type
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
Sets the specified value to theref_frame_sign_bias_maskfield. -
interpolation_filter
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
Sets the address of the specifiedStdVideoVP9ColorConfigto thepColorConfigfield. -
pLoopFilter
Sets the address of the specifiedStdVideoVP9LoopFilterto thepLoopFilterfield. -
pSegmentation
Sets the address of the specifiedStdVideoVP9Segmentationto thepSegmentationfield. -
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 newStdVideoDecodeVP9PictureInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoDecodeVP9PictureInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoDecodeVP9PictureInfoinstance allocated withBufferUtils. -
create
Returns a newStdVideoDecodeVP9PictureInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoDecodeVP9PictureInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoDecodeVP9PictureInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeVP9PictureInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoDecodeVP9PictureInfo.Bufferinstance allocated on the specifiedMemoryStackand 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
-