primary_ref_frame
public byte primary_ref_frame()
- Returns:
- the value of the
primary_ref_framefield.
AutoCloseable, NativeResource, Pointer
struct StdVideoEncodeAV1PictureInfo {
StdVideoEncodeAV1PictureInfoFlags flags;
StdVideoAV1FrameType frame_type;
uint32_t frame_presentation_time;
uint32_t current_frame_id;
uint8_t order_hint;
uint8_t primary_ref_frame;
uint8_t refresh_frame_flags;
uint8_t coded_denom;
uint16_t render_width_minus_1;
uint16_t render_height_minus_1;
StdVideoAV1InterpolationFilter interpolation_filter;
StdVideoAV1TxMode TxMode;
uint8_t delta_q_res;
uint8_t delta_lf_res;
uint8_t ref_order_hint[STD_VIDEO_AV1_NUM_REF_FRAMES];
int8_t ref_frame_idx[STD_VIDEO_AV1_REFS_PER_FRAME];
uint8_t reserved1[3];
uint32_t delta_frame_id_minus_1[STD_VIDEO_AV1_REFS_PER_FRAME];
StdVideoAV1TileInfo const * pTileInfo;
StdVideoAV1Quantization const * pQuantization;
StdVideoAV1Segmentation const * pSegmentation;
StdVideoAV1LoopFilter const * pLoopFilter;
StdVideoAV1CDEF const * pCDEF;
StdVideoAV1LoopRestoration const * pLoopRestoration;
StdVideoAV1GlobalMotion const * pGlobalMotion;
StdVideoEncodeAV1ExtensionHeader const * pExtensionHeader;
uint32_t const * pBufferRemovalTimes;
}Struct.StructValidationPointer.Defaultstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intBITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEStdVideoEncodeAV1PictureInfo(ByteBuffer container) StdVideoEncodeAV1PictureInfo instance at the current position of the specified ByteBuffer container.static StdVideoEncodeAV1PictureInfocalloc()StdVideoEncodeAV1PictureInfo instance allocated with memCalloc.calloc(int capacity) StdVideoEncodeAV1PictureInfo.Buffer instance allocated with memCalloc.calloc(int capacity,
MemoryStack stack) StdVideoEncodeAV1PictureInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.static StdVideoEncodeAV1PictureInfocalloc(MemoryStack stack) StdVideoEncodeAV1PictureInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.bytecoded_denom(byte value) coded_denom field.static StdVideoEncodeAV1PictureInfocreate()StdVideoEncodeAV1PictureInfo instance allocated with BufferUtils.create(int capacity) StdVideoEncodeAV1PictureInfo.Buffer instance allocated with BufferUtils.static StdVideoEncodeAV1PictureInfocreate(long address) StdVideoEncodeAV1PictureInfo instance for the specified memory address.create(long address,
int capacity) StdVideoEncodeAV1PictureInfo.Buffer instance at the specified memory.static @Nullable StdVideoEncodeAV1PictureInfocreateSafe(long address) static @Nullable StdVideoEncodeAV1PictureInfo.BuffercreateSafe(long address,
int capacity) intcurrent_frame_id(int value) current_frame_id field.intdelta_frame_id_minus_1(int index) delta_frame_id_minus_1(int index,
int value) delta_frame_id_minus_1 field.delta_frame_id_minus_1(IntBuffer value) IntBuffer to the delta_frame_id_minus_1 field.bytedelta_lf_res(byte value) delta_lf_res field.bytedelta_q_res(byte value) delta_q_res field.flags()flags(Consumer<StdVideoEncodeAV1PictureInfoFlags> consumer) flags field to the specified Consumer.StdVideoEncodeAV1PictureInfoFlags to the flags field.intframe_presentation_time(int value) frame_presentation_time field.intframe_type(int value) frame_type field.intinterpolation_filter(int value) interpolation_filter field.static StdVideoEncodeAV1PictureInfomalloc()StdVideoEncodeAV1PictureInfo instance allocated with memAlloc.malloc(int capacity) StdVideoEncodeAV1PictureInfo.Buffer instance allocated with memAlloc.malloc(int capacity,
MemoryStack stack) StdVideoEncodeAV1PictureInfo.Buffer instance allocated on the specified MemoryStack.static StdVideoEncodeAV1PictureInfomalloc(MemoryStack stack) StdVideoEncodeAV1PictureInfo instance allocated on the specified MemoryStack.static bytencoded_denom(long struct) coded_denom().static voidncoded_denom(long struct,
byte value) coded_denom.static intncurrent_frame_id(long struct) current_frame_id().static voidncurrent_frame_id(long struct,
int value) current_frame_id.static IntBufferndelta_frame_id_minus_1(long struct) delta_frame_id_minus_1().static intndelta_frame_id_minus_1(long struct,
int index) delta_frame_id_minus_1.static voidndelta_frame_id_minus_1(long struct,
int index,
int value) delta_frame_id_minus_1.static voidndelta_frame_id_minus_1(long struct,
IntBuffer value) delta_frame_id_minus_1.static bytendelta_lf_res(long struct) delta_lf_res().static voidndelta_lf_res(long struct,
byte value) delta_lf_res.static bytendelta_q_res(long struct) delta_q_res().static voidndelta_q_res(long struct,
byte value) delta_q_res.nflags(long struct) flags().static voidnflags(long struct,
StdVideoEncodeAV1PictureInfoFlags value) flags.static intnframe_presentation_time(long struct) frame_presentation_time().static voidnframe_presentation_time(long struct,
int value) frame_presentation_time.static intnframe_type(long struct) frame_type().static voidnframe_type(long struct,
int value) frame_type.static intninterpolation_filter(long struct) interpolation_filter().static voidninterpolation_filter(long struct,
int value) interpolation_filter.static bytenorder_hint(long struct) order_hint().static voidnorder_hint(long struct,
byte value) order_hint.static IntBuffernpBufferRemovalTimes(long struct,
int capacity) pBufferRemovalTimes.static voidnpBufferRemovalTimes(long struct,
IntBuffer value) pBufferRemovalTimes.static StdVideoAV1CDEFnpCDEF(long struct) pCDEF().static voidnpCDEF(long struct,
StdVideoAV1CDEF value) pCDEF.npExtensionHeader(long struct) pExtensionHeader().static voidnpExtensionHeader(long struct,
StdVideoEncodeAV1ExtensionHeader value) pExtensionHeader.static StdVideoAV1GlobalMotionnpGlobalMotion(long struct) pGlobalMotion().static voidnpGlobalMotion(long struct,
StdVideoAV1GlobalMotion value) pGlobalMotion.static StdVideoAV1LoopFilternpLoopFilter(long struct) pLoopFilter().static voidnpLoopFilter(long struct,
StdVideoAV1LoopFilter value) pLoopFilter.static StdVideoAV1LoopRestorationnpLoopRestoration(long struct) pLoopRestoration().static voidnpLoopRestoration(long struct,
StdVideoAV1LoopRestoration value) pLoopRestoration.static StdVideoAV1QuantizationnpQuantization(long struct) pQuantization().static voidnpQuantization(long struct,
StdVideoAV1Quantization value) pQuantization.static bytenprimary_ref_frame(long struct) primary_ref_frame().static voidnprimary_ref_frame(long struct,
byte value) primary_ref_frame.static StdVideoAV1SegmentationnpSegmentation(long struct) pSegmentation().static voidnpSegmentation(long struct,
StdVideoAV1Segmentation value) pSegmentation.static StdVideoAV1TileInfonpTileInfo(long struct) pTileInfo().static voidnpTileInfo(long struct,
StdVideoAV1TileInfo value) pTileInfo.static ByteBuffernref_frame_idx(long struct) ref_frame_idx().static bytenref_frame_idx(long struct,
int index) ref_frame_idx.static voidnref_frame_idx(long struct,
int index,
byte value) ref_frame_idx.static voidnref_frame_idx(long struct,
ByteBuffer value) ref_frame_idx.static ByteBuffernref_order_hint(long struct) ref_order_hint().static bytenref_order_hint(long struct,
int index) ref_order_hint.static voidnref_order_hint(long struct,
int index,
byte value) ref_order_hint.static voidnref_order_hint(long struct,
ByteBuffer value) ref_order_hint.static bytenrefresh_frame_flags(long struct) refresh_frame_flags().static voidnrefresh_frame_flags(long struct,
byte value) refresh_frame_flags.static shortnrender_height_minus_1(long struct) render_height_minus_1().static voidnrender_height_minus_1(long struct,
short value) render_height_minus_1.static shortnrender_width_minus_1(long struct) render_width_minus_1().static voidnrender_width_minus_1(long struct,
short value) render_width_minus_1.static ByteBuffernreserved1(long struct) static bytenreserved1(long struct,
int index) static voidnreserved1(long struct,
int index,
byte value) static voidnreserved1(long struct,
ByteBuffer value) static intnTxMode(long struct) TxMode().static voidnTxMode(long struct,
int value) TxMode.byteorder_hint(byte value) order_hint field.pBufferRemovalTimes(int capacity) pBufferRemovalTimes(IntBuffer value) IntBuffer to the pBufferRemovalTimes field.pCDEF()pCDEF(StdVideoAV1CDEF value) StdVideoAV1CDEF to the pCDEF field.StdVideoEncodeAV1ExtensionHeader to the pExtensionHeader field.StdVideoAV1GlobalMotion to the pGlobalMotion field.pLoopFilter(StdVideoAV1LoopFilter value) StdVideoAV1LoopFilter to the pLoopFilter field.StdVideoAV1LoopRestoration to the pLoopRestoration field.StdVideoAV1Quantization to the pQuantization field.byteprimary_ref_frame(byte value) primary_ref_frame field.StdVideoAV1Segmentation to the pSegmentation field.pTileInfo(StdVideoAV1TileInfo value) StdVideoAV1TileInfo to the pTileInfo field.byteref_frame_idx(int index) ref_frame_idx(int index,
byte value) ref_frame_idx field.ref_frame_idx(ByteBuffer value) ByteBuffer to the ref_frame_idx field.byteref_order_hint(int index) ref_order_hint(int index,
byte value) ref_order_hint field.ref_order_hint(ByteBuffer value) ByteBuffer to the ref_order_hint field.byterefresh_frame_flags(byte value) refresh_frame_flags field.shortrender_height_minus_1(short value) render_height_minus_1 field.shortrender_width_minus_1(short value) render_width_minus_1 field.set(StdVideoEncodeAV1PictureInfoFlags flags,
int frame_type,
int frame_presentation_time,
int current_frame_id,
byte order_hint,
byte primary_ref_frame,
byte refresh_frame_flags,
byte coded_denom,
short render_width_minus_1,
short render_height_minus_1,
int interpolation_filter,
int TxMode,
byte delta_q_res,
byte delta_lf_res,
ByteBuffer ref_order_hint,
ByteBuffer ref_frame_idx,
IntBuffer delta_frame_id_minus_1,
StdVideoAV1TileInfo pTileInfo,
StdVideoAV1Quantization pQuantization,
StdVideoAV1Segmentation pSegmentation,
StdVideoAV1LoopFilter pLoopFilter,
StdVideoAV1CDEF pCDEF,
StdVideoAV1LoopRestoration pLoopRestoration,
StdVideoAV1GlobalMotion pGlobalMotion,
StdVideoEncodeAV1ExtensionHeader pExtensionHeader,
IntBuffer pBufferRemovalTimes) intsizeof()sizeof(struct).intTxMode()TxMode(int value) TxMode field.static voidvalidate(long struct) NULL.address, equals, hashCode, toStringclose, freeStdVideoEncodeAV1PictureInfo instance at the current position of the specified ByteBuffer 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.
Structsizeof(struct).sizeof in class Struct<StdVideoEncodeAV1PictureInfo>StdVideoEncodeAV1PictureInfoFlags view of the flags field.frame_type field.frame_presentation_time field.current_frame_id field.order_hint field.primary_ref_frame field.refresh_frame_flags field.coded_denom field.render_width_minus_1 field.render_height_minus_1 field.interpolation_filter field.TxMode field.delta_q_res field.delta_lf_res field.ByteBuffer view of the ref_order_hint field.ref_order_hint field.ByteBuffer view of the ref_frame_idx field.ref_frame_idx field.IntBuffer view of the delta_frame_id_minus_1 field.delta_frame_id_minus_1 field.StdVideoAV1TileInfo view of the struct pointed to by the pTileInfo field.StdVideoAV1Quantization view of the struct pointed to by the pQuantization field.StdVideoAV1Segmentation view of the struct pointed to by the pSegmentation field.StdVideoAV1LoopFilter view of the struct pointed to by the pLoopFilter field.StdVideoAV1CDEF view of the struct pointed to by the pCDEF field.StdVideoAV1LoopRestoration view of the struct pointed to by the pLoopRestoration field.StdVideoAV1GlobalMotion view of the struct pointed to by the pGlobalMotion field.StdVideoEncodeAV1ExtensionHeader view of the struct pointed to by the pExtensionHeader field.IntBuffer view of the data pointed to by the pBufferRemovalTimes field.StdVideoEncodeAV1PictureInfoFlags to the flags field.flags field to the specified Consumer.frame_type field.frame_presentation_time field.current_frame_id field.order_hint field.primary_ref_frame field.refresh_frame_flags field.coded_denom field.render_width_minus_1 field.render_height_minus_1 field.interpolation_filter field.TxMode field.delta_q_res field.delta_lf_res field.ByteBuffer to the ref_order_hint field.ref_order_hint field.ByteBuffer to the ref_frame_idx field.ref_frame_idx field.IntBuffer to the delta_frame_id_minus_1 field.delta_frame_id_minus_1 field.StdVideoAV1TileInfo to the pTileInfo field.StdVideoAV1Quantization to the pQuantization field.StdVideoAV1Segmentation to the pSegmentation field.StdVideoAV1LoopFilter to the pLoopFilter field.StdVideoAV1CDEF to the pCDEF field.StdVideoAV1LoopRestoration to the pLoopRestoration field.StdVideoAV1GlobalMotion to the pGlobalMotion field.StdVideoEncodeAV1ExtensionHeader to the pExtensionHeader field.IntBuffer to the pBufferRemovalTimes field.src - the source structStdVideoEncodeAV1PictureInfo instance allocated with memAlloc. The instance must be explicitly freed.StdVideoEncodeAV1PictureInfo instance allocated with memCalloc. The instance must be explicitly freed.StdVideoEncodeAV1PictureInfo instance allocated with BufferUtils.StdVideoEncodeAV1PictureInfo instance for the specified memory address.StdVideoEncodeAV1PictureInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacityStdVideoEncodeAV1PictureInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacityStdVideoEncodeAV1PictureInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacityStdVideoEncodeAV1PictureInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacityStdVideoEncodeAV1PictureInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocateStdVideoEncodeAV1PictureInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocateStdVideoEncodeAV1PictureInfo.Buffer instance allocated on the specified MemoryStack.capacity - the buffer capacitystack - the stack from which to allocateStdVideoEncodeAV1PictureInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.capacity - the buffer capacitystack - the stack from which to allocateflags().frame_type().frame_presentation_time().current_frame_id().order_hint().primary_ref_frame().refresh_frame_flags().coded_denom().render_width_minus_1().render_height_minus_1().interpolation_filter().TxMode().delta_q_res().delta_lf_res().ref_order_hint().ref_order_hint.ref_frame_idx().ref_frame_idx.delta_frame_id_minus_1().delta_frame_id_minus_1.pTileInfo().pQuantization().pSegmentation().pLoopFilter().pCDEF().pLoopRestoration().pGlobalMotion().pExtensionHeader().pBufferRemovalTimes.flags.frame_type.frame_presentation_time.current_frame_id.order_hint.primary_ref_frame.refresh_frame_flags.coded_denom.render_width_minus_1.render_height_minus_1.interpolation_filter.TxMode.delta_q_res.delta_lf_res.ref_order_hint.ref_order_hint.ref_frame_idx.ref_frame_idx.delta_frame_id_minus_1.delta_frame_id_minus_1.pTileInfo.pQuantization.pSegmentation.pLoopFilter.pCDEF.pLoopRestoration.pGlobalMotion.pExtensionHeader.pBufferRemovalTimes.NULL.struct - the struct to validate