Home
last modified time | relevance | path

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

/external/libhevc/encoder/
Dihevce_cabac_rdo.c460 (ps_cur_cu_entropy->s_cabac_ctxt.u4_bits_estimated_q12 + (1 << (CABAC_FRAC_BITS_Q - 1))) >> in ihevce_entropy_rdo_encode_cu()
461 CABAC_FRAC_BITS_Q; in ihevce_entropy_rdo_encode_cu()
467 (ps_cur_cu_entropy->s_cabac_ctxt.u4_cbf_bits_q12 + (1 << (CABAC_FRAC_BITS_Q - 1))) >> in ihevce_entropy_rdo_encode_cu()
468 CABAC_FRAC_BITS_Q; in ihevce_entropy_rdo_encode_cu()
525 (ps_cur_ctb_entropy->s_cabac_ctxt.u4_bits_estimated_q12 + (1 << (CABAC_FRAC_BITS_Q - 1))) >> in ihevce_cabac_rdo_encode_sao()
526 CABAC_FRAC_BITS_Q; in ihevce_cabac_rdo_encode_sao()
718 (ps_cur_tu_entropy->s_cabac_ctxt.u4_bits_estimated_q12 + (1 << (CABAC_FRAC_BITS_Q - 1))) >> in ihevce_entropy_rdo_encode_tu()
719 CABAC_FRAC_BITS_Q; in ihevce_entropy_rdo_encode_tu()
817 (ps_cur_tu_entropy->s_cabac_ctxt.u4_bits_estimated_q12 + (1 << (CABAC_FRAC_BITS_Q - 1))) >> in ihevce_entropy_rdo_encode_tu_rdoq()
818 CABAC_FRAC_BITS_Q; in ihevce_entropy_rdo_encode_tu_rdoq()
Dihevce_cabac.h57 #define CABAC_FRAC_BITS_Q 12 macro
77 #define ROUND_Q12(x) ((UWORD16)(((x) * (1 << CABAC_FRAC_BITS_Q)) + 0.5))
362 ps_cabac->u4_bits_estimated_q12 += (num_bins << CABAC_FRAC_BITS_Q); in ihevce_cabac_encode_bypass_bins()
400 ps_cabac->u4_bits_estimated_q12 += (num_bins << CABAC_FRAC_BITS_Q); in ihevce_cabac_encode_bypass_bins()
Dihevce_enc_loop_utils.h51 #define CABAC_FRAC_BITS_Q_SHIFT (1 << CABAC_FRAC_BITS_Q)
66 out = ((WORD32)(temp * (1 << QUANT_ROUND_FACTOR_Q))) >> CABAC_FRAC_BITS_Q; \
Dihevce_cabac.c397 ps_cabac->u4_bits_estimated_q12 += (1 << CABAC_FRAC_BITS_Q); in ihevce_cabac_encode_bypass_bin()
419 ps_cabac->u4_bits_estimated_q12 += (1 << CABAC_FRAC_BITS_Q); in ihevce_cabac_encode_bypass_bin()
Dihevce_cabac_tu.c2115 ps_cabac->u4_bits_estimated_q12 += (num_coded << CABAC_FRAC_BITS_Q); in ihevce_cabac_residue_encode_rdopt()
2166 ps_cabac->u4_bits_estimated_q12 += (4 << CABAC_FRAC_BITS_Q); in ihevce_cabac_residue_encode_rdopt()
2188 ps_cabac->u4_bits_estimated_q12 += (num_bins << CABAC_FRAC_BITS_Q); in ihevce_cabac_residue_encode_rdopt()
2208 ps_cabac->u4_bits_estimated_q12 += (num_bins << CABAC_FRAC_BITS_Q); in ihevce_cabac_residue_encode_rdopt()
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()
Dihevce_enc_cu_recursion.c2511 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()
Dihevce_tu_tree_selector.c1505 (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()
Dihevce_enc_loop_structs.h192 cab_bits_q12 += (MIN(merge_idx, (max_merge_cand - 2))) << CABAC_FRAC_BITS_Q; \
196 cab_bits_q12, lambda, (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); \
Dihevce_enc_loop_utils.c3586 bits = ((bits_frac + (1 << (CABAC_FRAC_BITS_Q - 1))) >> CABAC_FRAC_BITS_Q); in ihevce_intra_rdopt_cu_ntu()
4958 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_inter_rdopt_cu_ntu()
4990 (u4_cu_hdr_bits_q12 + (1 << (CABAC_FRAC_BITS_Q - 1))) >> CABAC_FRAC_BITS_Q; in ihevce_inter_rdopt_cu_ntu()
5616 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer()
5648 (u4_cu_hdr_bits_q12 + (1 << (CABAC_FRAC_BITS_Q - 1))) >> CABAC_FRAC_BITS_Q; in ihevce_inter_tu_tree_selector_and_rdopt_cost_computer()
6949 WORD32 bits_for_mode_0to3 = (2 << CABAC_FRAC_BITS_Q) + bits_frac_1; in ihevce_intra_chroma_pred_mode_selector()
6959 (LAMBDA_Q_SHIFT + CABAC_FRAC_BITS_Q)); in ihevce_intra_chroma_pred_mode_selector()