Lines Matching refs:downsample
70 int downsample; member
137 st->downsample = resampling_factor(sampling_rate); in celt_decoder_init()
138 if (st->downsample==0) in celt_decoder_init()
158 st->downsample = 1; in opus_custom_decoder_init()
193 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *co… in deemphasis() argument
201 Nd = N/downsample; in deemphasis()
225 if (downsample>1) in deemphasis()
250 y[j*C] = SCALEOUT(SIG2WORD16(scratch[j*downsample])); in deemphasis()
346 int downsample; in celt_decode_lost() local
370 downsample = st->downsample; in celt_decode_lost()
428 if (downsample!=1) in celt_decode_lost()
429 bound = IMIN(bound, N/downsample); in celt_decode_lost()
647 deemphasis(out_syn, pcm, N, C, downsample, in celt_decode_lost()
706 frame_size *= st->downsample;
764 return frame_size/st->downsample;
932 if (st->downsample!=1)
933 bound = IMIN(bound, N/st->downsample);
1015 deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, freq);
1022 return frame_size/st->downsample;
1136 *value = st->overlap/st->downsample;