Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/transient/
Dwpd_node_unittest.cc20 static const size_t kDataLength = 5; variable
23 static const size_t kParentDataLength = kDataLength * 2;
32 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
33 EXPECT_EQ(0, node.set_data(kParentData, kDataLength)); in TEST()
36 kDataLength * sizeof(node.data()[0]))); in TEST()
41 WPDNode node(kDataLength, &kIndentyCoefficient, 1); in TEST()
43 for (size_t i = 0; i < kDataLength; ++i) { in TEST()
49 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
59 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
62 EXPECT_EQ(-1, node.set_data(kParentData, kDataLength - 1)); in TEST()
[all …]
/external/webrtc/webrtc/modules/audio_processing/vad/
Dvad_audio_proc_unittest.cc43 const size_t kDataLength = kLength10Ms; in TEST() local
44 int16_t data[kDataLength] = {0}; in TEST()
47 while (fread(data, sizeof(int16_t), kDataLength, pcm_file) == kDataLength) { in TEST()
48 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/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dapp_unittest.cc68 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() local
69 app.WithData(kData, kDataLength); in TEST_F()
76 EXPECT_EQ(kDataLength, parsed().data_size()); in TEST_F()
77 EXPECT_EQ(0, memcmp(kData, parsed().data(), kDataLength)); in TEST_F()
/external/webrtc/webrtc/modules/video_coding/codecs/test/
Dpacket_manipulator_unittest.cc118 const size_t kDataLength = kPacketSizeInBytes * kNbrPackets; in TEST_F() local
119 uint8_t data[kDataLength]; in TEST_F()
127 image_._length = kDataLength; in TEST_F()
128 image_._size = kDataLength; in TEST_F()
/external/webrtc/webrtc/common_audio/
Dswap_queue_unittest.cc177 const size_t kDataLength = kQueueSize * kFrameLength; in TEST() local
182 std::vector<int16_t> samples(kDataLength); in TEST()
184 for (size_t k = 0; k < kDataLength; k++) { in TEST()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_packet_unittest.cc147 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST() local
148 app.WithData((const uint8_t*)kData, kDataLength); in TEST()
157 EXPECT_EQ(kDataLength, parser.app_item()->DataLength()); in TEST()
Drtcp_sender_unittest.cc377 const uint16_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() local
379 kDataLength)); in TEST_F()
386 EXPECT_EQ(kDataLength, parser()->app_item()->DataLength()); in TEST_F()
Drtcp_receiver_unittest.cc435 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() local
436 app.WithData((const uint8_t*)kData, kDataLength); in TEST_F()
443 EXPECT_EQ(kDataLength, rtcp_packet_info_.applicationLength); in TEST_F()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoengine2_unittest.cc2801 const size_t kDataLength = 12; in TEST_F() local
2802 uint8_t data[kDataLength]; in TEST_F()
2805 rtc::Buffer packet(data, kDataLength); in TEST_F()
2952 const size_t kDataLength = 12; in TestReceiveUnsignalledSsrcPacket() local
2953 uint8_t data[kDataLength]; in TestReceiveUnsignalledSsrcPacket()
2958 rtc::Buffer packet(data, kDataLength); in TestReceiveUnsignalledSsrcPacket()