Lines Matching refs:upsample
68 int upsample; member
179 st->upsample = 1; in opus_custom_encoder_init_arch()
215 st->upsample = resampling_factor(sampling_rate); in celt_encoder_init()
420 celt_sig * OPUS_RESTRICT out, int C, int CC, int LM, int upsample) in compute_mdcts() argument
449 if (upsample != 1) in compute_mdcts()
453 int bound = B*N/upsample; in compute_mdcts()
455 out[c*B*N+i] *= upsample; in compute_mdcts()
464 … int N, int CC, int upsample, const opus_val16 *coef, celt_sig *mem, int clip) in celt_preemphasis() argument
474 Nu = N/upsample; in celt_preemphasis()
475 if (upsample!=1) in celt_preemphasis()
490 inp[i*upsample] = x; in celt_preemphasis()
498 inp[i*upsample] = MAX32(-65536.f, MIN32(65536.f,inp[i*upsample])); in celt_preemphasis()
1326 frame_size *= st->upsample; in celt_encode_with_ec()
1445 sample_max=MAX32(st->overlap_max, celt_maxabs16(pcm, C*(N-overlap)/st->upsample)); in celt_encode_with_ec()
1446 st->overlap_max=celt_maxabs16(pcm+C*(N-overlap)/st->upsample, C*overlap/st->upsample); in celt_encode_with_ec()
1477 celt_preemphasis(pcm+c, in+c*(N+st->overlap)+st->overlap, N, CC, st->upsample, in celt_encode_with_ec()
1538 compute_mdcts(mode, 0, in, freq, C, CC, LM, st->upsample); in celt_encode_with_ec()
1545 compute_mdcts(mode, shortBlocks, in, freq, C, CC, LM, st->upsample); in celt_encode_with_ec()
1673 compute_mdcts(mode, shortBlocks, in, freq, C, CC, LM, st->upsample); in celt_encode_with_ec()
2034 … deemphasis(out_mem, (opus_val16*)pcm, N, CC, st->upsample, mode->preemph, st->preemph_memD, freq); in celt_encode_with_ec()