Home
last modified time | relevance | path

Searched refs:ec_tell (Results 1 – 10 of 10) sorted by relevance

/external/libopus/celt/tests/
Dtest_unit_entropy.c94 nbits=ec_tell(&enc); in main()
96 nbits2=ec_tell(&enc); in main()
191 while(ec_tell(&enc)%8 != 0) in main()
193 tell_bits = ec_tell(&enc); in main()
195 if(tell_bits!=(unsigned)ec_tell(&enc)){ in main()
197 ec_tell(&enc),tell_bits,seed); in main()
269 if((ec_tell(&enc)+7U)/8U<ec_range_bytes(&enc)){ in main()
271 ec_range_bytes(&enc),(ec_tell(&enc)+7)/8,seed); in main()
/external/libopus/celt/
Dcelt_decoder.c451 tell = ec_tell(dec); in tf_decode()
461 tell = ec_tell(dec); in tf_decode()
954 tell = ec_tell(dec);
966 dec->nbits_total+=tell-ec_tell(dec);
980 if (ec_tell(dec)+2<=total_bits)
984 tell = ec_tell(dec);
990 tell = ec_tell(dec);
1009 tell = ec_tell(dec);
1094 fine_quant, fine_priority, len*8-ec_tell(dec), dec, C);
1174 if (ec_tell(dec) > 8*len)
Dentcode.h111 static OPUS_INLINE int ec_tell(ec_ctx *_this){ in ec_tell() function
Dquant_bands.c216 tell = ec_tell(enc); in quant_coarse_energy_impl()
281 tell = ec_tell(enc); in quant_coarse_energy()
461 tell = ec_tell(dec); in unquant_coarse_energy()
Dcelt_encoder.c754 tell = ec_tell(enc); in tf_encode()
765 tell = ec_tell(enc); in tf_encode()
1520 tell=ec_tell(enc); in celt_encode_with_ec()
1647 enc->nbits_total+=tell-ec_tell(enc); in celt_encode_with_ec()
1702 if (LM>0 && ec_tell(enc)+3<=total_bits) in celt_encode_with_ec()
1849 …if (LM>0 && ec_tell(enc)+3<=total_bits && !isTransient && st->complexity>=5 && !st->lfe && !hybrid) in celt_encode_with_ec()
1865 if (LM>0 && ec_tell(enc)+3<=total_bits) in celt_encode_with_ec()
1933 if (ec_tell(enc)+4<=total_bits) in celt_encode_with_ec()
2219 … start, end, oldBandE, error, fine_quant, fine_priority, nbCompressedBytes*8-ec_tell(enc), enc, C); in celt_encode_with_ec()
/external/libopus/silk/float/
Dencode_frame_FLP.c213 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FLP()
239 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FLP()
376 *pnBytesOut = silk_RSHIFT( ec_tell( psRangeEnc ) + 7, 3 ); in silk_encode_frame_FLP()
/external/libopus/silk/fixed/
Dencode_frame_FIX.c227 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FIX()
253 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FIX()
385 *pnBytesOut = silk_RSHIFT( ec_tell( psRangeEnc ) + 7, 3 ); in silk_encode_frame_FIX()
/external/libopus/src/
Dopus_decoder.c422 && ec_tell(&dec)+17+20*(st->mode == MODE_HYBRID) <= 8*len) in opus_decode_frame()
436 len-((ec_tell(&dec)+7)>>3); in opus_decode_frame()
440 if (len*8 < ec_tell(&dec)) in opus_decode_frame()
Dopus_encoder.c1985 …if ( st->mode != MODE_CELT_ONLY && ec_tell(&enc)+17+20*(st->mode == MODE_HYBRID) <= 8*(max_data_by… in opus_encode_native()
1998 max_redundancy = (max_data_bytes-1)-((ec_tell(&enc)+8+3+7)>>3); in opus_encode_native()
2001 max_redundancy = (max_data_bytes-1)-((ec_tell(&enc)+7)>>3); in opus_encode_native()
2022 ret = (ec_tell(&enc)+7)>>3; in opus_encode_native()
2072 if (ec_tell(&enc) <= 8*nb_compr_bytes) in opus_encode_native()
2160 if (ec_tell(&enc) > (max_data_bytes-1)*8) in opus_encode_native()
/external/libopus/silk/
Denc_API.c390 psEnc->nBitsUsedLBRR = ec_tell( psRangeEnc ); in silk_Encode()
413 …opus_int32 bitsBalance = ec_tell( psRangeEnc ) - psEnc->nBitsUsedLBRR - nBits * psEnc->state_Fxx[ … in silk_Encode()