Searched refs:gain2 (Results 1 - 7 of 7) sorted by relevance

/external/webrtc/webrtc/common_audio/signal_processing/
H A Dvector_scaling_operations.c122 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);
121 WebRtcSpl_ScaleAndAddVectors(const int16_t *in1, int16_t gain1, int shift1, const int16_t *in2, int16_t gain2, int shift2, int16_t *out, size_t vector_length) argument
/external/speex/libspeex/
H A Dpreprocess.c208 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[
[all...]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dentropy_coding.h176 int WebRtcIsac_EncodeGain2(int32_t* gain2, Bitstr* streamdata);
H A Disac.c772 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);
/external/libxaac/decoder/
H A Dixheaacd_tcx_fwd_alcnx.c153 FLOAT32 gain1[LEN_SUPERFRAME], gain2[LEN_SUPERFRAME]; local
242 ixheaacd_lpc_to_td(i_ap, ORDER, gain2, usac_data->len_subfrm / 4);
255 ixheaacd_noise_shaping(x, lg, (usac_data->len_subfrm) / 4, gain1, gain2);
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dentropy_coding.h75 int WebRtcIsacfix_EncodeGain2(int32_t *gain2,
/external/webrtc/webrtc/common_audio/signal_processing/include/
H A Dsignal_processing_library.h330 int16_t gain2, int right_shifts2,
1169 // + (gain2*in_vector2[k])>>right_shifts2
1176 // - gain2 : Gain to be used for vector 2

Completed in 185 milliseconds