/external/chromium_org/third_party/webrtc/modules/audio_processing/agc/ |
H A D | digital_agc.h | 28 int16_t HPstate; 29 int16_t counter; 30 int16_t logRatio; // log( P(active) / P(inactive) ) (Q10) 31 int16_t meanLongTerm; // Q10 33 int16_t stdLongTerm; // Q10 34 int16_t meanShortTerm; // Q10 36 int16_t stdShortTerm; // Q10 45 int16_t gatePrevious; 46 int16_t agcMode; 55 int32_t WebRtcAgc_InitDigital(DigitalAgc_t *digitalAgcInst, int16_t agcMod [all...] |
H A D | analog_agc.h | 37 static const int16_t kMsecSpeechInner = 520; 38 static const int16_t kMsecSpeechOuter = 340; 40 static const int16_t kNormalVadThreshold = 400; 42 static const int16_t kAlphaShortTerm = 6; // 1 >> 6 = 0.0156 43 static const int16_t kAlphaLongTerm = 10; // 1 >> 10 = 0.000977 49 int16_t compressionGaindB; // Fixed gain level in dB 50 int16_t targetLevelDbfs; // Target level in -dBfs of envelope (default -3) 51 int16_t agcMode; // Hard coded mode (adaptAna/adaptDig/fixedDig) 57 int16_t initFlag; 58 int16_t lastErro [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
H A D | acm_dtmf_playout.cc | 25 ACMDTMFPlayout::ACMDTMFPlayout(int16_t /* codec_id */) { return; } 29 int16_t ACMDTMFPlayout::InternalEncode(uint8_t* /* bitstream */, 30 int16_t* /* bitstream_len_byte */) { 34 int16_t ACMDTMFPlayout::InternalInitEncoder( 41 int16_t ACMDTMFPlayout::InternalCreateEncoder() { return -1; } 49 ACMDTMFPlayout::ACMDTMFPlayout(int16_t codec_id) { codec_id_ = codec_id; } 53 int16_t ACMDTMFPlayout::InternalEncode(uint8_t* /* bitstream */, 54 int16_t* /* bitstream_len_byte */) { 58 int16_t ACMDTMFPlayout::InternalInitEncoder( 67 int16_t ACMDTMFPlayou [all...] |
H A D | acm_speex.h | 26 explicit ACMSPEEX(int16_t codec_id); 32 int16_t InternalEncode(uint8_t* bitstream, int16_t* bitstream_len_byte); 34 int16_t InternalInitEncoder(WebRtcACMCodecParams* codec_params); 39 int16_t InternalCreateEncoder(); 41 int16_t SetBitRateSafe(const int32_t rate); 43 int16_t EnableDTX(); 45 int16_t DisableDTX(); 48 int16_t EnableVBR(); 50 int16_t DisableVB [all...] |
H A D | acm_gsmfr.h | 26 explicit ACMGSMFR(int16_t codec_id); 32 int16_t InternalEncode(uint8_t* bitstream, int16_t* bitstream_len_byte); 34 int16_t InternalInitEncoder(WebRtcACMCodecParams* codec_params); 39 int16_t InternalCreateEncoder(); 41 int16_t EnableDTX(); 43 int16_t DisableDTX();
|
H A D | acm_dtmf_playout.h | 22 explicit ACMDTMFPlayout(int16_t codec_id); 28 int16_t InternalEncode(uint8_t* bitstream, int16_t* bitstream_len_byte); 30 int16_t InternalInitEncoder(WebRtcACMCodecParams* codec_params); 35 int16_t InternalCreateEncoder();
|
H A D | acm_red.cc | 20 ACMRED::ACMRED(int16_t codec_id) { codec_id_ = codec_id; } 24 int16_t ACMRED::InternalEncode(uint8_t* /* bitstream */, 25 int16_t* /* bitstream_len_byte */) { 31 int16_t ACMRED::InternalInitEncoder(WebRtcACMCodecParams* /* codec_params */) { 39 int16_t ACMRED::InternalCreateEncoder() {
|
H A D | acm_red.h | 22 explicit ACMRED(int16_t codec_id); 28 int16_t InternalEncode(uint8_t* bitstream, int16_t* bitstream_len_byte); 30 int16_t InternalInitEncoder(WebRtcACMCodecParams* codec_params); 35 int16_t InternalCreateEncoder();
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | arith_routins.h | 41 int16_t *dataQ7, 43 const int16_t lenData); 57 int16_t WebRtcIsacfix_EncTerminate(Bitstr_enc *streamData); 77 int16_t WebRtcIsacfix_DecLogisticMulti2( 78 int16_t *data, 81 const int16_t lenData); 100 const int16_t *data, 102 const int16_t lenData); 125 int16_t WebRtcIsacfix_DecHistBisectMulti( 126 int16_t *dat [all...] |
H A D | lpc_masking_model.h | 27 void WebRtcIsacfix_GetVars(const int16_t *input, 28 const int16_t *pitchGains_Q12, 30 int16_t *varscale); 32 void WebRtcIsacfix_GetLpcCoef(int16_t *inLoQ0, 33 int16_t *inHiQ0, 35 int16_t snrQ10, 36 const int16_t *pitchGains_Q12, 38 int16_t *lo_coeffQ15, 39 int16_t *hi_coeffQ15); 44 int16_t* a_polynomia [all...] |
H A D | spectrum_ar_model_tables.h | 45 extern const int16_t WebRtcIsacfix_kRc1Levels[11]; 48 extern const int16_t WebRtcIsacfix_kRc2Levels[11]; 51 extern const int16_t WebRtcIsacfix_kRc3Levels[11]; 54 extern const int16_t WebRtcIsacfix_kRc4Levels[11]; 57 extern const int16_t WebRtcIsacfix_kRc5Levels[11]; 60 extern const int16_t WebRtcIsacfix_kRc6Levels[11]; 63 extern const int16_t WebRtcIsacfix_kRcBound[12]; 72 extern const int16_t *WebRtcIsacfix_kRcLevPtr[AR_ORDER]; 93 extern const int16_t WebRtcIsacfix_kCos[6][60];
|
H A D | bandwidth_estimator.h | 62 const int16_t frameSize, 65 const int16_t pksize, 69 int16_t WebRtcIsacfix_UpdateUplinkBwRec(BwEstimatorstr *bwest_str, 70 const int16_t Index); 90 int16_t WebRtcIsacfix_GetUplinkBandwidth(const BwEstimatorstr *bwest_str); 93 int16_t WebRtcIsacfix_GetDownlinkMaxDelay(const BwEstimatorstr *bwest_str); 96 int16_t WebRtcIsacfix_GetUplinkMaxDelay(const BwEstimatorstr *bwest_str); 103 int16_t StreamSize, /* bytes in bitstream */ 104 const int16_t FrameLen, /* ms per frame */ 105 const int16_t BottleNec [all...] |
H A D | codec.h | 35 int16_t WebRtcIsacfix_DecodeImpl(int16_t* signal_out16, 37 int16_t* current_framesamples); 39 int16_t WebRtcIsacfix_DecodePlcImpl(int16_t* decoded, 41 int16_t* current_framesample ); 43 int WebRtcIsacfix_EncodeImpl(int16_t* in, 46 int16_t CodingMode); 72 typedef void (*Time2Spec)(int16_t* inre1Q9, 73 int16_t* inre2Q [all...] |
H A D | pitch_lag_tables.c | 69 const int16_t WebRtcIsacfix_kLowerLimitLo[4] = { 73 const int16_t WebRtcIsacfix_kUpperLimitLo[4] = { 84 const int16_t WebRtcIsacfix_kMeanLag2Lo[19] = { 89 const int16_t WebRtcIsacfix_kMeanLag4Lo[9] = { 156 const int16_t WebRtcIsacfix_kLowerLimitMid[4] = { 160 const int16_t WebRtcIsacfix_kUpperLimitMid[4] = { 171 const int16_t WebRtcIsacfix_kMeanLag2Mid[35] = { 180 const int16_t WebRtcIsacfix_kMeanLag4Mid[19] = { 278 const int16_t WebRtcIsacfix_kLowerLimitHi[4] = { 282 const int16_t WebRtcIsacfix_kUpperLimitH [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | my_corr.c | 27 int16_t *seq1, /* (i) first sequence */ 28 int16_t dim1, /* (i) dimension first seq1 */ 29 const int16_t *seq2, /* (i) second sequence */ 30 int16_t dim2 /* (i) dimension seq2 */ 32 int16_t max, scale, loops; 40 scale = (int16_t)(WEBRTC_SPL_MUL_16_16(2,scale)-26); 48 WebRtcSpl_CrossCorrelation(corr, (int16_t*)seq2, seq1, dim2, loops, scale, 1);
|
H A D | bw_expand.c | 27 int16_t *out, /* (o) the bandwidth expanded lpc coefficients */ 28 int16_t *in, /* (i) the lpc coefficients before bandwidth 30 int16_t *coef, /* (i) the bandwidth expansion factor Q15 */ 31 int16_t length /* (i) the length of lpc coefficient vectors */ 40 out[i] = (int16_t)((WEBRTC_SPL_MUL_16_16(coef[i], in[i])+16384)>>15);
|
H A D | cb_mem_energy_calc.c | 26 int16_t range, /* (i) number of iterations */ 27 int16_t *ppi, /* (i) input pointer 1 */ 28 int16_t *ppo, /* (i) input pointer 2 */ 29 int16_t *energyW16, /* (o) Energy in the CB vectors */ 30 int16_t *energyShifts, /* (o) Shift value of the energy */ 31 int16_t scale, /* (i) The scaling of all energy values */ 32 int16_t base_size /* (i) Index to where the energy values should be stored */ 35 int16_t j,shft; 37 int16_t *eSh_ptr; 38 int16_t *eW16_pt [all...] |
H A D | cb_update_best_index.c | 25 int16_t CritNewSh, /* (i) Shift value of above Criteria */ 26 int16_t IndexNew, /* (i) Index of new Criteria */ 28 int16_t invEnergyNew, /* (i) Inversed energy new index */ 29 int16_t energyShiftNew, /* (i) Energy shifts of new index */ 31 int16_t *shTotMax, /* (i/o) Shifts of maximum criteria */ 32 int16_t *bestIndex, /* (i/o) Index that corresponds to 34 int16_t *bestGain) /* (i/o) Gain in Q14 that corresponds 37 int16_t shOld, shNew, tmp16; 38 int16_t scaleTmp; 57 tmp16 = (int16_t)WebRtcSpl_NormW3 [all...] |
H A D | lsp_to_lsf.c | 27 int16_t *lsp, /* (i) lsp vector -1...+1 in Q15 */ 28 int16_t *lsf, /* (o) Lsf vector 0...Pi in Q13 30 int16_t m /* (i) Number of coefficients */ 33 int16_t i, k; 34 int16_t diff; /* diff between table value and desired value (Q15) */ 35 int16_t freq; /* lsf/(2*pi) (Q16) */ 36 int16_t *lspPtr, *lsfPtr, *cosTblPtr; 37 int16_t tmp; 49 cosTblPtr=(int16_t*)&WebRtcIlbcfix_kCos[k]; 71 tmp = (int16_t)WEBRTC_SPL_MUL_16_16_RSF [all...] |
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/include/ |
H A D | signal_processing_library.h | 35 (((int16_t)a >= 0) ? ((int16_t)a) : -((int16_t)a)) 48 ((int32_t)(int16_t)(a) * (uint16_t)(b)) 55 ((int32_t) (((int16_t)(a)) * ((int16_t)(b)))) 101 ((int16_t)(WEBRTC_SPL_MUL_16_16_RSFT((a), 18816, 7) & 0x00007fff)) 108 memcpy(v1, v2, (length) * sizeof(int16_t)) 124 int16_t WebRtcSpl_get_version(char* version, int16_t length_in_byte [all...] |
H A D | real_fft.h | 30 const int16_t* real_data_in, 31 int16_t* complex_data_out); 33 const int16_t* complex_data_in, 34 int16_t* real_data_out); 81 const int16_t* real_data_in, 82 int16_t* complex_data_out); 86 const int16_t* real_data_in, 87 int16_t* complex_data_out); 115 const int16_t* complex_data_in, 116 int16_t* real_data_ou [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/cng/include/ |
H A D | webrtc_cng.h | 48 int16_t WebRtcCng_CreateEnc(CNG_enc_inst** cng_inst); 49 int16_t WebRtcCng_CreateDec(CNG_dec_inst** cng_inst); 70 int16_t WebRtcCng_InitEnc(CNG_enc_inst* cng_inst, uint16_t fs, int16_t interval, 71 int16_t quality); 72 int16_t WebRtcCng_InitDec(CNG_dec_inst* cng_inst); 85 int16_t WebRtcCng_FreeEnc(CNG_enc_inst* cng_inst); 86 int16_t WebRtcCng_FreeDec(CNG_dec_inst* cng_inst); 105 int16_t WebRtcCng_Encode(CNG_enc_inst* cng_inst, int16_t* speec [all...] |
/external/chromium_org/third_party/webrtc/common_audio/vad/ |
H A D | vad_core.h | 33 int16_t noise_means[kTableSize]; 34 int16_t speech_means[kTableSize]; 35 int16_t noise_stds[kTableSize]; 36 int16_t speech_stds[kTableSize]; 39 int16_t over_hang; // Over Hang 40 int16_t num_of_speech; 42 int16_t index_vector[16 * kNumChannels]; 43 int16_t low_value_vector[16 * kNumChannels]; 45 int16_t mean_value[kNumChannels]; 46 int16_t upper_stat [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_quantize.h | 22 DECLARE_ALIGNED(16, int16_t, y_quant[QINDEX_RANGE][8]); 23 DECLARE_ALIGNED(16, int16_t, y_quant_shift[QINDEX_RANGE][8]); 24 DECLARE_ALIGNED(16, int16_t, y_zbin[QINDEX_RANGE][8]); 25 DECLARE_ALIGNED(16, int16_t, y_round[QINDEX_RANGE][8]); 29 DECLARE_ALIGNED(16, int16_t, y_quant_fp[QINDEX_RANGE][8]); 30 DECLARE_ALIGNED(16, int16_t, uv_quant_fp[QINDEX_RANGE][8]); 31 DECLARE_ALIGNED(16, int16_t, y_round_fp[QINDEX_RANGE][8]); 32 DECLARE_ALIGNED(16, int16_t, uv_round_fp[QINDEX_RANGE][8]); 34 DECLARE_ALIGNED(16, int16_t, uv_quant[QINDEX_RANGE][8]); 35 DECLARE_ALIGNED(16, int16_t, uv_quant_shif [all...] |
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
H A D | cross_correlation_mips.c | 14 const int16_t* seq1, 15 const int16_t* seq2, 16 int16_t dim_seq, 17 int16_t dim_cross_correlation, 18 int16_t right_shifts, 19 int16_t step_seq2) { 22 int16_t *pseq2 = NULL; 23 int16_t *pseq1 = NULL; 24 int16_t *pseq1_0 = (int16_t*) [all...] |