Home
last modified time | relevance | path

Searched refs:kCoefficients (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/common_audio/
Dfir_filter_unittest.cc21 static const float kCoefficients[] = {0.2f, 0.3f, 0.5f, 0.7f, 0.11f}; variable
22 static const size_t kCoefficientsLength = sizeof(kCoefficients) /
23 sizeof(kCoefficients[0]);
41 const float kCoefficients[] = {1.f, 0.f, 0.f, 0.f, 0.f}; in TEST() local
44 FIRFilter::Create(kCoefficients, kCoefficientsLength, kInputLength)); in TEST()
51 const float kCoefficients[] = {5.f, 0.f, 0.f, 0.f, 0.f}; in TEST() local
54 FIRFilter::Create(kCoefficients, kCoefficientsLength, kInputLength)); in TEST()
64 const float kCoefficients[] = {0.f, 0.f, 0.f, 0.f, 1.f}; in TEST() local
67 FIRFilter::Create(kCoefficients, kCoefficientsLength, kInputLength)); in TEST()
80 FIRFilter::Create(kCoefficients, kCoefficientsLength, kInputLength)); in TEST()
[all …]
/external/webrtc/webrtc/modules/audio_processing/transient/
Dwpd_node_unittest.cc27 static const float kCoefficients[] = {0.2f, -0.3f, 0.5f, -0.7f, 0.11f}; variable
28 static const size_t kCoefficientsLength = sizeof(kCoefficients) /
29 sizeof(kCoefficients[0]);
32 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
49 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
59 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dexpand.cc701 static const int kCoefficients[4] = { -5179, 19931, -16422, 5776 }; in AnalyzeSignal() local
702 int32_t temp_sum = kCoefficients[0] << 14; in AnalyzeSignal()
703 temp_sum += kCoefficients[1] * x1; in AnalyzeSignal()
704 temp_sum += kCoefficients[2] * x2; in AnalyzeSignal()
705 temp_sum += kCoefficients[3] * x3; in AnalyzeSignal()