Searched refs:ctxt_idx (Results 1 – 4 of 4) sorted by relevance
/external/libhevc/decoder/ |
D | ihevcd_parse_residual.c | 216 WORD32 ctxt_idx; in ihevcd_parse_residual_coding() local 220 ctxt_idx = IHEVC_CAB_TFM_SKIP0; in ihevcd_parse_residual_coding() 224 ctxt_idx = IHEVC_CAB_TFM_SKIP12; in ihevcd_parse_residual_coding() 226 TRACE_CABAC_CTXT("transform_skip_flag", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_residual_coding() 229 ctxt_idx); in ihevcd_parse_residual_coding() 512 WORD32 ctxt_idx = IHEVC_CAB_CODED_SUBLK_IDX; in ihevcd_parse_residual_coding() local 515 ctxt_idx += (nbr_csbf) ? 1 : 0; in ihevcd_parse_residual_coding() 518 ctxt_idx += c_idx ? 2 : 0; in ihevcd_parse_residual_coding() 519 TRACE_CABAC_CTXT("coded_sub_block_flag", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_residual_coding() 520 IHEVCD_CABAC_DECODE_BIN(cur_csbf, ps_cabac, ps_bitstrm, ctxt_idx); in ihevcd_parse_residual_coding() [all …]
|
D | ihevcd_parse_slice.c | 135 WORD32 ctxt_idx; in ihevcd_parse_transform_tree() local 151 ctxt_idx = IHEVC_CAB_SPLIT_TFM + (5 - log2_trafo_size); in ihevcd_parse_transform_tree() 153 TRACE_CABAC_CTXT("split_transform_flag", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_transform_tree() 154 split_transform_flag = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); in ihevcd_parse_transform_tree() 191 ctxt_idx = IHEVC_CAB_CBCR_IDX + trafo_depth; in ihevcd_parse_transform_tree() 195 TRACE_CABAC_CTXT("cbf_cb", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_transform_tree() 196 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); in ihevcd_parse_transform_tree() 203 TRACE_CABAC_CTXT("cbf_cr", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_transform_tree() 204 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); in ihevcd_parse_transform_tree() 254 ctxt_idx = IHEVC_CAB_CBF_LUMA_IDX; in ihevcd_parse_transform_tree() [all …]
|
/external/libhevc/encoder/ |
D | ihevce_cabac_tu.c | 1241 WORD32 ctxt_idx; in ihevce_cabac_residue_encode() local 1258 ctxt_idx = IHEVC_CAB_CODED_SUBLK_IDX; in ihevce_cabac_residue_encode() 1261 ctxt_idx += nbr_csbf ? 1 : 0; in ihevce_cabac_residue_encode() 1262 ctxt_idx += is_luma ? 0 : 2; in ihevce_cabac_residue_encode() 1264 ret |= ihevce_cabac_encode_bin(ps_cabac, cur_csbf, ctxt_idx); in ihevce_cabac_residue_encode() 1393 ctxt_idx = sig_ctxinc + sig_coeff_base_ctxt; in ihevce_cabac_residue_encode() 1394 ret |= ihevce_cabac_encode_bin(ps_cabac, sig_coeff, ctxt_idx); in ihevce_cabac_residue_encode() 1462 ctxt_idx = (ctxt_set * 4) + abs_gt1_base_ctxt + gt1_ctxt; in ihevce_cabac_residue_encode() 1466 ret |= ihevce_cabac_encode_bin(ps_cabac, bit, ctxt_idx); in ihevce_cabac_residue_encode() 1492 ctxt_idx = IHEVC_CAB_COEFABS_GRTR2_FLAG; in ihevce_cabac_residue_encode() [all …]
|
D | ihevce_enc_loop_utils.c | 1598 WORD32 ctxt_idx = 0; in ihevce_quant_rounding_factor_gen() local 1609 ctxt_idx = (ctxt_set * 4) + abs_gt1_base_ctxt + gt1_ctxt; in ihevce_quant_rounding_factor_gen() 1611 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_quant_rounding_factor_gen() 1658 WORD32 ctxt_idx; in ihevce_quant_rounding_factor_gen() local 1677 ctxt_idx = (ctxt_set * 4) + abs_gt1_base_ctxt + gt1_ctxt; in ihevce_quant_rounding_factor_gen() 1679 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_quant_rounding_factor_gen() 1701 ctxt_idx = (ctxt_set * 4) + abs_gt1_base_ctxt + gt1_ctxt; in ihevce_quant_rounding_factor_gen() 1703 state_mps = pu1_ctxt_model[ctxt_idx]; in ihevce_quant_rounding_factor_gen() 1716 WORD32 ctxt_idx; in ihevce_quant_rounding_factor_gen() local 1720 ctxt_idx = IHEVC_CAB_CODED_SUBLK_IDX; in ihevce_quant_rounding_factor_gen() [all …]
|