/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | transform_unittest.cc | 14 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 …]
|
D | filterbanks_unittest.cc | 24 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/ |
D | input_audio_file_unittest.cc | 21 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/ |
D | intelligibility_utils_unittest.cc | 74 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 …]
|
D | intelligibility_enhancer_unittest.cc | 77 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/ |
D | neteq_unittest.cc | 596 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/ |
D | wav_file_unittest.cc | 24 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/ |
D | predictor_test.cc | 35 const char kSamples[] = "smartreply_samples.tsv"; variable 124 std::ifstream fin(StrCat(TestDataPath(), "/", kSamples)); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | batch_normalization_test.cc | 55 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/ |
D | transport_feedback_unittest.cc | 336 const int kSamples = 100; in TEST() local 339 for (int i = 0; i < kSamples; ++i) in TEST()
|
/external/icu/icu4c/source/i18n/ |
D | plurrule_impl.h | 176 kSamples enumerator
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audio_processing_unittest.cc | 1564 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()
|