Home
last modified time | relevance | path

Searched refs:rice_param (Results 1 – 2 of 2) sorted by relevance

/external/libhevc/decoder/
Dihevcd_parse_residual.c473 WORD32 rice_param; in ihevcd_parse_residual_coding() local
769 rice_param = 0; in ihevcd_parse_residual_coding()
811 if((WORD32)u4_prefix == 19 - rice_param) in ihevcd_parse_residual_coding()
824 coeff_abs_level_remaining = (u4_prefix << rice_param); in ihevcd_parse_residual_coding()
825 if(rice_param) in ihevcd_parse_residual_coding()
827 … IHEVCD_CABAC_DECODE_BYPASS_BINS(u4_suffix, ps_cabac, ps_bitstrm, rice_param); in ihevcd_parse_residual_coding()
839 u4_numbins = (u4_prefix - 3 + rice_param); in ihevcd_parse_residual_coding()
840 … coeff_abs_level_remaining = (((1 << (u4_prefix - 3)) + 3 - 1) << rice_param); in ihevcd_parse_residual_coding()
855 if((base_lvl > (3 << rice_param)) && (rice_param < 4)) in ihevcd_parse_residual_coding()
857 rice_param++; in ihevcd_parse_residual_coding()
/external/libhevc/encoder/
Dihevce_cabac_tu.c1518 WORD32 rice_param = 0; in ihevce_cabac_residue_encode() local
1563 WORD32 rice_max = (4 << rice_param); in ihevce_cabac_residue_encode()
1584 ret |= ihevce_cabac_encode_egk(ps_cabac, u4_suffix, (rice_param + 1)); in ihevce_cabac_residue_encode()
1590 ps_cabac, abs_coeff_rem, rice_param, rice_max); in ihevce_cabac_residue_encode()
1596 if((abs_coeff > (3 << rice_param)) && (rice_param < 4)) in ihevce_cabac_residue_encode()
1598 rice_param++; in ihevce_cabac_residue_encode()
2095 WORD32 rice_param = 0; in ihevce_cabac_residue_encode_rdopt() local
2143 WORD32 rice_max = (4 << rice_param); in ihevce_cabac_residue_encode_rdopt()
2179 u4_sym_shiftk_plus1 = (u4_suffix >> (rice_param + 1)) + 1; in ihevce_cabac_residue_encode_rdopt()
2185 num_bins = (2 * unary_length) + rice_param; in ihevce_cabac_residue_encode_rdopt()
[all …]