/external/webrtc/webrtc/common_audio/signal_processing/include/ |
D | signal_processing_library.h | 35 (((int16_t)a >= 0) ? ((int16_t)a) : -((int16_t)a)) 46 ((int32_t)(int16_t)(a) * (uint16_t)(b)) 53 ((int32_t) (((int16_t)(a)) * ((int16_t)(b)))) 95 ((int16_t)((((int16_t)a * 18816) >> 7) & 0x00007fff)) 102 memcpy(v1, v2, (length) * sizeof(int16_t)) 117 int16_t WebRtcSpl_GetScalingSquare(int16_t* in_vector, 123 void WebRtcSpl_MemSetW16(int16_t* vector, 124 int16_t set_value, 129 void WebRtcSpl_MemCpyReversedOrder(int16_t* out_vector, 130 int16_t* in_vector, [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | codec.h | 35 int WebRtcIsacfix_DecodeImpl(int16_t* signal_out16, 39 void WebRtcIsacfix_DecodePlcImpl(int16_t* decoded, 43 int WebRtcIsacfix_EncodeImpl(int16_t* in, 46 int16_t CodingMode); 72 typedef void (*Time2Spec)(int16_t* inre1Q9, 73 int16_t* inre2Q9, 74 int16_t* outre, 75 int16_t* outim); 76 typedef void (*Spec2Time)(int16_t* inreQ7, 77 int16_t* inimQ7, [all …]
|
D | structs.h | 34 int16_t full; /* 0 - first byte in memory filled, second empty*/ 47 int16_t full; /* 0 - first byte in memory filled, second empty*/ 55 int16_t DataBufferLoQ0[WINLEN]; 56 int16_t DataBufferHiQ0[WINLEN]; 61 int16_t CorrBufLoQdom[ORDERLO+1]; 62 int16_t CorrBufHiQdom[ORDERHI+1]; 75 int16_t PostStateLoGQ0[ORDERLO+1]; 76 int16_t PostStateHiGQ0[ORDERHI+1]; 95 int16_t INLABUF1_fix[QLOOKAHEAD]; 96 int16_t INLABUF2_fix[QLOOKAHEAD]; [all …]
|
D | pitch_estimator.h | 23 void WebRtcIsacfix_PitchAnalysis(const int16_t *in, /* PITCH_FRAME_LEN samples */ 24 … int16_t *outQ0, /* PITCH_FRAME_LEN+QLOOKAHEAD samples */ 26 int16_t *lagsQ7, 27 int16_t *PitchGains_Q12); 29 void WebRtcIsacfix_InitialPitch(const int16_t *in, 31 int16_t *qlags); 33 void WebRtcIsacfix_PitchFilter(int16_t *indatFix, 34 int16_t *outdatQQ, 36 int16_t *lagsQ7, 37 int16_t *gainsQ12, [all …]
|
D | filterbank_internal.h | 26 typedef void (*HighpassFilterFixDec32)(int16_t* io, 27 int16_t len, 28 const int16_t* coefficient, 32 void WebRtcIsacfix_HighpassFilterFixDec32C(int16_t* io, 33 int16_t len, 34 const int16_t* coefficient, 38 void WebRtcIsacfix_HighpassFilterFixDec32MIPS(int16_t* io, 39 int16_t len, 40 const int16_t* coefficient, 45 int16_t *data_ch1, // Input and output in channel 1, in Q0 [all …]
|
D | entropy_coding.h | 26 int16_t *frQ7, 27 int16_t *fiQ7, 28 int16_t AvgPitchGain_Q12); 31 int WebRtcIsacfix_EncodeSpec(const int16_t *fr, 32 const int16_t *fi, 34 int16_t AvgPitchGain_Q12); 41 int16_t *outmodel); 44 int16_t *LPCCoef_loQ15, 45 int16_t *LPCCoef_hiQ15, 47 int16_t *outmodel); [all …]
|
/external/libvpx/config/x86_64/ |
D | vp9_rtcd.h | 44 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 45 int64_t vp9_block_error_fp_sse2(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 51 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 52 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 53 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 56 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 57 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type); 60 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 61 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type); 64 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); [all …]
|
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
D | aecm_core.h | 30 int16_t real; 31 int16_t imag; 46 int16_t farBuf[FAR_BUF_LEN]; 48 int16_t mult; 61 int16_t nlpFlag; 62 int16_t fixedDelay; 66 int16_t dfaCleanQDomain; 67 int16_t dfaCleanQDomainOld; 68 int16_t dfaNoisyQDomain; 69 int16_t dfaNoisyQDomainOld; [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | constants.h | 27 extern const int16_t WebRtcIlbcfix_kHpInCoefs[]; 28 extern const int16_t WebRtcIlbcfix_kHpOutCoefs[]; 31 extern const int16_t WebRtcIlbcfix_kStartSequenceEnrgWin[]; 34 extern const int16_t WebRtcIlbcfix_kLpFiltCoefs[]; 38 extern const int16_t WebRtcIlbcfix_kLpcWin[]; 39 extern const int16_t WebRtcIlbcfix_kLpcAsymWin[]; 41 extern const int16_t WebRtcIlbcfix_kLpcChirpSyntDenum[]; 42 extern const int16_t WebRtcIlbcfix_kLpcChirpWeightDenum[]; 43 extern const int16_t WebRtcIlbcfix_kLsfDimCb[]; 44 extern const int16_t WebRtcIlbcfix_kLsfSizeCb[]; [all …]
|
D | constants.c | 24 const int16_t WebRtcIlbcfix_kHpInCoefs[5] = {3798, -7596, 3798, 7807, -3733}; 25 const int16_t WebRtcIlbcfix_kHpOutCoefs[5] = {3849, -7699, 3849, 7918, -3833}; 30 const int16_t WebRtcIlbcfix_kStartSequenceEnrgWin[NSUB_MAX-1]= { 35 const int16_t WebRtcIlbcfix_kLpFiltCoefs[FILTERORDER_DS_PLUS1]= { 42 const int16_t WebRtcIlbcfix_kLpcWin[BLOCKL_MAX] = { 66 const int16_t WebRtcIlbcfix_kLpcAsymWin[BLOCKL_MAX] = { 98 const int16_t WebRtcIlbcfix_kLpcChirpSyntDenum[LPC_FILTERORDER + 1] = { 106 const int16_t WebRtcIlbcfix_kLpcChirpWeightDenum[LPC_FILTERORDER + 1] = { 111 const int16_t WebRtcIlbcfix_kLsfCb[64 * 3 + 128 * 3 + 128 * 4] = { 434 const int16_t WebRtcIlbcfix_kLsfDimCb[LSF_NSPLIT] = {3, 3, 4}; [all …]
|
D | defines.h | 121 int16_t lsf[LSF_NSPLIT*LPC_N_MAX]; 122 int16_t cb_index[CB_NSTAGES*(NASUB_MAX+1)]; /* First CB_NSTAGES values contains extra CB index */ 123 int16_t gain_index[CB_NSTAGES*(NASUB_MAX+1)]; /* First CB_NSTAGES values contains extra CB gain */ 125 int16_t state_first; 126 int16_t idxVec[STATE_SHORT_LEN_30MS]; 127 int16_t firstbits; 135 int16_t mode; 140 int16_t nasub; 142 int16_t lpc_n; 146 int16_t anaMem[LPC_FILTERORDER]; [all …]
|
/external/libvpx/config/x86/ |
D | vp9_rtcd.h | 44 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 45 int64_t vp9_block_error_fp_sse2(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 51 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 52 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 53 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 56 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 57 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type); 60 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 61 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type); 64 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); [all …]
|
/external/libvpx/config/arm64/ |
D | vp9_rtcd.h | 42 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 43 int64_t vp9_block_error_fp_neon(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 49 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 50 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 53 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 56 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 59 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 68 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 71 void vp9_hadamard_16x16_c(int16_t const *src_diff, int src_stride, int16_t *coeff); 74 void vp9_hadamard_8x8_c(int16_t const *src_diff, int src_stride, int16_t *coeff); [all …]
|
/external/libvpx/config/arm-neon/ |
D | vp9_rtcd.h | 42 int64_t vp9_block_error_fp_c(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 43 int64_t vp9_block_error_fp_neon(const int16_t *coeff, const int16_t *dqcoeff, int block_size); 49 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 50 …int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 53 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 56 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 59 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type); 68 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 71 void vp9_hadamard_16x16_c(int16_t const *src_diff, int src_stride, int16_t *coeff); 74 void vp9_hadamard_8x8_c(int16_t const *src_diff, int src_stride, int16_t *coeff); [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/include/ |
D | isacfix.h | 37 int16_t WebRtcIsacfix_AssignSize(int *sizeinbytes); 54 int16_t WebRtcIsacfix_Assign(ISACFIX_MainStruct **inst, 70 int16_t WebRtcIsacfix_Create(ISACFIX_MainStruct **ISAC_main_inst); 85 int16_t WebRtcIsacfix_Free(ISACFIX_MainStruct *ISAC_main_inst); 106 int16_t WebRtcIsacfix_EncoderInit(ISACFIX_MainStruct *ISAC_main_inst, 107 int16_t CodingMode); 132 const int16_t *speechIn, 163 int16_t WebRtcIsacfix_EncodeNb(ISACFIX_MainStruct *ISAC_main_inst, 164 const int16_t *speechIn, 165 int16_t *encoded); [all …]
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
D | ilbc_specific_functions.c | 24 void WebRtcSpl_ReverseOrderMultArrayElements(int16_t *out, const int16_t *in, in WebRtcSpl_ReverseOrderMultArrayElements() 25 const int16_t *win, in WebRtcSpl_ReverseOrderMultArrayElements() 27 int16_t right_shifts) in WebRtcSpl_ReverseOrderMultArrayElements() 30 int16_t *outptr = out; in WebRtcSpl_ReverseOrderMultArrayElements() 31 const int16_t *inptr = in; in WebRtcSpl_ReverseOrderMultArrayElements() 32 const int16_t *winptr = win; in WebRtcSpl_ReverseOrderMultArrayElements() 35 *outptr++ = (int16_t)((*inptr++ * *winptr--) >> right_shifts); in WebRtcSpl_ReverseOrderMultArrayElements() 39 void WebRtcSpl_ElementwiseVectorMult(int16_t *out, const int16_t *in, in WebRtcSpl_ElementwiseVectorMult() 40 const int16_t *win, size_t vector_length, in WebRtcSpl_ElementwiseVectorMult() 41 int16_t right_shifts) in WebRtcSpl_ElementwiseVectorMult() [all …]
|
D | vector_scaling_operations.c | 25 void WebRtcSpl_VectorBitShiftW16(int16_t *res, size_t length, in WebRtcSpl_VectorBitShiftW16() 26 const int16_t *in, int16_t right_shifts) in WebRtcSpl_VectorBitShiftW16() 48 int16_t right_shifts) in WebRtcSpl_VectorBitShiftW32() 67 void WebRtcSpl_VectorBitShiftW32ToW16(int16_t* out, size_t length, in WebRtcSpl_VectorBitShiftW32ToW16() 86 void WebRtcSpl_ScaleVector(const int16_t *in_vector, int16_t *out_vector, in WebRtcSpl_ScaleVector() 87 int16_t gain, size_t in_vector_length, in WebRtcSpl_ScaleVector() 88 int16_t right_shifts) in WebRtcSpl_ScaleVector() 92 const int16_t *inptr; in WebRtcSpl_ScaleVector() 93 int16_t *outptr; in WebRtcSpl_ScaleVector() 100 *outptr++ = (int16_t)((*inptr++ * gain) >> right_shifts); in WebRtcSpl_ScaleVector() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/include/ |
D | isac.h | 42 int16_t WebRtcIsac_AssignSize( 61 int16_t WebRtcIsac_Assign( 79 int16_t WebRtcIsac_Create( 95 int16_t WebRtcIsac_Free( 118 int16_t WebRtcIsac_EncoderInit( 120 int16_t CodingMode); 149 const int16_t* speechIn, 182 int16_t WebRtcIsac_UpdateBwEstimate( 215 int16_t* decoded, 216 int16_t* speechType); [all …]
|
/external/webrtc/webrtc/modules/audio_processing/ns/ |
D | nsx_core.h | 25 const int16_t* window; 26 int16_t analysisBuffer[ANAL_BLOCKL_MAX]; 27 int16_t synthesisBuffer[ANAL_BLOCKL_MAX]; 31 const int16_t* factor2Table; 32 int16_t noiseEstLogQuantile[SIMULT* HALF_ANAL_BLOCKL]; 33 int16_t noiseEstDensity[SIMULT* HALF_ANAL_BLOCKL]; 34 int16_t noiseEstCounter[SIMULT]; 35 int16_t noiseEstQuantile[HALF_ANAL_BLOCKL]; 51 int16_t weightLogLrt; 55 int16_t weightSpecDiff; [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | txfm_common_sse2.h | 18 _mm_set_epi16((int16_t)(b), (int16_t)(a), (int16_t)(b), (int16_t)(a), \ 19 (int16_t)(b), (int16_t)(a), (int16_t)(b), (int16_t)(a)) 22 _mm_set_epi16((int16_t)(b), (int16_t)(b), (int16_t)(b), (int16_t)(b), \ 23 (int16_t)(a), (int16_t)(a), (int16_t)(a), (int16_t)(a)) 26 _mm_setr_epi16((int16_t)(a), (int16_t)(b), (int16_t)(c), (int16_t)(d), \ 27 (int16_t)(e), (int16_t)(f), (int16_t)(g), (int16_t)(h))
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_scan.c | 15 DECLARE_ALIGNED(16, static const int16_t, default_scan_4x4[16]) = { 22 DECLARE_ALIGNED(16, static const int16_t, col_scan_4x4[16]) = { 29 DECLARE_ALIGNED(16, static const int16_t, row_scan_4x4[16]) = { 36 DECLARE_ALIGNED(16, static const int16_t, default_scan_8x8[64]) = { 47 DECLARE_ALIGNED(16, static const int16_t, col_scan_8x8[64]) = { 58 DECLARE_ALIGNED(16, static const int16_t, row_scan_8x8[64]) = { 69 DECLARE_ALIGNED(16, static const int16_t, default_scan_16x16[256]) = { 90 DECLARE_ALIGNED(16, static const int16_t, col_scan_16x16[256]) = { 111 DECLARE_ALIGNED(16, static const int16_t, row_scan_16x16[256]) = { 133 DECLARE_ALIGNED(16, static const int16_t, default_scan_32x32[1024]) = { [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | encode_lpc_swb.c | 47 int16_t 50 int16_t bandwidth) in WebRtcIsac_RemoveLarMean() 52 int16_t coeffCntr; in WebRtcIsac_RemoveLarMean() 53 int16_t vecCntr; in WebRtcIsac_RemoveLarMean() 54 int16_t numVec; in WebRtcIsac_RemoveLarMean() 101 int16_t 105 int16_t bandwidth) in WebRtcIsac_DecorrelateIntraVec() 109 int16_t rowCntr; in WebRtcIsac_DecorrelateIntraVec() 110 int16_t colCntr; in WebRtcIsac_DecorrelateIntraVec() 111 int16_t larVecCntr; in WebRtcIsac_DecorrelateIntraVec() [all …]
|
/external/webrtc/webrtc/common_audio/vad/ |
D | vad_core.c | 20 static const int16_t kSpectrumWeight[kNumChannels] = { 6, 8, 10, 12, 14, 16 }; 21 static const int16_t kNoiseUpdateConst = 655; // Q15 22 static const int16_t kSpeechUpdateConst = 6554; // Q15 23 static const int16_t kBackEta = 154; // Q8 25 static const int16_t kMinimumDifference[kNumChannels] = { 28 static const int16_t kMaximumSpeech[kNumChannels] = { 31 static const int16_t kMinimumMean[kNumGaussians] = { 640, 768 }; 33 static const int16_t kMaximumNoise[kNumChannels] = { 37 static const int16_t kNoiseDataWeights[kTableSize] = { 40 static const int16_t kSpeechDataWeights[kTableSize] = { [all …]
|
D | vad_filterbank.c | 19 static const int16_t kLogConst = 24660; // 160*log10(2) in Q9. 20 static const int16_t kLogEnergyIntPart = 14336; // 14 in Q10 23 static const int16_t kHpZeroCoefs[3] = { 6631, -13262, 6631 }; 24 static const int16_t kHpPoleCoefs[3] = { 16384, -7756, 5620 }; 28 static const int16_t kAllPassCoefsQ15[2] = { 20972, 5571 }; 31 static const int16_t kOffsetVector[6] = { 368, 368, 272, 176, 176, 176 }; 41 static void HighPassFilter(const int16_t* data_in, size_t data_length, in HighPassFilter() 42 int16_t* filter_state, int16_t* data_out) { in HighPassFilter() 44 const int16_t* in_ptr = data_in; in HighPassFilter() 45 int16_t* out_ptr = data_out; in HighPassFilter() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
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 lastError; [all …]
|