Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/
Dframedrop_primitives_unittest.cc25 const int kFrameLength = 1000; variable
45 Frame first_frame(0, kFrameLength); in TEST_F()
46 Frame second_frame(0, kFrameLength); in TEST_F()
47 Frame third_frame(0, kFrameLength); in TEST_F()
48 Frame fourth_frame(0, kFrameLength); in TEST_F()
59 uint8_t first_frame_data[kFrameLength]; in TEST_F()
60 memset(first_frame_data, 5, kFrameLength); // Fill it with 5's to identify. in TEST_F()
61 uint8_t third_frame_data[kFrameLength]; in TEST_F()
62 memset(third_frame_data, 7, kFrameLength); // Fill it with 7's to identify. in TEST_F()
67 webrtc::test::FrameWriterImpl frame_writer(kOutputFilename, kFrameLength); in TEST_F()
[all …]
/external/chromium_org/third_party/webrtc/test/testsupport/
Dframe_writer_unittest.cc20 const size_t kFrameLength = 1000; variable
29 frame_writer_ = new FrameWriterImpl(kOutputFilename, kFrameLength); in SetUp()
41 FrameWriterImpl frame_writer(kOutputFilename, 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(kOutputFilename)); in TEST_F()
58 FrameWriterImpl frame_writer(kOutputFilename, kFrameLength); in TEST_F()
Dframe_reader_unittest.cc23 const size_t kFrameLength = 1000; variable
38 frame_reader_ = new FrameReaderImpl(kInputFilename, kFrameLength); in SetUp()
50 FrameReaderImpl frame_reader(kInputFilename, kFrameLength); in TEST_F()
52 ASSERT_EQ(kFrameLength, frame_reader.FrameLength()); in TEST_F()
67 FrameReaderImpl file_reader(kInputFilename, kFrameLength); in TEST_F()
/external/webrtc/test/testsupport/
Dframe_writer_unittest.cc20 const int kFrameLength = 1000; variable
29 frame_writer_ = new FrameWriterImpl(kOutputFilename, kFrameLength); in SetUp()
41 FrameWriterImpl frame_writer(kOutputFilename, kFrameLength); in TEST_F()
43 ASSERT_EQ(kFrameLength, frame_writer.FrameLength()); in TEST_F()
47 WebRtc_UWord8 buffer[kFrameLength]; in TEST_F()
48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer in TEST_F()
53 ASSERT_EQ(kFrameLength, in TEST_F()
59 FrameWriterImpl frame_writer(kOutputFilename, kFrameLength); in TEST_F()
Dframe_reader_unittest.cc23 const int kFrameLength = 1000; variable
38 frame_reader_ = new FrameReaderImpl(kInputFilename, kFrameLength); in SetUp()
50 FrameReaderImpl frame_reader(kInputFilename, kFrameLength); in TEST_F()
52 ASSERT_EQ(kFrameLength, frame_reader.FrameLength()); in TEST_F()
67 FrameReaderImpl file_reader(kInputFilename, kFrameLength); in TEST_F()