Home
last modified time | relevance | path

Searched refs:cu_qp (Results 1 – 1 of 1) sorted by relevance

/external/libhevc/encoder/
Dihevce_enc_loop_utils.c743 WORD32 cu_qp = i4_input_QP + ps_ctxt->ps_rc_quant_ctxt->i1_qp_offset; in ihevce_compute_cu_level_QP() local
770 cu_qp = (ps_ctxt->ps_rc_quant_ctxt in ihevce_compute_cu_level_QP()
776 cu_qp = ((cu_qp * i4_activity_for_qp) + (1 << (QP_LEVEL_MOD_ACT_FACTOR - 1))) >> in ihevce_compute_cu_level_QP()
781 if(cu_qp > ps_ctxt->ps_rc_quant_ctxt->i2_max_qscale) in ihevce_compute_cu_level_QP()
782 cu_qp = ps_ctxt->ps_rc_quant_ctxt->i2_max_qscale; in ihevce_compute_cu_level_QP()
783 else if(cu_qp < ps_ctxt->ps_rc_quant_ctxt->i2_min_qscale) in ihevce_compute_cu_level_QP()
784 cu_qp = ps_ctxt->ps_rc_quant_ctxt->i2_min_qscale; in ihevce_compute_cu_level_QP()
786 cu_qp = ps_ctxt->ps_rc_quant_ctxt->pi4_qscale_to_qp[cu_qp]; in ihevce_compute_cu_level_QP()
788 if((1 == i4_reduce_qp) && (cu_qp > 1)) in ihevce_compute_cu_level_QP()
789 cu_qp--; in ihevce_compute_cu_level_QP()
[all …]