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.c93 nbits=ec_tell(&enc); in main()
95 nbits2=ec_tell(&enc); in main()
190 while(ec_tell(&enc)%8 != 0) in main()
192 tell_bits = ec_tell(&enc); in main()
194 if(tell_bits!=(unsigned)ec_tell(&enc)){ in main()
196 ec_tell(&enc),tell_bits,seed); in main()
268 if((ec_tell(&enc)+7U)/8U<ec_range_bytes(&enc)){ in main()
270 ec_range_bytes(&enc),(ec_tell(&enc)+7)/8,seed); in main()
/external/libopus/celt/
Dcelt_decoder.c296 tell = ec_tell(dec); in tf_decode()
306 tell = ec_tell(dec); in tf_decode()
780 tell = ec_tell(dec);
792 dec->nbits_total+=tell-ec_tell(dec);
806 if (ec_tell(dec)+2<=total_bits)
810 tell = ec_tell(dec);
816 tell = ec_tell(dec);
835 tell = ec_tell(dec);
908 fine_quant, fine_priority, len*8-ec_tell(dec), dec, C);
1018 if (ec_tell(dec) > 8*len)
Dentcode.h105 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()
460 tell = ec_tell(dec); in unquant_coarse_energy()
Dcelt_encoder.c722 tell = ec_tell(enc); in tf_encode()
733 tell = ec_tell(enc); in tf_encode()
1348 tell=ec_tell(enc); in celt_encode_with_ec()
1474 enc->nbits_total+=tell-ec_tell(enc); in celt_encode_with_ec()
1521 if (LM>0 && ec_tell(enc)+3<=total_bits) in celt_encode_with_ec()
1667 if (LM>0 && ec_tell(enc)+3<=total_bits && !isTransient && st->complexity>=5 && !st->lfe) in celt_encode_with_ec()
1683 if (LM>0 && ec_tell(enc)+3<=total_bits) in celt_encode_with_ec()
1723 if (ec_tell(enc)+4<=total_bits) in celt_encode_with_ec()
1977 …rt, st->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.c204 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FLP()
313 *pnBytesOut = silk_RSHIFT( ec_tell( psRangeEnc ) + 7, 3 ); in silk_encode_frame_FLP()
/external/libopus/silk/fixed/
Dencode_frame_FIX.c217 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FIX()
322 *pnBytesOut = silk_RSHIFT( ec_tell( psRangeEnc ) + 7, 3 ); in silk_encode_frame_FIX()
/external/libopus/src/
Dopus_decoder.c388 && ec_tell(&dec)+17+20*(st->mode == MODE_HYBRID) <= 8*len) in opus_decode_frame()
402 len-((ec_tell(&dec)+7)>>3); in opus_decode_frame()
406 if (len*8 < ec_tell(&dec)) in opus_decode_frame()
Dopus_encoder.c1693 len = (ec_tell(&enc)+7)>>3; in opus_encode_native()
1767 …if ( st->mode != MODE_CELT_ONLY && ec_tell(&enc)+17+20*(st->mode == MODE_HYBRID) <= 8*(max_data_by… in opus_encode_native()
1770 if (st->mode == MODE_HYBRID && (redundancy || ec_tell(&enc)+37 <= 8*nb_compr_bytes)) in opus_encode_native()
1779 max_redundancy = (max_data_bytes-1)-((ec_tell(&enc)+7)>>3); in opus_encode_native()
1800 ret = (ec_tell(&enc)+7)>>3; in opus_encode_native()
1843 if (ec_tell(&enc) <= 8*nb_compr_bytes) in opus_encode_native()
1898 if (ec_tell(&enc) > (max_data_bytes-1)*8) in opus_encode_native()
/external/libopus/silk/
Denc_API.c387 nBits -= ec_tell( psRangeEnc ) >> 1; in silk_Encode()