Home
last modified time | relevance | path

Searched refs:int16_t (Results 1 – 25 of 1673) sorted by relevance

12345678910>>...67

/external/webrtc/webrtc/common_audio/signal_processing/include/
Dsignal_processing_library.h35 (((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/
Dcodec.h35 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 …]
Dstructs.h34 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 …]
Dpitch_estimator.h23 void WebRtcIsacfix_PitchAnalysis(const int16_t *in, /* PITCH_FRAME_LEN samples */
24int16_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 …]
Dlpc_masking_model.c27 int16_t *a16, /* Q11 */ in WebRtcSpl_AToK_JSK()
28 int16_t useOrder, in WebRtcSpl_AToK_JSK()
29 int16_t *k16 /* Q15 */ in WebRtcSpl_AToK_JSK()
36 int16_t tmp_inv_denum16; in WebRtcSpl_AToK_JSK()
43 tmp_inv_denum16 = (int16_t)(tmp_inv_denum32 >> 15); // (1 - k^2) in Q15. in WebRtcSpl_AToK_JSK()
52 a16[k] = (int16_t)(tmp32[k] >> 1); // Q12>>1 => Q11 in WebRtcSpl_AToK_JSK()
56 k16[m - 1] = (int16_t)(tmp32[m] << 3); // Q12<<3 => Q15 in WebRtcSpl_AToK_JSK()
66 int16_t WebRtcSpl_LevinsonW32_JSK( in WebRtcSpl_LevinsonW32_JSK()
68 int16_t *A, /* (o) A[0..order] LPC coefficients (Q11) */ in WebRtcSpl_LevinsonW32_JSK()
69 int16_t *K, /* (o) K[0...order-1] Reflection coefficients (Q15) */ in WebRtcSpl_LevinsonW32_JSK()
[all …]
Dfilterbank_internal.h26 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 …]
/external/webrtc/webrtc/modules/audio_processing/aecm/
Daecm_core.h30 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/
Dconstants.h27 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 …]
Dconstants.c24 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 …]
Ddefines.h121 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/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/include/
Disacfix.h37 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/
Dilbc_specific_functions.c24 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 …]
Dvector_scaling_operations.c25 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/
Disac.h42 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/libvpx/config/x86_64/
Dvp9_rtcd.h45int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
46int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
49 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
50 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type);
53 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
54 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type);
57 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
58 void vp9_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type);
61 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
62 void vp9_fwht4x4_sse2(const int16_t *input, tran_low_t *output, int stride);
[all …]
/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core.h25 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/config/arm64/
Dvp9_rtcd.h43int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
44int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
47 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
50 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
53 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
56 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
62 void vp9_highbd_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
65 void vp9_highbd_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
68 void vp9_highbd_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
71 void vp9_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
[all …]
/external/libvpx/config/arm-neon/
Dvp9_rtcd.h43int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
44int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
47 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
50 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
53 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
56 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
62 void vp9_highbd_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
65 void vp9_highbd_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
68 void vp9_highbd_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
71 void vp9_highbd_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dencode_lpc_swb.c47 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/
Dvad_core.c20 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 …]
Dvad_filterbank.c19 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/libvpx/libvpx/vp9/common/
Dvp9_scan.c15 DECLARE_ALIGNED(16, static const int16_t, default_scan_4x4[16]) = {
19 DECLARE_ALIGNED(16, static const int16_t, col_scan_4x4[16]) = {
23 DECLARE_ALIGNED(16, static const int16_t, row_scan_4x4[16]) = {
27 DECLARE_ALIGNED(16, static const int16_t, default_scan_8x8[64]) = {
34 DECLARE_ALIGNED(16, static const int16_t, col_scan_8x8[64]) = {
41 DECLARE_ALIGNED(16, static const int16_t, row_scan_8x8[64]) = {
48 DECLARE_ALIGNED(16, static const int16_t, default_scan_16x16[256]) = {
69 DECLARE_ALIGNED(16, static const int16_t, col_scan_16x16[256]) = {
90 DECLARE_ALIGNED(16, static const int16_t, row_scan_16x16[256]) = {
111 DECLARE_ALIGNED(16, static const int16_t, default_scan_32x32[1024]) = {
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dtxfm_common_sse2.h18 _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))
25 _mm_set_epi16((int16_t)(b), (int16_t)(b), (int16_t)(b), (int16_t)(b), \
26 (int16_t)(a), (int16_t)(a), (int16_t)(a), (int16_t)(a))
29 _mm_setr_epi16((int16_t)(a), (int16_t)(b), (int16_t)(c), (int16_t)(d), \
30 (int16_t)(e), (int16_t)(f), (int16_t)(g), (int16_t)(h))
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Danalog_agc.h37 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 …]
/external/libvpx/config/x86/
Dvp9_rtcd.h45int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
46int16_t *input, int stride, tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_…
49 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
50 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type);
53 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
54 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type);
57 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_type);
58 void vp9_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, int tx_type);
61 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
62 void vp9_fwht4x4_sse2(const int16_t *input, tran_low_t *output, int stride);
[all …]

12345678910>>...67