_RocdecVp9PicParams Struct Reference#
_RocdecVp9PicParams Struct Reference
Data Fields | |
uint16_t | frame_width |
picture width Picture original resolution. The value may not be multiple of 8. | |
uint16_t | frame_height |
picture height Picture original resolution. The value may not be multiple of 8. | |
uint32_t | reference_frames [8] |
Surface indices of reference frames in DPB. More... | |
union { | |
struct { | |
uint32_t subsampling_x: 1 | |
flags for current picture same syntax and semantic as those in VP9 code | |
uint32_t subsampling_y: 1 | |
uint32_t frame_type: 1 | |
uint32_t show_frame: 1 | |
uint32_t error_resilient_mode: 1 | |
uint32_t intra_only: 1 | |
uint32_t allow_high_precision_mv: 1 | |
uint32_t mcomp_filter_type: 3 | |
uint32_t frame_parallel_decoding_mode: 1 | |
uint32_t reset_frame_context: 2 | |
uint32_t refresh_frame_context: 1 | |
uint32_t frame_context_idx: 2 | |
uint32_t segmentation_enabled: 1 | |
uint32_t segmentation_temporal_update: 1 | |
corresponds to variable temporal_update in VP9 code. | |
uint32_t segmentation_update_map: 1 | |
corresponds to variable update_mb_segmentation_map in VP9 code. | |
uint32_t last_ref_frame: 3 | |
Index of reference_frames[] and points to the LAST reference frame. It corresponds to active_ref_idx[0] in VP9 code. | |
uint32_t last_ref_frame_sign_bias: 1 | |
Sign Bias of the LAST reference frame. It corresponds to ref_frame_sign_bias[LAST_FRAME] in VP9 code. | |
uint32_t golden_ref_frame: 3 | |
Index of reference_frames[] and points to the GOLDERN reference frame. It corresponds to active_ref_idx[1] in VP9 code. | |
uint32_t golden_ref_frame_sign_bias: 1 | |
Sign Bias of the GOLDERN reference frame. Corresponds to ref_frame_sign_bias[GOLDERN_FRAME] in VP9 code. | |
uint32_t alt_ref_frame: 3 | |
Index of reference_frames[] and points to the ALTERNATE reference frame. Corresponds to active_ref_idx[2] in VP9 code. | |
uint32_t alt_ref_frame_sign_bias: 1 | |
Sign Bias of the ALTERNATE reference frame. Corresponds to ref_frame_sign_bias[ALTREF_FRAME] in VP9 code. | |
uint32_t lossless_flag: 1 | |
Lossless Mode LosslessFlag = base_qindex == 0 && y_dc_delta_q == 0 && uv_dc_delta_q == 0 && uv_ac_delta_q == 0; Where base_qindex, y_dc_delta_q, uv_dc_delta_q and uv_ac_delta_q are all variables in VP9 code. | |
} bits | |
uint32_t value | |
} | pic_fields |
uint8_t | filter_level |
uint8_t | sharpness_level |
uint8_t | log2_tile_rows |
number of tile rows specified by (1 << log2_tile_rows). It corresponds the variable with same name in VP9 code. | |
uint8_t | log2_tile_columns |
number of tile columns specified by (1 << log2_tile_columns). It corresponds the variable with same name in VP9 code. | |
uint8_t | frame_header_length_in_bytes |
Number of bytes taken up by the uncompressed frame header, which corresponds to byte length of function read_uncompressed_header() in VP9 code. Specifically, it is the byte count from bit stream buffer start to the last byte of uncompressed frame header. If there are other meta data in the buffer before uncompressed header, its size should be also included here. | |
uint16_t | first_partition_size |
The byte count of compressed header the bitstream buffer, which corresponds to syntax first_partition_size in code. | |
uint8_t | mb_segment_tree_probs [7] |
uint8_t | segment_pred_probs [3] |
uint8_t | profile |
VP9 Profile definition value range [0..3]. | |
uint8_t | bit_depth |
VP9 bit depth per sample same for both luma and chroma samples. | |
uint32_t | va_reserved [8] |
Reserved bytes for future use, must be zero. | |
Field Documentation
◆ mb_segment_tree_probs
uint8_t _RocdecVp9PicParams::mb_segment_tree_probs[7] |
These values are segment probabilities with same names in VP9 function setup_segmentation(). They should be parsed directly from bitstream by application.
◆ reference_frames
uint32_t _RocdecVp9PicParams::reference_frames[8] |
Surface indices of reference frames in DPB.
Each entry of the list specifies the surface index of the picture that is referred by current picture or will be referred by any future picture. Application who calls this API should update this list based on the refreshing information from VP9 bitstream.
The documentation for this struct was generated from the following file:
- develop/api/rocdecode.h