Searched refs:kFrameLength (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/test/testsupport/ |
D | frame_writer_unittest.cc | 19 const size_t kFrameLength = 1000; variable 28 frame_writer_ = new FrameWriterImpl(temp_filename_, kFrameLength); in SetUp() 41 FrameWriterImpl frame_writer(temp_filename_, kFrameLength); in TEST_F() 43 ASSERT_EQ(kFrameLength, frame_writer.FrameLength()); in TEST_F() 47 uint8_t buffer[kFrameLength]; in TEST_F() 48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer in TEST_F() 53 ASSERT_EQ(kFrameLength, GetFileSize(temp_filename_)); in TEST_F() 58 FrameWriterImpl frame_writer(temp_filename_, kFrameLength); in TEST_F()
|
D | frame_reader_unittest.cc | 22 const size_t kFrameLength = 1000; variable 36 frame_reader_ = new FrameReaderImpl(temp_filename_, kFrameLength); in SetUp() 49 FrameReaderImpl frame_reader(temp_filename_, kFrameLength); in TEST_F() 51 ASSERT_EQ(kFrameLength, frame_reader.FrameLength()); in TEST_F() 66 FrameReaderImpl file_reader(temp_filename_, kFrameLength); in TEST_F()
|
/external/webrtc/webrtc/common_audio/ |
D | swap_queue_unittest.cc | 176 const size_t kFrameLength = 160; in TEST() local 177 const size_t kDataLength = kQueueSize * kFrameLength; in TEST() 178 std::vector<int16_t> buffer_reader(kFrameLength, 0); in TEST() 179 std::vector<int16_t> buffer_writer(kFrameLength, 0); in TEST() 181 std::vector<int16_t>(kFrameLength)); in TEST() 190 buffer_writer.insert(buffer_writer.end(), &samples[0] + k * kFrameLength, in TEST() 191 &samples[0] + (k + 1) * kFrameLength); in TEST() 200 EXPECT_EQ(buffer_reader[j], samples[k * kFrameLength + j]); in TEST()
|