Searched defs:BITRES (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/opus/src/celt/
H A Dentcode.h51 # define BITRES 3 macro
112 Return: The number of bits scaled by 2**BITRES.
H A Dcelt_decoder.c847 total_bits<<=BITRES; local
857 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width));
860 while (tell+(dynalloc_loop_logp<<BITRES) < total_bits && boost < cap[i])
878 alloc_trim = tell+(6<<BITRES) <= total_bits ?
881 bits = (((opus_int32)len*8)<<BITRES) - ec_tell_frac(dec) - 1;
882 anti_collapse_rsv = isTransient&&LM>=2&&bits>=((LM+2)<<BITRES) ? (1<<BITRES) : 0;
900 len*(8<<BITRES)-anti_collapse_rsv, balance, dec, LM, codedBands, &st->rng);
H A Dcelt_encoder.c979 boost_bits = boost*width<<BITRES;
982 boost_bits = (boost*width<<BITRES)/8;
985 boost_bits = boost*6<<BITRES;
989 && (tot_boost+boost_bits)>>BITRES>>3 > effectiveBytes/4)
991 opus_int32 cap = ((effectiveBytes/4)<<BITRES<<3);
1160 target -= (opus_int32)((coded_bins<<BITRES)*(.4f-analysis->activity));
1175 SHR32(MULT16_16(stereo_saving-QCONST16(0.1f,8),(coded_stereo_dof<<BITRES)),8));
1193 tonal_target = target + (opus_int32)((coded_bins<<BITRES)*1.2f*tonal);
1195 tonal_target += (opus_int32)((coded_bins<<BITRES)*.8f);
1203 opus_int32 surround_target = target + (opus_int32)SHR32(MULT16_16(surround_masking,coded_bins<<BITRES), DB_SHIF
1773 total_bits<<=BITRES; local
[all...]
/external/libopus/celt/
H A Dentcode.h51 # define BITRES 3 macro
112 Return: The number of bits scaled by 2**BITRES.
H A Dcelt_decoder.c847 total_bits<<=BITRES; local
857 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width));
860 while (tell+(dynalloc_loop_logp<<BITRES) < total_bits && boost < cap[i])
878 alloc_trim = tell+(6<<BITRES) <= total_bits ?
881 bits = (((opus_int32)len*8)<<BITRES) - ec_tell_frac(dec) - 1;
882 anti_collapse_rsv = isTransient&&LM>=2&&bits>=((LM+2)<<BITRES) ? (1<<BITRES) : 0;
900 len*(8<<BITRES)-anti_collapse_rsv, balance, dec, LM, codedBands, &st->rng);
H A Dcelt_encoder.c979 boost_bits = boost*width<<BITRES;
982 boost_bits = (boost*width<<BITRES)/8;
985 boost_bits = boost*6<<BITRES;
989 && (tot_boost+boost_bits)>>BITRES>>3 > effectiveBytes/4)
991 opus_int32 cap = ((effectiveBytes/4)<<BITRES<<3);
1160 target -= (opus_int32)((coded_bins<<BITRES)*(.4f-analysis->activity));
1175 SHR32(MULT16_16(stereo_saving-QCONST16(0.1f,8),(coded_stereo_dof<<BITRES)),8));
1193 tonal_target = target + (opus_int32)((coded_bins<<BITRES)*1.2f*tonal);
1195 tonal_target += (opus_int32)((coded_bins<<BITRES)*.8f);
1203 opus_int32 surround_target = target + (opus_int32)SHR32(MULT16_16(surround_masking,coded_bins<<BITRES), DB_SHIF
1773 total_bits<<=BITRES; local
[all...]

Completed in 178 milliseconds