/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
synthesis_amr_wb.cpp | 158 int16 gain1, gain2; local 317 gain2 = mult_int16(gain1, 20480); 318 gain2 = shl_int16(gain2, 1); 322 tmp = gain2 - 1;
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
vector_scaling_operations.c | 122 const int16_t *in2, int16_t gain2, int shift2, 125 // Performs vector operation: out = (gain1*in1)>>shift1 + (gain2*in2)>>shift2 138 (int16_t)((gain2 * *in2ptr++) >> shift2);
|
/external/speex/libspeex/ |
preprocess.c | 208 spx_word16_t *gain2; /**< Adjusted gains */ member in struct:SpeexPreprocessState_ 461 st->gain2 = (spx_word16_t*)speex_alloc((N+M)*sizeof(spx_word16_t)); 538 speex_free(st->gain2); 866 st->gain2[i]=DIV32_16(SHL32(EXTEND32(32767),SNR_SHIFT), ADD16(256,tmp)); 868 st->gain2[i]=1/(1.f + (q/(1.f-q))*(1+st->prior[i])*exp(-theta)); 872 filterbank_compute_psd16(st->bank,st->gain2+N, st->gain2); 899 p = st->gain2[i]; 917 /* gain2 = [p*sqrt(gain)+(1-p)*sqrt(gain _floor) ]^2 */ 919 st->gain2[i]=SQR16_Q15(tmp) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
entropy_coding.h | 173 int WebRtcIsac_DecodeGain2(Bitstr* streamdata, int32_t* Gain2); 176 int WebRtcIsac_EncodeGain2(int32_t* gain2, Bitstr* streamdata);
|
isac.c | 772 double gain2; local 811 gain2 = WebRtcIsac_GetSnr( 816 scale = (float)pow(10, (gain1 - gain2) / 20.0); 841 gain2 = WebRtcIsac_GetSnr(instISAC->instUB.ISACencUB_obj.bottleneck, 845 scale = (float)pow(10, (gain1 - gain2) / 20.0); [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
entropy_coding.h | 72 int32_t *Gain2); 75 int WebRtcIsacfix_EncodeGain2(int32_t *gain2,
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
voAMRWBEnc.c | 205 Word16 tmp, gain1, gain2, exp, Q_new, mu, shift, max; local 1357 Word16 gain1, gain2; local [all...] |
/external/webrtc/webrtc/common_audio/signal_processing/include/ |
signal_processing_library.h | 330 int16_t gain2, int right_shifts2, [all...] |