Lines Matching refs:nbits
25 int nbits; in encode_band_info_ldac() local
27 nbits = LDAC_NBANDBITS + LDAC_FLAGBITS; in encode_band_info_ldac()
29 return nbits; in encode_band_info_ldac()
38 int nbits; in encode_gradient_ldac() local
41 nbits = LDAC_GRADMODEBITS + LDAC_GRADQU0BITS*2 + LDAC_GRADOSBITS*2 + LDAC_NADJQUBITS; in encode_gradient_ldac()
44 nbits = LDAC_GRADMODEBITS + LDAC_GRADQU1BITS + LDAC_GRADOSBITS + LDAC_NADJQUBITS; in encode_gradient_ldac()
47 return nbits; in encode_gradient_ldac()
58 int id, nbits; in get_minimum_id_ldac() local
61 nbits = p_nbits[0]; in get_minimum_id_ldac()
64 if (nbits > p_nbits[i]) { in get_minimum_id_ldac()
66 nbits = p_nbits[i]; in get_minimum_id_ldac()
93 int nbits = LDAC_MAXBITNUM; in encode_scale_factor_0_ldac() local
121 if (nbits > val1) { in encode_scale_factor_0_ldac()
125 nbits = val1; in encode_scale_factor_0_ldac()
128 nbits += LDAC_SFCBLENBITS + LDAC_IDSFBITS + LDAC_SFCWTBLBITS; in encode_scale_factor_0_ldac()
130 return nbits; in encode_scale_factor_0_ldac()
146 int nbits = LDAC_MAXBITNUM; in encode_scale_factor_1_ldac() local
173 if (nbits > val) { in encode_scale_factor_1_ldac()
177 nbits = val; in encode_scale_factor_1_ldac()
181 return nbits; in encode_scale_factor_1_ldac()
198 int nbits, bitlen, vmax, val; in encode_scale_factor_2_ldac() local
211 nbits = LDAC_SFCBLENBITS; in encode_scale_factor_2_ldac()
216 nbits += hc_len_ldac(p_hcsf->p_tbl+val); in encode_scale_factor_2_ldac()
223 return nbits; in encode_scale_factor_2_ldac()
234 int nbits, sfc_mode; in encode_scale_factor_ldac() local
251 nbits = a_nbits[sfc_mode] + LDAC_SFCMODEBITS; in encode_scale_factor_ldac()
253 return nbits; in encode_scale_factor_ldac()
265 int nbits, nbits_band, nbits_grad, nbits_scfc = 0; in encode_side_info_ldac() local
276 nbits = nbits_band + nbits_grad + nbits_scfc; in encode_side_info_ldac()
278 return nbits; in encode_side_info_ldac()