Home | History | Annotate | Download | only in encoder

Lines Matching refs:i4_frame_qp

220 WORD32 ihevce_rc_get_scaled_mpeg2_qp(WORD32 i4_frame_qp, rc_quant_t *ps_rc_quant_ctxt);
1428 WORD32 i4_frame_qp, i4_frame_qp_q6, i4_hevc_frame_qp = -1;
1495 i4_frame_qp = rc_get_bpp_based_scene_cut_qp(
1504 i4_frame_qp << QSCALE_Q_FAC_3, ps_rc_ctxt->ps_rc_quant_ctxt);
1624 WORD32 i, i4_frame_qp, i4_scd_qp;
1639 i4_frame_qp =
1643 i4_frame_qp;
1653 i4_frame_qp = ihevce_rc_get_pre_enc_pic_quant(
1657 .ai4_quant[i + FIELD_OFFSET] = i4_frame_qp;
1788 WORD32 scene_type, i4_is_scd = 0, i4_frame_qp, slice_type;
1860 i4_frame_qp = ihevce_get_cur_frame_qp(
1868 return i4_frame_qp;
1896 i4_frame_qp =
1899 i4_frame_qp++;
1901 i4_frame_qp = i4_frame_qp + ps_rc_lap_out->i4_rc_temporal_lyr_id;
1906 i4_frame_qp = ps_rc_ctxt->i4_L0_frame_qp + ai4_offsets[rc_pic_type - 4];
1908 i4_frame_qp = ps_rc_ctxt->i4_L0_frame_qp + ai4_offsets[rc_pic_type];
1914 i4_frame_qp = ps_rc_ctxt->as_pre_enc_qp_queue[ps_rc_ctxt->i4_pre_enc_qp_read_index]
1918 i4_frame_qp =
1934 i4_frame_qp = ps_rc_ctxt->ai4_init_pre_enc_qp[rc_pic_type];
1949 i4_frame_qp = CLIP3(i4_frame_qp, ps_rc_ctxt->i4_min_frame_qp, ps_rc_ctxt->i4_max_frame_qp);
1950 return i4_frame_qp;
2086 WORD32 i4_frame_qp, i4_frame_qp_q6, i4_hevc_frame_qp = -1, i4_deltaQP = 0;
2145 i4_frame_qp = ihevce_get_cur_frame_qp(
2152 return i4_frame_qp;
2883 i4_frame_qp =
2892 f_percent_error = (float)(abs(i4_init_qscale - i4_frame_qp)) / i4_init_qscale;
3036 i4_frame_qp =
3319 WORD32 i4_frame_qp = 0, i4_I_frame_qp = 0;
3353 i4_frame_qp = ps_cur_rc_lap_out->i4_L1_qp;
3358 i4_frame_qp = ps_cur_rc_lap_out->i4_L0_qp;
3378 i4_temp_frame_qp = i4_frame_qp + ai4_lambda_offsets[curr_rc_pic_type];
3383 i4_frame_qp + ai4_lambda_offsets[ps_cur_rc_lap_out->i4_rc_temporal_lyr_id + 1];
3658 * @param[in] i4_frame_qp : QP value
3662 WORD32 ihevce_rc_get_scaled_mpeg2_qp(WORD32 i4_frame_qp, rc_quant_t *ps_rc_quant_ctxt)
3664 //i4_frame_qp = i4_frame_qp >> 3; // Q3 format is mantained for accuarate calc at lower qp
3666 if(i4_frame_qp > ps_rc_quant_ctxt->i2_max_qp)
3668 i4_frame_qp = ps_rc_quant_ctxt->i2_max_qp;
3670 else if(i4_frame_qp < ps_rc_quant_ctxt->i2_min_qp)
3672 i4_frame_qp = ps_rc_quant_ctxt->i2_min_qp;
3675 i4_qscale = (ps_rc_quant_ctxt->pi4_qp_to_qscale[i4_frame_qp + ps_rc_quant_ctxt->i1_qp_offset] +
3689 * @param[in] i4_frame_qp : QP value (log scale)
3695 WORD32 ihevce_rc_get_scaled_mpeg2_qp_q6(WORD32 i4_frame_qp, UWORD8 u1_bit_depth)
3702 ASSERT(i4_frame_qp >= 0);
3703 ASSERT(i4_frame_qp <= 51 + ((u1_bit_depth - 8) * 6));
3704 f_qp = (float)pow((float)2, ((float)(i4_frame_qp - 4) / 6));
3756 * @param[in] i4_frame_qp : QP value (linear scale, Q3 mode)
3762 WORD32 ihevce_rc_get_scaled_hevce_qp_q3(WORD32 i4_frame_qp, UWORD8 u1_bit_depth)
3767 if(i4_frame_qp == 0)
3775 f_mpeg2_qp = (float)i4_frame_qp;
5248 WORD32 i4_frame_qp = 0, i4_temp_frame_qp = 0;
5284 i4_frame_qp = ps_cur_rc_lap_out_temporal_offset->i4_L1_qp;
5286 i4_frame_qp = ps_cur_rc_lap_out_temporal_offset->i4_L0_qp;
5298 i4_frame_qp + ps_cur_rc_lap_out_temporal_offset->i4_rc_temporal_lyr_id + 1;