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.c361 tell = ec_tell(dec); in tf_decode()
371 tell = ec_tell(dec); in tf_decode()
851 tell = ec_tell(dec);
863 dec->nbits_total+=tell-ec_tell(dec);
877 if (ec_tell(dec)+2<=total_bits)
881 tell = ec_tell(dec);
887 tell = ec_tell(dec);
906 tell = ec_tell(dec);
990 fine_quant, fine_priority, len*8-ec_tell(dec), dec, C);
1070 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()
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()
1418 tell=ec_tell(enc); in celt_encode_with_ec()
1544 enc->nbits_total+=tell-ec_tell(enc); in celt_encode_with_ec()
1595 if (LM>0 && ec_tell(enc)+3<=total_bits) in celt_encode_with_ec()
1739 if (LM>0 && ec_tell(enc)+3<=total_bits && !isTransient && st->complexity>=5 && !st->lfe) in celt_encode_with_ec()
1755 if (LM>0 && ec_tell(enc)+3<=total_bits) in celt_encode_with_ec()
1795 if (ec_tell(enc)+4<=total_bits) in celt_encode_with_ec()
2051 … 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.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.c219 nBits = ec_tell( psRangeEnc ); in silk_encode_frame_FIX()
324 *pnBytesOut = silk_RSHIFT( ec_tell( psRangeEnc ) + 7, 3 ); in silk_encode_frame_FIX()
/external/libopus/src/
Dopus_decoder.c399 && ec_tell(&dec)+17+20*(st->mode == MODE_HYBRID) <= 8*len) in opus_decode_frame()
413 len-((ec_tell(&dec)+7)>>3); in opus_decode_frame()
417 if (len*8 < ec_tell(&dec)) in opus_decode_frame()
Dopus_encoder.c1732 len = (ec_tell(&enc)+7)>>3; in opus_encode_native()
1809 …if ( st->mode != MODE_CELT_ONLY && ec_tell(&enc)+17+20*(st->mode == MODE_HYBRID) <= 8*(max_data_by… in opus_encode_native()
1812 if (st->mode == MODE_HYBRID && (redundancy || ec_tell(&enc)+37 <= 8*nb_compr_bytes)) in opus_encode_native()
1821 max_redundancy = (max_data_bytes-1)-((ec_tell(&enc)+7)>>3); in opus_encode_native()
1842 ret = (ec_tell(&enc)+7)>>3; in opus_encode_native()
1885 if (ec_tell(&enc) <= 8*nb_compr_bytes) in opus_encode_native()
1940 if (ec_tell(&enc) > (max_data_bytes-1)*8) in opus_encode_native()
/external/libopus/silk/
Denc_API.c380 psEnc->nBitsUsedLBRR = ec_tell( psRangeEnc ); in silk_Encode()
403 …opus_int32 bitsBalance = ec_tell( psRangeEnc ) - psEnc->nBitsUsedLBRR - nBits * psEnc->state_Fxx[ … in silk_Encode()