/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/src/common_audio/signal_processing/ |
vector_scaling_operations.c | 133 G_CONST WebRtc_Word16 *in2, WebRtc_Word16 gain2, int shift2, 136 // Performs vector operation: out = (gain1*in1)>>shift1 + (gain2*in2)>>shift2 149 + (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(gain2, *in2ptr++, shift2);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
entropy_coding.h | 72 WebRtc_Word32 *Gain2); 75 int WebRtcIsacfix_EncodeGain2(WebRtc_Word32 *gain2,
|
/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/src/modules/audio_coding/codecs/isac/main/source/ |
entropy_coding.h | 173 int WebRtcIsac_DecodeGain2(Bitstr* streamdata, WebRtc_Word32* Gain2); 176 int WebRtcIsac_EncodeGain2(WebRtc_Word32* gain2, Bitstr* streamdata);
|
isac.c | 761 double gain2; local 801 gain2 = WebRtcIsac_GetSnr( 806 scale = (float)pow(10, (gain1 - gain2) / 20.0); 831 gain2 = WebRtcIsac_GetSnr(instISAC->instUB.ISACencUB_obj.bottleneck, 835 scale = (float)pow(10, (gain1 - gain2) / 20.0); [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
voAMRWBEnc.c | 203 Word16 tmp, gain1, gain2, exp, Q_new, mu, shift, max; local 1351 Word16 gain1, gain2; local [all...] |
/external/webrtc/src/common_audio/signal_processing/include/ |
signal_processing_library.h | 268 WebRtc_Word16 gain2, int right_shifts2, [all...] |