Home
last modified time | relevance | path

Searched refs:kSampleRate (Results 1 – 16 of 16) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dtime_stretch_unittest.cc33 const int kSampleRate = 8000; in TEST() local
34 const int kOverlapSamples = 5 * kSampleRate / 8000; in TEST()
36 Accelerate accelerate(kSampleRate, kNumChannels, bgn); in TEST()
38 kSampleRate, kNumChannels, bgn, kOverlapSamples); in TEST()
42 const int kSampleRate = 8000; in TEST() local
43 const int kOverlapSamples = 5 * kSampleRate / 8000; in TEST()
48 accelerate_factory.Create(kSampleRate, kNumChannels, bgn); in TEST()
54 kSampleRate, kNumChannels, bgn, kOverlapSamples); in TEST()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfilterbank_test.cc24 const int kSampleRate = 1000; variable
54 kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
65 kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
76 kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
93 kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
110 kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
127 kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
147 kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
185 kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
203 kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
Dwindow_test.cc22 const int kSampleRate = 1000; variable
49 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
68 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
87 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
110 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
126 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
153 WindowPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
Dfrontend_test.cc22 const int kSampleRate = 1000; variable
63 FrontendPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
84 FrontendPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
109 FrontendPopulateState(&config.config_, &state, kSampleRate)); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/
Dfilterbank_test.cc24 const int kSampleRate = 1000; variable
57 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
69 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
81 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
99 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
117 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
135 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
156 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
195 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
214 error_reporter, &config.config_, &state, kSampleRate, kSpectrumSize)); in TF_LITE_MICRO_TEST()
Dwindow_test.cc22 const int kSampleRate = 1000; variable
52 &state, kSampleRate)); in TF_LITE_MICRO_TEST()
72 &state, kSampleRate)); in TF_LITE_MICRO_TEST()
92 &state, kSampleRate)); in TF_LITE_MICRO_TEST()
116 &state, kSampleRate)); in TF_LITE_MICRO_TEST()
133 &state, kSampleRate)); in TF_LITE_MICRO_TEST()
161 &state, kSampleRate)); in TF_LITE_MICRO_TEST()
Dfrontend_test.cc22 const int kSampleRate = 1000; variable
66 &state, kSampleRate)); in TF_LITE_MICRO_TEST()
88 &state, kSampleRate)); in TF_LITE_MICRO_TEST()
114 &state, kSampleRate)); in TF_LITE_MICRO_TEST()
/external/webrtc/webrtc/modules/audio_device/
Dfine_audio_buffer_unittest.cc134 const int kSampleRate = 44100; in TEST() local
135 const int kSamplesPer10Ms = kSampleRate * 10 / 1000; in TEST()
137 RunFineBufferTest(kSampleRate, kFrameSizeSamples); in TEST()
141 const int kSampleRate = 44100; in TEST() local
142 const int kSamplesPer10Ms = kSampleRate * 10 / 1000; in TEST()
144 RunFineBufferTest(kSampleRate, kFrameSizeSamples); in TEST()
/external/webrtc/webrtc/common_audio/
Dwav_file_unittest.cc138 static const int kSampleRate = 8000; in TEST() local
140 static const size_t kNumSamples = 3 * kSampleRate * kNumChannels; in TEST()
145 const double t = static_cast<double>(i) / (kNumChannels * kSampleRate); in TEST()
152 WavWriter w(outfile, kSampleRate, kNumChannels); in TEST()
153 EXPECT_EQ(kSampleRate, w.sample_rate()); in TEST()
164 EXPECT_EQ(kSampleRate, r.sample_rate()); in TEST()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_enhancer_unittest.cc78 const int kSampleRate = 1000; variable
80 const int kFragmentSize = kSampleRate / 100;
91 config_.sample_rate_hz = kSampleRate; in IntelligibilityEnhancerTest()
96 config_.sample_rate_hz = kSampleRate; in CheckUpdate()
102 enh_->AnalyzeCaptureAudio(&noise_cursor, kSampleRate, kNumChannels); in CheckUpdate()
103 enh_->ProcessRenderAudio(&clear_cursor, kSampleRate, kNumChannels); in CheckUpdate()
/external/tensorflow/tensorflow/core/kernels/
Dsummary_audio_op_test.cc79 const float kSampleRate = 44100.0f; in TEST_F() local
88 AddInputFromArray<float>(TensorShape({}), {kSampleRate}); in TEST_F()
113 const float kSampleRate = 44100.0f; in TEST_F() local
122 AddInputFromArray<float>(TensorShape({}), {kSampleRate}); in TEST_F()
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_manager_unittest.cc133 const int kSampleRate = 48000; in TEST_F() local
139 AudioParameters params(kSampleRate, kChannels, kFramesPerBuffer); in TEST_F()
141 EXPECT_EQ(kSampleRate, params.sample_rate()); in TEST_F()
144 EXPECT_EQ(static_cast<size_t>(kSampleRate / 100), in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dcovariance_matrix_generator_unittest.cc147 const int kSampleRate = 16000; in TEST() local
162 kSampleRate, in TEST()
185 const int kSampleRate = 42000; in TEST() local
200 kSampleRate, in TEST()
/external/brotli/c/enc/
Dcompress_fragment.c95 static const size_t kSampleRate = 29; in BuildAndStoreLiteralPrefixCode() local
96 for (i = 0; i < input_size; i += kSampleRate) { in BuildAndStoreLiteralPrefixCode()
99 histogram_total = (input_size + kSampleRate - 1) / kSampleRate; in BuildAndStoreLiteralPrefixCode()
375 static const size_t kSampleRate = 43; in ShouldMergeBlock() local
377 for (i = 0; i < len; i += kSampleRate) { in ShouldMergeBlock()
381 const size_t total = (len + kSampleRate - 1) / kSampleRate; in ShouldMergeBlock()
Dencode.c504 static const uint32_t kSampleRate = 13; in ShouldCompress() local
507 (double)bytes * kMinEntropy / kSampleRate; in ShouldCompress()
508 size_t t = (bytes + kSampleRate - 1) / kSampleRate; in ShouldCompress()
513 pos += kSampleRate; in ShouldCompress()
/external/webrtc/webrtc/modules/video_coding/
Dmedia_optimization_unittest.cc21 kSampleRate = 90000 // RTP timestamps per second. enumerator
44 next_timestamp_ += frame_time_ms_ * kSampleRate / 1000; in AddFrameAndAdvanceTime()