Home
last modified time | relevance | path

Searched refs:kSamples (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dtransform_unittest.cc14 static const int kSamples = FRAMESAMPLES/2; variable
15 static const int32_t spec2time_out_expected_1[kSamples] = {
49 static const int32_t spec2time_out_expected_2[kSamples] = {
84 static const int16_t time2spec_out_expected_1[kSamples] = {
105 static const int16_t time2spec_out_expected_2[kSamples] = {
137 int16_t data_in_1[kSamples] = {0}; in Time2SpecTester()
138 int16_t data_in_2[kSamples] = {0}; in Time2SpecTester()
139 int16_t data_out_1[kSamples] = {0}; in Time2SpecTester()
140 int16_t data_out_2[kSamples] = {0}; in Time2SpecTester()
142 for(int i = 0; i < kSamples; i++) { in Time2SpecTester()
[all …]
Dfilterbanks_unittest.cc24 const int kSamples = QLOOKAHEAD; in CalculateResidualEnergyTester() local
26 int16_t data_ch1[kSamples] = {0}; in CalculateResidualEnergyTester()
27 int16_t data_ch2[kSamples] = {0}; in CalculateResidualEnergyTester()
32 const int32_t out_data_ch1[kSamples] = {0, 0, 347, 10618, 16718, -7089, in CalculateResidualEnergyTester()
35 const int32_t out_data_ch2[kSamples] = {0, 0, 3010, 22351, 21106, 16969, in CalculateResidualEnergyTester()
40 for (int i = 0; i < kSamples; i++) { in CalculateResidualEnergyTester()
50 kSamples, in CalculateResidualEnergyTester()
54 for (int i = 0; i < kSamples; i++) { in CalculateResidualEnergyTester()
77 const int kSamples = 20; in TEST_F() local
78 int16_t in[kSamples]; in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dinput_audio_file_unittest.cc21 static const size_t kSamples = 10; in TEST() local
23 int16_t input[kSamples]; in TEST()
24 for (size_t i = 0; i < kSamples; ++i) { in TEST()
27 int16_t output[kSamples * kChannels]; in TEST()
28 InputAudioFile::DuplicateInterleaved(input, kSamples, kChannels, output); in TEST()
32 for (size_t i = 0; i < kSamples; ++i) { in TEST()
40 static const size_t kSamples = 10; in TEST() local
42 int16_t input[kSamples * kChannels]; in TEST()
43 for (size_t i = 0; i < kSamples; ++i) { in TEST()
46 InputAudioFile::DuplicateInterleaved(input, kSamples, kChannels, input); in TEST()
[all …]
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_utils_unittest.cc74 const int kSamples = 100; in TEST() local
84 GenerateTestData(kFreqs, kSamples)); in TEST()
95 for (int i = 1; i < kSamples; i++) { in TEST()
117 const int kSamples = 50; in TEST() local
125 vector<vector<complex<float>>> test_data(kSamples); in TEST()
126 for (int i = 0; i < kSamples; i++) { in TEST()
129 test_data[i].push_back(complex<float>(static_cast<float>(kSamples - i), in TEST()
137 for (int i = 0; i < kSamples; i++) { in TEST()
161 const int kSamples = 100; in TEST() local
165 GenerateTestData(kFreqs, kSamples)); in TEST()
[all …]
Dintelligibility_enhancer_unittest.cc77 const int kSamples = 2000; variable
90 : clear_data_(kSamples), noise_data_(kSamples), orig_data_(kSamples) { in IntelligibilityEnhancerTest()
101 for (int i = 0; i < kSamples; i += kFragmentSize) { in CheckUpdate()
107 for (int i = 0; i < kSamples; i++) { in CheckUpdate()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.cc596 const size_t kSamples = 10 * 16; in TEST_F() local
597 const size_t kPayloadBytes = kSamples * 2; in TEST_F()
602 rtp_info.header.timestamp = i * kSamples; in TEST_F()
640 const size_t kSamples = 10 * 16; in TEST_F() local
641 const size_t kPayloadBytes = kSamples * 2; in TEST_F()
649 PopulateRtpInfo(frame_index, frame_index * kSamples, &rtp_info); in TEST_F()
671 const size_t kSamples = 10 * 16; in TEST_F() local
672 const size_t kPayloadBytes = kSamples * 2; in TEST_F()
680 PopulateRtpInfo(frame_index, frame_index * kSamples, &rtp_info); in TEST_F()
707 const size_t kSamples = kFrameSizeMs * 16; in LongCngWithClockDrift() local
[all …]
/external/webrtc/webrtc/common_audio/
Dwav_file_unittest.cc24 static const float kSamples[] = {0.0, 10.0, 4e4, -1e9}; variable
35 w.WriteSamples(kSamples, kNumSamples); in TEST()
99 rtc_WavWriteSamples(w, &kSamples[0], 2); in TEST()
101 rtc_WavWriteSamples(w, &kSamples[2], kNumSamples - 2); in TEST()
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/
Dpredictor_test.cc35 const char kSamples[] = "smartreply_samples.tsv"; variable
124 std::ifstream fin(StrCat(TestDataPath(), "/", kSamples)); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dbatch_normalization_test.cc55 BatchNormalizationTest() : input_array_(kSamples, kZ, kY, kX) { in BatchNormalizationTest()
66 CHECK_EQ(kSamples, input_array_.planes()); in BatchNormalizationTest()
72 static constexpr int64 kSamples = 3; member in xla::__anonbe6c16ad0111::BatchNormalizationTest
99 Array4D<float> expected(kSamples, kZ, kY, kX); in XLA_TEST_P()
116 Array4D<float> expected(kSamples, kZ, kY, kX); in XLA_TEST_P()
209 Array4D<float> expected(kSamples, kZ, kY, kX); in XLA_TEST_P()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback_unittest.cc336 const int kSamples = 100; in TEST() local
339 for (int i = 0; i < kSamples; ++i) in TEST()
/external/icu/icu4c/source/i18n/
Dplurrule_impl.h176 kSamples enumerator
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc1564 const size_t kSamples = 80; in TEST_F() local
1566 const float src[kSamples] = { in TEST_F()
1569 float dest[kSamples] = {}; in TEST_F()
1576 &src_channels, kSamples, sample_rate, LayoutFromChannels(1), in TEST_F()
1579 for (size_t i = 0; i < kSamples; ++i) { in TEST_F()
1584 float rev_dest[kSamples] = {}; in TEST_F()
1592 for (size_t i = 0; i < kSamples; ++i) { in TEST_F()