Home
last modified time | relevance | path

Searched refs:preemph (Results 1 – 6 of 6) sorted by relevance

/external/libopus/celt/
Dmodes.c316 mode->preemph[0] = QCONST16(0.3500061035f, 15); in opus_custom_mode_create()
317 mode->preemph[1] = -QCONST16(0.1799926758f, 15); in opus_custom_mode_create()
318 mode->preemph[2] = QCONST16(0.2719968125f, SIG_SHIFT); /* exact 1/preemph[3] */ in opus_custom_mode_create()
319 mode->preemph[3] = QCONST16(3.6765136719f, 13); in opus_custom_mode_create()
322 mode->preemph[0] = QCONST16(0.6000061035f, 15); in opus_custom_mode_create()
323 mode->preemph[1] = -QCONST16(0.1799926758f, 15); in opus_custom_mode_create()
324 mode->preemph[2] = QCONST16(0.4424998650f, SIG_SHIFT); /* exact 1/preemph[3] */ in opus_custom_mode_create()
325 mode->preemph[3] = QCONST16(2.2598876953f, 13); in opus_custom_mode_create()
328 mode->preemph[0] = QCONST16(0.7799987793f, 15); in opus_custom_mode_create()
329 mode->preemph[1] = -QCONST16(0.1000061035f, 15); in opus_custom_mode_create()
[all …]
Dmodes.h66 opus_val16 preemph[4]; member
Dcelt_decoder.c648 mode->preemph, st->preemph_memD, scratch); in celt_decode_lost()
1015 deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, freq);
Dcelt_encoder.c1478 mode->preemph, st->preemph_memE+c, st->clip); 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()
/external/speex/libspeex/
Dmdf.c183 spx_word16_t preemph; member
505 st->preemph = QCONST16(.9,15); in speex_echo_state_init_mc()
732 …2(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->memD[chan]))… in speex_echo_cancellation()
758 …tmp32 = SUB32(EXTEND32(far_end[i*K+speak]), EXTEND32(MULT16_16_P15(st->preemph, st->memX[speak]))); in speex_echo_cancellation()
977 tmp_out = ADD32(tmp_out, EXTEND32(MULT16_16_P15(st->preemph, st->memE[chan]))); in speex_echo_cancellation()
/external/libopus/src/
Dopus_multistream_encoder.c259 … celt_preemphasis(x, in+overlap, frame_size, 1, upsample, celt_mode->preemph, preemph_mem+c, 0); in surround_analysis()