Home
last modified time | relevance | path

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

/external/libhevc/decoder/
Dihevcd_cabac.c150 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 …]
Dihevcd_cabac.h61 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 …]
Dihevcd_parse_residual.c226 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 …]
Dihevcd_parse_slice.c153 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 …]
Dihevcd_structs.h106 UWORD32 u4_range; member
/external/libhevc/encoder/
Dihevce_cabac.h141 UWORD32 u4_range; member
250 UWORD32 u4_range = ps_cabac->u4_range; in ihevce_cabac_encode_bin() local
264 ASSERT((u4_range >= 256) && (u4_range < 512)); in ihevce_cabac_encode_bin()
267 u4_rlps = gau1_ihevc_cabac_rlps[state_mps >> 1][(u4_range >> 6) & 0x3]; in ihevce_cabac_encode_bin()
269 u4_range -= u4_rlps; in ihevce_cabac_encode_bin()
275 u4_low += u4_range; in ihevce_cabac_encode_bin()
276 u4_range = u4_rlps; in ihevce_cabac_encode_bin()
290 GETRANGE(shift, u4_range); in ihevce_cabac_encode_bin()
293 u4_range <<= shift; in ihevce_cabac_encode_bin()
297 ps_cabac->u4_range = u4_range; in ihevce_cabac_encode_bin()
[all …]
Dihevce_cabac.c133 ps_cabac->u4_range = 510; in ihevce_cabac_reset()
146 ps_cabac->u4_range = 0; in ihevce_cabac_reset()
218 ps_cabac->u4_range = 510; in ihevce_cabac_init()
237 ps_cabac->u4_range = 0; in ihevce_cabac_init()
278 ASSERT((ps_cabac->u4_range >= 256) && (ps_cabac->u4_range < 512)); in ihevce_cabac_put_byte()
386 UWORD32 u4_range = ps_cabac->u4_range; in ihevce_cabac_encode_bypass_bin() local
392 ASSERT((u4_range >= 256) && (u4_range < 512)); in ihevce_cabac_encode_bypass_bin()
403 u4_low += u4_range; in ihevce_cabac_encode_bypass_bin()
444 UWORD32 u4_range = ps_cabac->u4_range; in ihevce_cabac_encode_terminate() local
451 ASSERT((u4_range >= 256) && (u4_range < 512)); in ihevce_cabac_encode_terminate()
[all …]
Dihevce_cabac_cu_pu.c225 AEV_TRACE("prev_intra_pred_luma_flag", prev_intra_pred_flag, ps_cabac->u4_range); in ihevce_cabac_encode_intra_pu()
242 AEV_TRACE("mpm_idx", mpm_idx, ps_cabac->u4_range); in ihevce_cabac_encode_intra_pu()
248 AEV_TRACE("rem_intra_luma_pred_mode", rem_intra_pred_mode, ps_cabac->u4_range); in ihevce_cabac_encode_intra_pu()
269 AEV_TRACE("intra_chroma_pred_mode", chroma_pred_mode, ps_cabac->u4_range); in ihevce_cabac_encode_intra_pu()
361 AEV_TRACE("cu_skip_flag", skip_flag, ps_cabac->u4_range); in ihevce_cabac_encode_skip_flag()
484 AEV_TRACE("part_mode", part_mode, ps_cabac->u4_range); in ihevce_cabac_encode_part_mode()
532 AEV_TRACE("merge_idx", merge_idx, ps_cabac->u4_range); in ihevce_cabac_encode_merge_idx()
597 AEV_TRACE("inter_pred_idc", inter_pred_idc, ps_cabac->u4_range); in ihevce_cabac_encode_inter_pred_idc()
655 AEV_TRACE("ref_idx", ref_idx, ps_cabac->u4_range); in ihevce_cabac_encode_refidx()
700 AEV_TRACE("abs_mvd_greater0_flag[0]", abs_mvd_x_gt0, ps_cabac->u4_range); in ihevce_cabac_encode_mvd()
[all …]
Dihevce_bitstream.c335 UWORD32 u4_bit_str, u4_range; in ihevce_put_uev() local
342 GETRANGE(u4_range, u4_bit_str); in ihevce_put_uev()
344 e_error = ihevce_put_bits(ps_bitstrm, u4_bit_str, (2 * u4_range - 1)); in ihevce_put_uev()
372 UWORD32 u4_code_num, u4_bit_str, u4_range; in ihevce_put_sev() local
394 GETRANGE(u4_range, u4_bit_str); in ihevce_put_sev()
396 e_error = ihevce_put_bits(ps_bitstrm, u4_bit_str, (2 * u4_range - 1)); in ihevce_put_sev()
Dihevce_cabac_tu.c248 AEV_TRACE("cu_qp_delta_abs", qp_delta_abs, ps_cabac->u4_range); in ihevce_cabac_encode_qp_delta()
255 AEV_TRACE("cu_qp_delta_sign", sign, ps_cabac->u4_range); in ihevce_cabac_encode_qp_delta()
329 AEV_TRACE("last_coeff_x_prefix", last_coeff_x_prefix, ps_cabac->u4_range); in ihevce_cabac_encode_last_coeff_x_y()
335 AEV_TRACE("last_coeff_y_prefix", last_coeff_y_prefix, ps_cabac->u4_range); in ihevce_cabac_encode_last_coeff_x_y()
346 AEV_TRACE("last_coeff_x_suffix", suffix, ps_cabac->u4_range); in ihevce_cabac_encode_last_coeff_x_y()
358 AEV_TRACE("last_coeff_y_suffix", suffix, ps_cabac->u4_range); in ihevce_cabac_encode_last_coeff_x_y()
476 AEV_TRACE("split_transform_flag", split_tr_flag, ps_cabac->u4_range); in ihevce_encode_transform_tree()
576 AEV_TRACE("cbf_cb", ai4_cbf_cb[0], ps_cabac->u4_range); in ihevce_encode_transform_tree()
589 AEV_TRACE("cbf_cb", ai4_cbf_cb[1], ps_cabac->u4_range); in ihevce_encode_transform_tree()
604 AEV_TRACE("cbf_cb", ai4_cbf_cb[0] || ai4_cbf_cb[1], ps_cabac->u4_range); in ihevce_encode_transform_tree()
[all …]
Dihevce_cabac_rdo.c520 ASSERT(ps_cur_ctb_entropy->s_cabac_ctxt.u4_range == 0); in ihevce_cabac_rdo_encode_sao()
/external/libavc/encoder/
Dih264e_cabac.c467 UWORD32 u4_range = ps_cab_enc_env->u4_code_int_range; in ih264e_cabac_encode_bin() local
476 ASSERT((u4_range >= 256) && (u4_range < 512)); in ih264e_cabac_encode_bin()
479 u4_table_val= gau4_ih264_cabac_table[state_mps][(u4_range >> 6) & 0x3]; in ih264e_cabac_encode_bin()
481 u4_range -= u4_rlps; in ih264e_cabac_encode_bin()
487 u4_low += u4_range; in ih264e_cabac_encode_bin()
488 u4_range = u4_rlps; in ih264e_cabac_encode_bin()
508 GETRANGE(shift, u4_range); in ih264e_cabac_encode_bin()
511 u4_range <<= shift; in ih264e_cabac_encode_bin()
515 ps_cab_enc_env->u4_code_int_range = u4_range; in ih264e_cabac_encode_bin()
613 UWORD32 u4_range = ps_cab_enc_env->u4_code_int_range; in ih264e_cabac_encode_terminate() local
[all …]
Dih264e_bitstream.c312 UWORD32 u4_bit_str, u4_range; in ih264e_put_uev() local
319 GETRANGE(u4_range, u4_bit_str); in ih264e_put_uev()
321 e_error = ih264e_put_bits(ps_bitstrm, u4_bit_str, (2 * u4_range - 1)); in ih264e_put_uev()
349 UWORD32 u4_code_num, u4_bit_str, u4_range; in ih264e_put_sev() local
371 GETRANGE(u4_range, u4_bit_str); in ih264e_put_sev()
373 e_error = ih264e_put_bits(ps_bitstrm, u4_bit_str, (2 * u4_range - 1)); in ih264e_put_sev()
Dih264e_me.c127 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/
Dih264d_parse_cavlc.h53 UWORD32 u4_range,
Dih264d_parse_cavlc.c206 UWORD32 u4_range, in ih264d_uvlc() argument
227 if(u1_flag == TEV && u4_range == 1) in ih264d_uvlc()