Lines Matching refs:downsample
81 int downsample; member
123 celt_assert(st->downsample > 0); in validate_celt_decoder()
182 st->downsample = resampling_factor(sampling_rate); in celt_decoder_init()
183 if (st->downsample==0) in celt_decoder_init()
203 st->downsample = 1; in opus_custom_decoder_init()
260 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *co… in deemphasis() argument
271 if (downsample == 1 && C == 2 && !accum) in deemphasis()
283 Nd = N/downsample; in deemphasis()
307 if (downsample>1) in deemphasis()
348 y[j*C] = SAT16(ADD32(y[j*C], SCALEOUT(SIG2WORD16(scratch[j*downsample])))); in deemphasis()
353 y[j*C] = SCALEOUT(SIG2WORD16(scratch[j*downsample])); in deemphasis()
365 int isTransient, int LM, int downsample, in celt_synthesis() argument
401 downsample, silence); in celt_synthesis()
415 downsample, silence); in celt_synthesis()
418 downsample, silence); in celt_synthesis()
427 downsample, silence); in celt_synthesis()
587 …celt_synthesis(mode, X, out_syn, oldBandE, start, effEnd, C, C, 0, LM, st->downsample, 0, st->arch… in celt_decode_lost()
874 frame_size *= st->downsample;
932 deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, accum);
934 return frame_size/st->downsample;
1107 C, CC, isTransient, LM, st->downsample, silence, st->arch);
1171 deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, accum);
1178 return frame_size/st->downsample;
1292 *value = st->overlap/st->downsample;