Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dpreprocess.c208 spx_word16_t *gain2; /**< Adjusted gains */ member
461 st->gain2 = (spx_word16_t*)speex_alloc((N+M)*sizeof(spx_word16_t)); in speex_preprocess_state_init()
538 speex_free(st->gain2); in speex_preprocess_state_destroy()
866 st->gain2[i]=DIV32_16(SHL32(EXTEND32(32767),SNR_SHIFT), ADD16(256,tmp)); in speex_preprocess_run()
868 st->gain2[i]=1/(1.f + (q/(1.f-q))*(1+st->prior[i])*exp(-theta)); in speex_preprocess_run()
872 filterbank_compute_psd16(st->bank,st->gain2+N, st->gain2); in speex_preprocess_run()
899 p = st->gain2[i]; in speex_preprocess_run()
919 st->gain2[i]=SQR16_Q15(tmp); in speex_preprocess_run()
928 spx_word16_t p = st->gain2[i]; in speex_preprocess_run()
931 st->gain2[i]=SQR16_Q15(tmp); in speex_preprocess_run()
[all …]
/external/webrtc/src/common_audio/signal_processing/
Dvector_scaling_operations.c133 G_CONST WebRtc_Word16 *in2, WebRtc_Word16 gain2, int shift2, in WebRtcSpl_ScaleAndAddVectors() argument
149 + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(gain2, *in2ptr++, shift2); in WebRtcSpl_ScaleAndAddVectors()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.h75 int WebRtcIsacfix_EncodeGain2(WebRtc_Word32 *gain2,
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.h176 int WebRtcIsac_EncodeGain2(WebRtc_Word32* gain2, Bitstr* streamdata);
Disac.c761 double gain2; in WebRtcIsac_GetNewBitStream() local
801 gain2 = WebRtcIsac_GetSnr( in WebRtcIsac_GetNewBitStream()
806 scale = (float)pow(10, (gain1 - gain2) / 20.0); in WebRtcIsac_GetNewBitStream()
831 gain2 = WebRtcIsac_GetSnr(instISAC->instUB.ISACencUB_obj.bottleneck, in WebRtcIsac_GetNewBitStream()
835 scale = (float)pow(10, (gain1 - gain2) / 20.0); in WebRtcIsac_GetNewBitStream()
/external/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h268 WebRtc_Word16 gain2, int right_shifts2,