Home
last modified time | relevance | path

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

12345678910>>...19

/external/webrtc/src/common_audio/vad/
Dvad_filterbank.h38 void WebRtcVad_HpOutput(int16_t* in_vector,
40 int16_t* filter_state,
41 int16_t* out_vector);
62 void WebRtcVad_Allpass(int16_t* in_vector,
63 int16_t filter_coefficients,
65 int16_t* filter_state,
66 int16_t* outw16);
87 void WebRtcVad_SplitFilter(int16_t* in_vector,
89 int16_t* upper_state,
90 int16_t* lower_state,
[all …]
Dvad_filterbank.c23 static const int16_t kLogConst = 24660;
26 static const int16_t kHpZeroCoefs[3] = { 6631, -13262, 6631 };
27 static const int16_t kHpPoleCoefs[3] = { 16384, -7756, 5620 };
31 static const int16_t kAllPassCoefsQ15[2] = { 20972, 5571 };
34 static const int16_t kOffsetVector[6] = { 368, 368, 272, 176, 176, 176 };
36 void WebRtcVad_HpOutput(int16_t* in_vector, in WebRtcVad_HpOutput()
38 int16_t* filter_state, in WebRtcVad_HpOutput()
39 int16_t* out_vector) { in WebRtcVad_HpOutput()
41 int16_t* in_ptr = in_vector; in WebRtcVad_HpOutput()
42 int16_t* out_ptr = out_vector; in WebRtcVad_HpOutput()
[all …]
Dvad_gmm.c17 static const int16_t kLog2Exp = 5909; // log2(exp(1)) in Q12.
30 int32_t WebRtcVad_GaussianProbability(int16_t input, in WebRtcVad_GaussianProbability()
31 int16_t mean, in WebRtcVad_GaussianProbability()
32 int16_t std, in WebRtcVad_GaussianProbability()
33 int16_t* delta) { in WebRtcVad_GaussianProbability()
34 int16_t tmp16, inv_std, inv_std2, exp_value = 0; in WebRtcVad_GaussianProbability()
41 inv_std = (int16_t) WebRtcSpl_DivW32W16(tmp32, std); in WebRtcVad_GaussianProbability()
46 inv_std2 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(tmp16, tmp16, 2); in WebRtcVad_GaussianProbability()
57 *delta = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(inv_std2, tmp16, 10); in WebRtcVad_GaussianProbability()
70 tmp16 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(kLog2Exp, (int16_t) tmp32, 12); in WebRtcVad_GaussianProbability()
Dvad_sp.c21 static const int16_t kAllPassCoefsQ13[2] = { 5243, 1392 }; // Q13
25 void WebRtcVad_Downsampling(int16_t* signal_in, in WebRtcVad_Downsampling()
26 int16_t* signal_out, in WebRtcVad_Downsampling()
29 int16_t tmp16_1 = 0, tmp16_2 = 0; in WebRtcVad_Downsampling()
38 tmp16_1 = (int16_t) ((tmp32_1 >> 1) + in WebRtcVad_Downsampling()
45 tmp16_2 = (int16_t) ((tmp32_2 >> 1) + in WebRtcVad_Downsampling()
59 int16_t WebRtcVad_FindMinimum(VadInstT* self, in WebRtcVad_FindMinimum()
60 int16_t feature_value, in WebRtcVad_FindMinimum()
66 int16_t current_median = 1600; in WebRtcVad_FindMinimum()
67 int16_t alpha = 0; in WebRtcVad_FindMinimum()
[all …]
Dvad_unittest.cc27 const int16_t kModes[] = { 0, 1, 2, 3 };
31 const int16_t kRates[] = { 8000, 12000, 16000, 24000, 32000 };
34 const int16_t kMaxFrameLength = 960;
35 const int16_t kFrameLengths[] = { 80, 120, 160, 240, 320, 480, 640,
40 bool ValidRatesAndFrameLengths(int16_t rate, int16_t frame_length) { in ValidRatesAndFrameLengths()
83 int16_t zeros[kMaxFrameLength] = { 0 }; in TEST_F()
87 int16_t speech[kMaxFrameLength]; in TEST_F()
88 for (int16_t i = 0; i < kMaxFrameLength; i++) { in TEST_F()
164 int16_t delta = 0; in TEST_F()
188 int16_t zeros[kMaxFrameLength] = { 0 }; in TEST_F()
[all …]
Dvad_gmm.h34 int32_t WebRtcVad_GaussianProbability(int16_t input,
35 int16_t mean,
36 int16_t std,
37 int16_t* delta);
Dvad_sp.h33 void WebRtcVad_Downsampling(int16_t* signal_in,
34 int16_t* signal_out,
50 int16_t WebRtcVad_FindMinimum(VadInstT* handle,
51 int16_t feature_value,
/external/webrtc/src/modules/audio_processing/ns/
Dnsx_core_neon.c19 const int16_t kExp2Const = 11819; // Q13 in UpdateNoiseEstimateNeon()
20 int16_t* ptr_noiseEstLogQuantile = NULL; in UpdateNoiseEstimateNeon()
21 int16_t* ptr_noiseEstQuantile = NULL; in UpdateNoiseEstimateNeon()
27 int16_t tmp16 = WebRtcSpl_MaxValueW16(inst->noiseEstLogQuantile + offset, in UpdateNoiseEstimateNeon()
83 tmp16 = (int16_t) WEBRTC_SPL_RSHIFT_W32(tmp32no2, 21); in UpdateNoiseEstimateNeon()
85 tmp16 += (int16_t) inst->qNoise; //shift to get result in Q(qNoise) in UpdateNoiseEstimateNeon()
98 int16_t* q_noise) { in NoiseEstimationNeon()
99 int16_t lmagn[HALF_ANAL_BLOCKL], counter, countDiv; in NoiseEstimationNeon()
100 int16_t countProd, delta, zeros, frac; in NoiseEstimationNeon()
101 int16_t log2, tabind, logval, tmp16, tmp16no1, tmp16no2; in NoiseEstimationNeon()
[all …]
Dnsx_core.h175 int16_t* q_noise);
180 int16_t* freq_buff);
186 int16_t* out_frame,
187 int16_t gain_factor);
192 int16_t* out,
193 int16_t* new_speech);
198 int16_t* in,
205 int16_t* in,
206 int16_t* out);
/external/icu4c/i18n/
Dolsontz.h297 int16_t transitionCount() const;
299 int64_t transitionTimeInSeconds(int16_t transIdx) const;
300 double transitionTime(int16_t transIdx) const;
306 int32_t zoneOffsetAt(int16_t transIdx) const;
307 int32_t rawOffsetAt(int16_t transIdx) const;
308 int32_t dstOffsetAt(int16_t transIdx) const;
319 int16_t transitionCountPre32;
320 int16_t transitionCount32;
321 int16_t transitionCountPost32;
346 int16_t typeCount;
[all …]
/external/skia/tests/
DWArrayTest.cpp19 const int16_t data1[] = {-1, 0, -3, 4, 5, 6, 7, 0, 0, 0, 8, 0, 0, 0, 0};
24 const int16_t data2[] = {0, 0, 0, 100, 100, 100, 100, 100, 100, 100, 0, 0};
29 const int16_t data3[] = {1, 2, 0, 0, 0, 3, 4, 0, 0, 0, 0, 5};
34 const int16_t data4[] = {1, 0, 0, 0, 1, 2, 2, 2, 3, 0, 0, 0, 0, 3, 4};
39 const int16_t data5[] = {1, 1, 2, 3, 0, 0, 0, 0, 5, 5, 6, 7, 0, 0, 0, 0, 8, 0};
44 const int16_t data6[] = {1, 0, 0, 0, 0, 1, 2, 3, 3, 4, 5, 5, 5, 6};
49 const int16_t data7[] = {1, 2, 10, 11, 2, 3};
56 const int16_t data8[] = {1, 2, 10, 11, 12, 2, 3};
63 const int16_t data9[] = {1, 1, 10, 2, 3};
70 const int16_t data10[] = {1, 2, 10, 11, 12, 3};
[all …]
/external/webrtc/src/modules/audio_processing/
Daudio_buffer.cc24 void StereoToMono(const int16_t* left, const int16_t* right, in StereoToMono()
25 int16_t* out, int samples_per_channel) { in StereoToMono()
41 int16_t data[kSamplesPer32kHzChannel];
54 int16_t low_pass_data[kSamplesPer16kHzChannel];
55 int16_t high_pass_data[kSamplesPer16kHzChannel];
97 int16_t* AudioBuffer::data(int channel) const { in data()
106 int16_t* AudioBuffer::low_pass_split_data(int channel) const { in low_pass_split_data()
115 int16_t* AudioBuffer::high_pass_split_data(int channel) const { in high_pass_split_data()
124 int16_t* AudioBuffer::mixed_data(int channel) const { in mixed_data()
130 int16_t* AudioBuffer::mixed_low_pass_data(int channel) const { in mixed_low_pass_data()
[all …]
Daudio_buffer.h32 int16_t* data(int channel) const;
33 int16_t* low_pass_split_data(int channel) const;
34 int16_t* high_pass_split_data(int channel) const;
35 int16_t* mixed_data(int channel) const;
36 int16_t* mixed_low_pass_data(int channel) const;
37 int16_t* low_pass_reference(int channel) const;
72 int16_t* data_;
/external/webp/src/dsp/
Denc_neon.c29 const int16_t* in, uint8_t* dst) { in ITransformOne()
31 const int16_t kC1C2[] = { 20091, 17734, 0, 0 }; // kC1 / (kC2 >> 1) / 0 / 0 in ITransformOne()
143 const int16_t* in, uint8_t* dst, int do_two) { in ITransform()
151 static void ITransformWHT(const int16_t* in, int16_t* out) { in ITransformWHT()
221 static const int16_t kCoeff16[] = {
232 int16_t* out) { in FTransform()
236 const int16_t* coeff16 = kCoeff16; in FTransform()
344 static void FTransformWHT(const int16_t* in, int16_t* out) { in FTransformWHT()
Ddsp.h55 typedef void (*VP8Idct)(const uint8_t* ref, const int16_t* in, uint8_t* dst,
57 typedef void (*VP8Fdct)(const uint8_t* src, const uint8_t* ref, int16_t* out);
58 typedef void (*VP8WHT)(const int16_t* in, int16_t* out);
82 typedef int (*VP8QuantizeBlock)(int16_t in[16], int16_t out[16],
99 typedef void (*VP8DecIdct)(const int16_t* coeffs, uint8_t* dst);
101 typedef void (*VP8DecIdct2)(const int16_t* coeffs, uint8_t* dst, int do_two);
/external/skia/legacy/include/core/
DSkAdvancedTypefaceMetrics.h62 int16_t fItalicAngle; // Counterclockwise degrees from vertical of the
65 int16_t fAscent; // Max height above baseline, not including accents.
66 int16_t fDescent; // Max depth below baseline (negative).
67 int16_t fStemV; // Thickness of dominant vertical stem.
68 int16_t fCapHeight; // Height (from baseline) of top of flat capitals.
97 int16_t fVerticalAdvance;
98 int16_t fOriginXDisp; // Horiz. displacement of the secondary origin.
99 int16_t fOriginYDisp; // Vert. displacement of the secondary origin.
101 typedef AdvanceMetric<int16_t> WidthRange;
/external/skia/include/core/
DSkAdvancedTypefaceMetrics.h64 int16_t fItalicAngle; // Counterclockwise degrees from vertical of the
67 int16_t fAscent; // Max height above baseline, not including accents.
68 int16_t fDescent; // Max depth below baseline (negative).
69 int16_t fStemV; // Thickness of dominant vertical stem.
70 int16_t fCapHeight; // Height (from baseline) of top of flat capitals.
99 int16_t fVerticalAdvance;
100 int16_t fOriginXDisp; // Horiz. displacement of the secondary origin.
101 int16_t fOriginYDisp; // Vert. displacement of the secondary origin.
103 typedef AdvanceMetric<int16_t> WidthRange;
/external/skia/legacy/include/utils/
DSkSfntUtils.h23 int16_t fXMin;
24 int16_t fYMin;
25 int16_t fXMax;
26 int16_t fYMax;
29 int16_t fFontDirectionHint;
30 int16_t fIndexToLocFormat;
31 int16_t fGlyphDataFormat;
/external/qemu/target-i386/
Dops_sse.h72 d->W(0) = (int16_t)d->W(0) >> shift; in glue()
73 d->W(1) = (int16_t)d->W(1) >> shift; in glue()
74 d->W(2) = (int16_t)d->W(2) >> shift; in glue()
75 d->W(3) = (int16_t)d->W(3) >> shift; in glue()
77 d->W(4) = (int16_t)d->W(4) >> shift; in glue()
78 d->W(5) = (int16_t)d->W(5) >> shift; in glue()
79 d->W(6) = (int16_t)d->W(6) >> shift; in glue()
80 d->W(7) = (int16_t)d->W(7) >> shift; in glue()
332 #define FADDSW(a, b) satsw((int16_t)(a) + (int16_t)(b))
338 #define FSUBSW(a, b) satsw((int16_t)(a) - (int16_t)(b))
[all …]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dfilterbank_tables.c25 const int16_t WebRtcIsacfix_kHpStCoeffInQ30[8] = {
36 const int16_t WebRtcIsacfix_kHPStCoeffOut1Q30[8] = {
47 const int16_t WebRtcIsacfix_kHPStCoeffOut2Q30[8] = {
55 const int16_t WebRtcIsacfix_kUpperApFactorsQ15[2] = {
60 const int16_t WebRtcIsacfix_kLowerApFactorsQ15[2] = {
Dfilterbank_tables.h32 extern const int16_t WebRtcIsacfix_kHpStCoeffInQ30[8];
36 extern const int16_t WebRtcIsacfix_kHPStCoeffOut1Q30[8];
40 extern const int16_t WebRtcIsacfix_kHPStCoeffOut2Q30[8];
43 extern const int16_t WebRtcIsacfix_kUpperApFactorsQ15[2];
46 extern const int16_t WebRtcIsacfix_kLowerApFactorsQ15[2];
Dlattice_c.c24 void WebRtcIsacfix_FilterArLoop(int16_t* ar_g_Q0, // Input samples in WebRtcIsacfix_FilterArLoop()
25 int16_t* ar_f_Q0, // Input samples in WebRtcIsacfix_FilterArLoop()
26 int16_t* cth_Q15, // Filter coefficients in WebRtcIsacfix_FilterArLoop()
27 int16_t* sth_Q15, // Filter coefficients in WebRtcIsacfix_FilterArLoop()
28 int16_t order_coef) { // order of the filter in WebRtcIsacfix_FilterArLoop()
33 int16_t tmpAR = 0; in WebRtcIsacfix_FilterArLoop()
Dlattice.c42 void WebRtcIsacfix_FilterArLoop(int16_t* ar_g_Q0,
43 int16_t* ar_f_Q0,
44 int16_t* cth_Q15,
45 int16_t* sth_Q15,
46 int16_t order_coef);
55 void WebRtcIsacfix_FilterMaLoopC(int16_t input0, // Filter coefficient in WebRtcIsacfix_FilterMaLoopC()
56 int16_t input1, // Filter coefficient in WebRtcIsacfix_FilterMaLoopC()
65 int16_t t16a = (int16_t)(input2 >> 16); in WebRtcIsacfix_FilterMaLoopC()
66 int16_t t16b = (int16_t)input2; in WebRtcIsacfix_FilterMaLoopC()
/external/libvpx/libvpx/test/
Dfdct4x4_test.cc34 void reference_idct4x4(const int16_t *input, int16_t *output) { in reference_idct4x4()
35 const int16_t *ip = input; in reference_idct4x4()
36 int16_t *op = output; in reference_idct4x4()
78 int16_t test_input_block[16]; in TEST()
79 int16_t test_output_block[16]; in TEST()
141 int16_t test_input_block[16]; in TEST()
142 int16_t test_temp_block[16]; in TEST()
143 int16_t test_output_block[16]; in TEST()
/external/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp36 const int16_t kInvalidAdvance = SK_MinS16;
37 const int16_t kDontCareAdvance = SK_MinS16 + 1;
46 void stripUninterestingTrailingAdvancesFromRange<int16_t>( in stripUninterestingTrailingAdvancesFromRange()
47 … SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t>* range) { in stripUninterestingTrailingAdvancesFromRange()
88 void zeroWildcardsInRange<int16_t>( in zeroWildcardsInRange()
89 SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t>* range) { in zeroWildcardsInRange()
266 bool (*getAdvance)(HDC hdc, int gId, int16_t* data));
272 bool (*getAdvance)(IDWriteFontFace* fontFace, int gId, int16_t* data));
279 bool (*getAdvance)(FT_Face face, int gId, int16_t* data));
286 bool (*getAdvance)(CTFontRef ctFont, int gId, int16_t* data));
[all …]

12345678910>>...19