/external/libhevc/decoder/ |
D | ihevcd_cabac.c | 150 ps_cabac->u4_range = (UWORD32)510 << RANGE_SHIFT; in ihevcd_cabac_init() 155 ps_cabac->u4_range = (UWORD32)510; in ihevcd_cabac_init() 165 DEBUG_RANGE_OFST("init", ps_cabac->u4_range, ps_cabac->u4_ofst); in ihevcd_cabac_init() 170 if(ps_cabac->u4_ofst >= ps_cabac->u4_range) in ihevcd_cabac_init() 190 ps_cabac->u4_range = (UWORD32)510 << RANGE_SHIFT; in ihevcd_cabac_reset() 195 ps_cabac->u4_range = (UWORD32)510; in ihevcd_cabac_reset() 235 UWORD32 u4_range = ps_cabac->u4_range; in ihevcd_cabac_decode_bin() local 247 ASSERT(u4_range >= 256); in ihevcd_cabac_decode_bin() 251 clz = CLZ(u4_range); in ihevcd_cabac_decode_bin() 253 u4_qnt_range = u4_range << clz; in ihevcd_cabac_decode_bin() [all …]
|
D | ihevcd_cabac.h | 61 UWORD32 u4_range = ps_cabac->u4_range; \ 71 ASSERT(u4_range >= 256); \ 74 clz = CLZ(u4_range); \ 76 u4_qnt_range = u4_range << clz; \ 81 u4_range -= u4_rlps; \ 85 if(u4_ofst >= u4_range) \ 88 u4_ofst -= u4_range; \ 89 u4_range = u4_rlps; \ 97 if(u4_range < (1 << 8)) \ 101 numbits = CLZ(u4_range); \ [all …]
|
D | ihevcd_parse_residual.c | 226 TRACE_CABAC_CTXT("transform_skip_flag", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_residual_coding() 230 AEV_TRACE("transform_skip_flag", value, ps_cabac->u4_range); in ihevcd_parse_residual_coding() 254 TRACE_CABAC_CTXT("last_coeff_x_prefix", ps_cabac->u4_range, ctxt_idx_x); in ihevcd_parse_residual_coding() 262 AEV_TRACE("last_coeff_x_prefix", last_significant_coeff_x_prefix, ps_cabac->u4_range); in ihevcd_parse_residual_coding() 264 TRACE_CABAC_CTXT("last_coeff_y_prefix", ps_cabac->u4_range, ctxt_idx_y); in ihevcd_parse_residual_coding() 272 AEV_TRACE("last_coeff_y_prefix", last_significant_coeff_y_prefix, ps_cabac->u4_range); in ihevcd_parse_residual_coding() 284 AEV_TRACE("last_coeff_x_suffix", value, ps_cabac->u4_range); in ihevcd_parse_residual_coding() 301 AEV_TRACE("last_coeff_y_suffix", value, ps_cabac->u4_range); in ihevcd_parse_residual_coding() 519 TRACE_CABAC_CTXT("coded_sub_block_flag", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_residual_coding() 521 AEV_TRACE("coded_sub_block_flag", cur_csbf, ps_cabac->u4_range); in ihevcd_parse_residual_coding() [all …]
|
D | ihevcd_parse_slice.c | 153 TRACE_CABAC_CTXT("split_transform_flag", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_transform_tree() 156 ps_cabac->u4_range); in ihevcd_parse_transform_tree() 195 TRACE_CABAC_CTXT("cbf_cb", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_transform_tree() 197 AEV_TRACE("cbf_cb", value, ps_cabac->u4_range); in ihevcd_parse_transform_tree() 203 TRACE_CABAC_CTXT("cbf_cr", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_transform_tree() 205 AEV_TRACE("cbf_cr", value, ps_cabac->u4_range); in ihevcd_parse_transform_tree() 257 TRACE_CABAC_CTXT("cbf_luma", ps_cabac->u4_range, ctxt_idx); in ihevcd_parse_transform_tree() 259 AEV_TRACE("cbf_luma", value, ps_cabac->u4_range); in ihevcd_parse_transform_tree() 296 TRACE_CABAC_CTXT("cu_qp_delta_abs", ps_cabac->u4_range, ctxt_inc); in ihevcd_parse_transform_tree() 310 AEV_TRACE("cu_qp_delta_abs", cu_qp_delta_abs, ps_cabac->u4_range); in ihevcd_parse_transform_tree() [all …]
|
D | ihevcd_structs.h | 106 UWORD32 u4_range; member
|
/external/libavc/encoder/ |
D | ih264e_cabac.c | 476 UWORD32 u4_range = ps_cab_enc_env->u4_code_int_range; in ih264e_cabac_encode_bin() local 485 ASSERT((u4_range >= 256) && (u4_range < 512)); in ih264e_cabac_encode_bin() 488 u4_table_val= gau4_ih264_cabac_table[state_mps][(u4_range >> 6) & 0x3]; in ih264e_cabac_encode_bin() 490 u4_range -= u4_rlps; in ih264e_cabac_encode_bin() 496 u4_low += u4_range; in ih264e_cabac_encode_bin() 497 u4_range = u4_rlps; in ih264e_cabac_encode_bin() 517 GETRANGE(shift, u4_range); in ih264e_cabac_encode_bin() 520 u4_range <<= shift; in ih264e_cabac_encode_bin() 524 ps_cab_enc_env->u4_code_int_range = u4_range; in ih264e_cabac_encode_bin() 622 UWORD32 u4_range = ps_cab_enc_env->u4_code_int_range; in ih264e_cabac_encode_terminate() local [all …]
|
D | ih264e_bitstream.c | 349 UWORD32 u4_bit_str, u4_range; in ih264e_put_uev() local 356 GETRANGE(u4_range, u4_bit_str); in ih264e_put_uev() 358 e_error = ih264e_put_bits(ps_bitstrm, u4_bit_str, (2 * u4_range - 1)); in ih264e_put_uev() 386 UWORD32 u4_code_num, u4_bit_str, u4_range; in ih264e_put_sev() local 408 GETRANGE(u4_range, u4_bit_str); in ih264e_put_sev() 410 e_error = ih264e_put_bits(ps_bitstrm, u4_bit_str, (2 * u4_range - 1)); in ih264e_put_sev()
|
D | ih264e_me.c | 127 UWORD32 u4_code_num, u4_range; in ih264e_init_mv_bits() local 141 GETRANGE(u4_range, u4_code_num); in ih264e_init_mv_bits() 143 limit = 2*u4_range - 1; in ih264e_init_mv_bits()
|
/external/libavc/decoder/ |
D | ih264d_parse_cavlc.h | 53 UWORD32 u4_range,
|
D | ih264d_parse_cavlc.c | 206 UWORD32 u4_range, in ih264d_uvlc() argument 227 if(u1_flag == TEV && u4_range == 1) in ih264d_uvlc()
|