/external/libhevc/encoder/ |
D | ihevce_ipe_pass.c | 1293 (WORD32)((sqrt(lambda)) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() 1296 (WORD32)((sqrt(lambda)) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() 1301 (WORD32)((sqrt(lambda) / 2) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() 1304 (WORD32)((sqrt(lambda * 1.9) / 2) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() 1327 (WORD32)((sqrt(lambda)) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() 1330 (WORD32)((sqrt(lambda)) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() 1335 (WORD32)((sqrt(lambda) / 2) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() 1338 (WORD32)((sqrt(lambda * 1.9) / 2) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() 1361 (WORD32)((sqrt(lambda)) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() 1364 (WORD32)((sqrt(lambda)) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_ipe_ol_cu_lambda_prms() [all …]
|
D | ihevce_frame_process.c | 2151 (LWORD64)(lambda * (1 << LAMBDA_Q_SHIFT)); in ihevce_get_frame_lambda_prms() 2154 (LWORD64)(lambda_uv * (1 << LAMBDA_Q_SHIFT)); in ihevce_get_frame_lambda_prms() 2157 (WORD32)(sqrt(lambda) * (1 << LAMBDA_Q_SHIFT)); in ihevce_get_frame_lambda_prms() 2161 (WORD32)((sqrt(lambda)) * (1 << LAMBDA_Q_SHIFT)); in ihevce_get_frame_lambda_prms() 2164 (WORD32)(sqrt(lambda) * (1 << LAMBDA_Q_SHIFT)); in ihevce_get_frame_lambda_prms() 2167 (WORD32)((sqrt(lambda)) * (1 << (LAMBDA_Q_SHIFT))); in ihevce_get_frame_lambda_prms() 2172 (WORD32)((sqrt(lambda) / 1.5) * (1 << LAMBDA_Q_SHIFT)); in ihevce_get_frame_lambda_prms() 2175 (WORD32)(sqrt(lambda * 1.5) * (1 << LAMBDA_Q_SHIFT)); in ihevce_get_frame_lambda_prms() 2178 (WORD32)((sqrt(lambda * 1.5)) * (1 << (LAMBDA_Q_SHIFT))); in ihevce_get_frame_lambda_prms() 2213 (LWORD64)(lambda * (1 << LAMBDA_Q_SHIFT)); in ihevce_get_frame_lambda_prms() [all …]
|
D | ihevce_enc_loop_utils.c | 479 (LWORD64)(lambda * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() 482 (LWORD64)(lambda_uv * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() 486 (WORD32)(sqrt(lambda) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() 491 (WORD32)(sqrt(lambda * 1.9) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() 495 (WORD32)(sqrt(lambda) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() 523 (LWORD64)(lambda * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() 526 (LWORD64)(lambda_uv * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() 530 (WORD32)(sqrt(lambda) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() 535 (WORD32)(sqrt(lambda * 1.9) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() 538 (WORD32)(sqrt(lambda) * (1 << LAMBDA_Q_SHIFT)); in ihevce_populate_cl_cu_lambda_prms() [all …]
|
D | ihevce_decomp_pre_intra_structs.h | 71 #define LAMBDA_Q_SHIFT 8 macro
|
D | ihevce_enc_cu_recursion.c | 179 (((float)(ps_ctxt->i4_sad_lamda) / (1 << LAMBDA_Q_SHIFT)) * in ihevce_store_cu_final() 2511 split_cu0_bits_q12, i8_lambda_qf, (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_cu_recurse_decide() 2527 split_cu0_bits_q12, i8_lambda_qf, (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_cu_recurse_decide() 2728 split_cu0_bits_q12, i8_lambda_qf, (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_cu_recurse_decide() 2740 split_cu1_bits_q12, i8_lambda_qf, (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_cu_recurse_decide() 2747 split_cu0_bits_q12, i8_lambda_qf, (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_cu_recurse_decide() 2759 split_cu1_bits_q12, i8_lambda_qf, (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_cu_recurse_decide() 2763 (num_children_encoded * ps_ctxt->i4_sad_lamda + ((1 << (LAMBDA_Q_SHIFT)))) >> in ihevce_cu_recurse_decide() 2764 (LAMBDA_Q_SHIFT + 1); in ihevce_cu_recurse_decide()
|
D | ihevce_tu_tree_selector.c | 911 ps_node->s_luma_data.i4_bits, ps_ctxt->i8_cl_ssd_lambda_qf, LAMBDA_Q_SHIFT); in ihevce_tu_processor() 1001 LAMBDA_Q_SHIFT); in ihevce_tu_processor() 1084 LAMBDA_Q_SHIFT); in ihevce_tu_processor() 1505 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_tu_tree_selector() 1612 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_tu_tree_selector() 1694 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_tu_tree_selector() 1847 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_topDown_tu_tree_selector() 1902 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_topDown_tu_tree_selector() 2134 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_topDown_tu_tree_selector()
|
D | ihevce_stasino_helpers.c | 642 psy_rd_cost = psy_rd_cost >> (Q_PSY_STRENGTH_CHROMA + LAMBDA_Q_SHIFT); in ihevce_psy_rd_cost_croma() 800 psy_rd_cost = psy_rd_cost >> (Q_PSY_STRENGTH + LAMBDA_Q_SHIFT); in ihevce_psy_rd_cost()
|
D | ihevce_decomp_pre_intra_pass.c | 158 UWORD16 five_bits_cost = COMPUTE_RATE_COST_CLIP30(11, lambda, (LAMBDA_Q_SHIFT + 1)); in ihevce_intra_populate_mode_bits_cost() 581 (COMPUTE_RATE_COST_CLIP30(12, lambda, (LAMBDA_Q_SHIFT + 1))); in ihevce_ed_calc_8x8_blk() 632 (COMPUTE_RATE_COST_CLIP30(12, lambda, (LAMBDA_Q_SHIFT + 1))); in ihevce_ed_calc_8x8_blk() 1851 WORD32 temp = 1 << LAMBDA_Q_SHIFT; in ihevce_decomp_pre_intra_frame_init() 1861 WORD32 temp = 1 << LAMBDA_Q_SHIFT; in ihevce_decomp_pre_intra_frame_init()
|
D | ihevce_recur_bracketing.c | 212 COMPUTE_RATE_COST_CLIP30(4, lambda, (LAMBDA_Q_SHIFT + 1)); //1.5 * lambda in ihevce_intra_populate_mode_bits_cost_bracketing() 214 COMPUTE_RATE_COST_CLIP30(6, lambda, (LAMBDA_Q_SHIFT + 1)); //2.5 * lambda in ihevce_intra_populate_mode_bits_cost_bracketing() 216 COMPUTE_RATE_COST_CLIP30(12, lambda, (LAMBDA_Q_SHIFT + 1)); //5.5 * lambda in ihevce_intra_populate_mode_bits_cost_bracketing() 1373 LAMBDA_Q_SHIFT))) //|| identical_modes) in ihevce_bracketing_analysis() 1936 LAMBDA_Q_SHIFT)) //|| identical_modes) in ihevce_bracketing_analysis() 2354 (ps_ctxt->i4_ol_satd_lambda * CHILD_BIAS >> LAMBDA_Q_SHIFT)) in ihevce_bracketing_analysis()
|
D | ihevce_defs.h | 256 #define LAMBDA_Q_SHIFT 8 macro
|
D | ihevce_sao.c | 791 COMPUTE_RATE_COST_CLIP30(ctb_bits, i8_cl_ssd_lambda_qf, LAMBDA_Q_SHIFT); in ihevce_sao_analyse() 1174 COMPUTE_RATE_COST_CLIP30(ctb_bits, i8_cl_ssd_lambda_qf, LAMBDA_Q_SHIFT); in ihevce_sao_analyse()
|
D | ihevce_coarse_me_pass.c | 1002 ps_master_ctxt->s_frm_prms.lambda_q_shift = LAMBDA_Q_SHIFT; in ihevce_coarse_me_frame_init()
|
D | ihevce_cabac_tu.c | 3034 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_cabac_residue_encode_rdoq() 3041 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_cabac_residue_encode_rdoq()
|
D | ihevce_me_pass.c | 1355 ps_master_ctxt->as_frm_prms[i4_me_frm_id].lambda_q_shift = LAMBDA_Q_SHIFT; in ihevce_me_frame_init()
|
D | ihevce_enc_loop_structs.h | 196 cab_bits_q12, lambda, (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); \
|
D | hme_utils.c | 3657 return ((WORD32)(sqrt(lambda) * (1 << LAMBDA_Q_SHIFT))); in hme_recompute_lambda_from_min_8x8_act_in_ctb()
|
D | ihevce_enc_loop_pass.c | 834 LAMBDA_Q_SHIFT, in ihevce_cu_mode_decide()
|