Searched refs:ph (Results 1 – 7 of 7) sorted by relevance
139 Avs2dPicHeader_t *ph = &p_dec->ph; in wq_init_frame_quant_param() local141 if (!p_dec->enable_wq || ph->pic_wq_data_index != 1) { in wq_init_frame_quant_param()146 if (ph->wq_param_index == 0) { in wq_init_frame_quant_param()148 ph->pic_wq_param[i] = wq_param_default[DETAILED][i]; in wq_init_frame_quant_param()150 } else if (ph->wq_param_index == 1) { in wq_init_frame_quant_param()152 ph->pic_wq_param[i] = ph->wq_param_delta1[i] + wq_param_default[UNDETAILED][i]; in wq_init_frame_quant_param()154 } else if (ph->wq_param_index == 2) { in wq_init_frame_quant_param()156 ph->pic_wq_param[i] = ph->wq_param_delta2[i] + wq_param_default[DETAILED][i]; in wq_init_frame_quant_param()163 k = WeightQuantModel[ph->wq_model][j * 8 + i]; in wq_init_frame_quant_param()164 ph->pic_wq_matrix[1][j * 8 + i] = ph->pic_wq_param[k]; in wq_init_frame_quant_param()[all …]
177 static void recompute_cycle_order_index(Avs2dFrameMgr_t *mgr, Avs2dPicHeader_t *ph) in recompute_cycle_order_index() argument183 if (ph->doi < (INT_MAX - 2 * AVS2_DOI_CYCLE)) { in recompute_cycle_order_index()197 ph->doi -= wrap_oi; in recompute_cycle_order_index()206 Avs2dPicHeader_t *ph = &p_dec->ph; in compute_frame_order_index() local213 ph->doi != (mgr->prev_doi + 1) % AVS2_DOI_CYCLE) { in compute_frame_order_index()214 …VS2D_DBG(AVS2D_DBG_WARNNING, "discontinuous DOI (prev: %d --> curr: %d).", mgr->prev_doi, ph->doi); in compute_frame_order_index()221 if (MPP_ABS(ph->doi - (p->doi % AVS2_DOI_CYCLE)) > 1) { in compute_frame_order_index()229 if (ph->doi < mgr->prev_doi) { in compute_frame_order_index()233 mgr->prev_doi = ph->doi; in compute_frame_order_index()234 ph->doi += mgr->tr_wrap_cnt * AVS2_DOI_CYCLE; in compute_frame_order_index()[all …]
364 Avs2dPicHeader_t *ph = &p_dec->ph; in avs2d_fill_parameters() local393 pp->picture_type = ph->picture_type; in avs2d_fill_parameters()394 pp->scene_reference_enable_flag = ph->background_reference_flag; in avs2d_fill_parameters()395 pp->bottom_field_picture_flag = (vsh->field_coded_sequence) && (!ph->is_top_field); in avs2d_fill_parameters()397 pp->fixed_picture_qp = ph->fixed_picture_qp; in avs2d_fill_parameters()398 pp->picture_qp = ph->picture_qp; in avs2d_fill_parameters()399 pp->loop_filter_disable_flag = !ph->enable_loop_filter; in avs2d_fill_parameters()400 pp->alpha_c_offset = ph->alpha_c_offset; in avs2d_fill_parameters()401 pp->beta_offset = ph->beta_offset; in avs2d_fill_parameters()404 pp->cur_poc = ph->poi; in avs2d_fill_parameters()[all …]
391 Avs2dPicHeader_t ph; member
73 static MPP_RET gen_weight_quant_param(AvsdPicHeader_t *ph) in gen_weight_quant_param() argument76 RK_U32 *wqp = (RK_U32 *)ph->weighting_quant_param; in gen_weight_quant_param()82 if (ph->weighting_quant_flag == 0) { in gen_weight_quant_param()90 if (ph->weighting_quant_param_index == 0x0) { in gen_weight_quant_param()94 } else if (ph->weighting_quant_param_index == 0x1) { in gen_weight_quant_param()97 ph->weighting_quant_param_delta1[i]; in gen_weight_quant_param()99 } else if (ph->weighting_quant_param_index == 0x2) { in gen_weight_quant_param()102 ph->weighting_quant_param_delta2[i]; in gen_weight_quant_param()115 static MPP_RET get_extend_header(BitReadCtx_t *bitctx, AvsdSeqHeader_t *vsh, AvsdPicHeader_t *ph) in get_extend_header() argument120 READ_ONEBIT(bitctx, &ph->loop_filter_disable); in get_extend_header()[all …]
226 AvsdPicHeader_t ph; member
350 if (!ctx->hard_err && p_dec->ph.picture_coding_type == I_PICTURE) in avsd_callback()