Home
last modified time | relevance | path

Searched refs:celt_assert (Results 1 – 18 of 18) sorted by relevance

/external/libopus/celt/
Dfixed_debug.h69 celt_assert(0); in NEG16()
77 celt_assert(0); in NEG16()
90 celt_assert(0); in NEG32()
98 celt_assert(0); in NEG32()
113 celt_assert(0); in EXTRACT16_()
129 celt_assert(0); in EXTEND32_()
145 celt_assert(0); in SHR16_()
153 celt_assert(0); in SHR16_()
167 celt_assert(0); in SHL16_()
175 celt_assert(0); in SHL16_()
[all …]
Dcwrs.c434 celt_assert(_maxk>0); in get_required_bits()
444 celt_assert(_n>=2); in icwrs()
459 celt_assert(_k>0); in encode_pulses()
467 celt_assert(_k>0); in cwrsi()
468 celt_assert(_n>1); in cwrsi()
483 celt_assert(p>q); in cwrsi()
574 celt_assert(len>=3); in ncwrs_urow()
579 celt_assert(_n>=2); in ncwrs_urow()
581 celt_assert(_k>0); in ncwrs_urow()
596 celt_assert(_n>0); in cwrsi()
[all …]
Dlaplace.c88 celt_assert(fl+fs<=32768); in ec_laplace_encode()
89 celt_assert(fs>0); in ec_laplace_encode()
128 celt_assert(fl<32768); in ec_laplace_decode()
129 celt_assert(fs>0); in ec_laplace_decode()
130 celt_assert(fl<=fm); in ec_laplace_decode()
131 celt_assert(fm<IMIN(fl+fs,32768)); in ec_laplace_decode()
Drate.c200 celt_assert(qb >= 0); in compute_pulse_cache()
215 celt_assert(qb >= 0); in compute_pulse_cache()
232 celt_assert(qb >= 0); in compute_pulse_cache()
236 celt_assert(max_bits >= 0); in compute_pulse_cache()
237 celt_assert(max_bits < 256); in compute_pulse_cache()
386 celt_assert(codedBands > start); in interp_bits2pulses()
437 celt_assert(bits[j] >= 0); in interp_bits2pulses()
507 celt_assert(bits[j] >= 0); in interp_bits2pulses()
508 celt_assert(ebits[j] >= 0); in interp_bits2pulses()
518 celt_assert(C*ebits[j]<<BITRES == bits[j]); in interp_bits2pulses()
Dentenc.c180 celt_assert(_ft>1); in ec_enc_uint()
198 celt_assert(_bits>0); in ec_enc_bits()
217 celt_assert(_nbits<=EC_SYM_BITS); in ec_enc_patch_initial_bits()
238 celt_assert(_this->offs+_this->end_offs<=_size); in ec_enc_shrink()
Dcelt_lpc.c173 celt_assert((ord&3)==0); in celt_iir()
241 celt_assert(n>0); in _celt_autocorr()
242 celt_assert(overlap>=0); in _celt_autocorr()
Darch.h63 #define celt_assert(cond) {if (!(cond)) {celt_fatal("assertion failed: " #cond);}} macro
66 #define celt_assert(cond) macro
Dpitch.c259 celt_assert(max_pitch>0); in celt_pitch_xcorr_c()
260 celt_assert((((unsigned char *)_x-(unsigned char *)NULL)&3)==0); in celt_pitch_xcorr_c()
314 celt_assert(len>0); in pitch_search()
315 celt_assert(max_pitch>0); in pitch_search()
Dbands.c73 celt_assert(tmp<=32767); in bitexact_cos()
76 celt_assert(x2<=32766); in bitexact_cos()
251 celt_assert(start <= end); in denormalise_bands()
455 celt_assert(end>0); in spreading_decision()
511 celt_assert(nbBands>0); /* end has to be non-zero */ in spreading_decision()
556 celt_assert(stride>0); in deinterleave_hadamard()
635 celt_assert(qn <= 256); in compute_qn()
Dmodes.c158 celt_assert(eBands[i]-eBands[i-1]<=eBands[*nbEBands]-eBands[*nbEBands-1]); in compute_ebands()
160 celt_assert(eBands[i+1]-eBands[i]<=2*(eBands[i]-eBands[i-1])); in compute_ebands()
Dpitch.h64 celt_assert(len>=3); in xcorr_kernel()
Dcelt.c80 celt_assert(0); in resampling_factor()
Dentdec.c203 celt_assert(_ft>1); in ec_dec_uint()
Dquant_bands.c459 celt_assert(c<2); in unquant_coarse_energy()
Dcelt_encoder.c1375 celt_assert(st->signalling==0); in celt_encode_with_ec()
/external/libopus/src/
Drepacketizer.c216 celt_assert(frames[i] + len[i] <= data || ptr <= frames[i]); in opus_repacketizer_out_range_impl()
270 celt_assert(ret > 0 && ret <= len); in opus_packet_unpad()
Dopus_decoder.c609 celt_assert(pcm_count == frame_size); in opus_decode_native()
646 celt_assert(ret==frame_size-packet_frame_size); in opus_decode_native()
681 celt_assert(ret==packet_frame_size); in opus_decode_native()
Dopus_encoder.c674 celt_assert(offset>=0 && offset <= subframe); in optimize_framesize()