Home
last modified time | relevance | path

Searched refs:kDataLength (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/modules/audio_processing/transient/
Dwpd_node_unittest.cc19 static const size_t kDataLength = 5; variable
22 static const size_t kParentDataLength = kDataLength * 2;
31 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
32 EXPECT_EQ(0, node.set_data(kParentData, kDataLength)); in TEST()
34 kDataLength * sizeof(node.data()[0]))); in TEST()
39 WPDNode node(kDataLength, &kIndentyCoefficient, 1); in TEST()
41 for (size_t i = 0; i < kDataLength; ++i) { in TEST()
47 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
57 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
60 EXPECT_EQ(-1, node.set_data(kParentData, kDataLength - 1)); in TEST()
[all …]
/external/webrtc/modules/audio_processing/vad/
Dvad_audio_proc_unittest.cc42 const size_t kDataLength = kLength10Ms; in TEST() local
43 int16_t data[kDataLength] = {0}; in TEST()
46 while (fread(data, sizeof(int16_t), kDataLength, pcm_file) == kDataLength) { in TEST()
47 audioproc.ExtractFeatures(data, kDataLength, &features); in TEST()
Dstandalone_vad_unittest.cc63 const size_t kDataLength = kLength10Ms; in TEST() local
64 int16_t data[kDataLength] = {0}; in TEST()
82 while (fread(data, sizeof(int16_t), kDataLength, pcm_file) == kDataLength) { in TEST()
83 vad->AddAudio(data, kDataLength); in TEST()
/external/webrtc/rtc_base/
Dswap_queue_unittest.cc178 const size_t kDataLength = kQueueSize * kFrameLength; in TEST() local
183 std::vector<int16_t> samples(kDataLength); in TEST()
185 for (size_t k = 0; k < kDataLength; k++) { in TEST()
/external/webrtc/media/engine/
Dwebrtc_video_engine_unittest.cc6060 const size_t kDataLength = 12; in TEST_F() local
6061 uint8_t data[kDataLength]; in TEST_F()
6064 rtc::CopyOnWriteBuffer packet(data, kDataLength); in TEST_F()
6218 const size_t kDataLength = 12; in TEST_F() local
6219 uint8_t data[kDataLength]; in TEST_F()
6222 rtc::CopyOnWriteBuffer packet(data, kDataLength); in TEST_F()
6247 const size_t kDataLength = 12; in TEST_F() local
6248 uint8_t data[kDataLength]; in TEST_F()
6251 rtc::CopyOnWriteBuffer packet(data, kDataLength); in TEST_F()
6300 const size_t kDataLength = 12; in TEST_F() local
[all …]