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/webrtc/common_audio/signal_processing/
Dvector_scaling_operations.c122 const int16_t *in2, int16_t gain2, int shift2, in WebRtcSpl_ScaleAndAddVectors() argument
138 (int16_t)((gain2 * *in2ptr++) >> shift2); in WebRtcSpl_ScaleAndAddVectors()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.h176 int WebRtcIsac_EncodeGain2(int32_t* gain2, Bitstr* streamdata);
Disac.c772 double gain2; in WebRtcIsac_GetNewBitStream() local
811 gain2 = WebRtcIsac_GetSnr( in WebRtcIsac_GetNewBitStream()
816 scale = (float)pow(10, (gain1 - gain2) / 20.0); in WebRtcIsac_GetNewBitStream()
841 gain2 = WebRtcIsac_GetSnr(instISAC->instUB.ISACencUB_obj.bottleneck, in WebRtcIsac_GetNewBitStream()
845 scale = (float)pow(10, (gain1 - gain2) / 20.0); in WebRtcIsac_GetNewBitStream()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dentropy_coding.h75 int WebRtcIsacfix_EncodeGain2(int32_t *gain2,
/external/webrtc/webrtc/common_audio/signal_processing/include/
Dsignal_processing_library.h330 int16_t gain2, int right_shifts2,