/external/libwebm/testing/ |
D | mkvmuxer_tests.cc | 58 memset(dummy_data_, 0, kFrameLength); in Init() 62 EXPECT_TRUE(segment_.AddFrame(&dummy_data_[0], kFrameLength, track_number, in AddDummyFrameAndFinalize() 118 std::uint8_t dummy_data_[kFrameLength]; 204 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, in TEST_F() 208 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F() 212 EXPECT_FALSE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F() 232 frame.Init(dummy_data_, kFrameLength); in TEST_F() 267 EXPECT_TRUE(segment_.AddMetadata(dummy_data_, kFrameLength, in TEST_F() 271 EXPECT_TRUE(segment_.AddMetadata(dummy_data_, kFrameLength, in TEST_F() 275 EXPECT_FALSE(segment_.AddMetadata(dummy_data_, kFrameLength, in TEST_F() [all …]
|
D | mkvparser_tests.cc | 42 memset(dummy_data_, -1, kFrameLength); in ParserTest() 43 memset(gold_frame_, 0, kFrameLength); in ParserTest() 105 EXPECT_EQ(kFrameLength, frame.len); in CompareBlockContents() 106 std::memset(dummy_data_, -1, kFrameLength); in CompareBlockContents() 108 EXPECT_EQ(0, std::memcmp(gold_frame_, dummy_data_, kFrameLength)); in CompareBlockContents() 129 std::uint8_t dummy_data_[kFrameLength]; 130 std::uint8_t gold_frame_[kFrameLength];
|
D | test_util.h | 32 const int kFrameLength = 10; variable
|
/external/webrtc/test/testsupport/ |
D | yuv_frame_writer_unittest.cc | 28 const size_t kFrameLength = 3 * kFrameWidth * kFrameHeight / 2; // I420. variable 53 EXPECT_EQ(kFrameLength, frame_writer_->FrameLength()); in TEST_F() 57 uint8_t buffer[kFrameLength]; in TEST_F() 58 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer. in TEST_F() 63 EXPECT_EQ(kFrameLength, GetFileSize(temp_filename_)); in TEST_F() 67 uint8_t buffer[kFrameLength]; in TEST_F()
|
D | y4m_frame_writer_unittest.cc | 28 const size_t kFrameLength = 3 * kFrameWidth * kFrameHeight / 2; // I420. variable 57 EXPECT_EQ(kFrameLength, frame_writer_->FrameLength()); in TEST_F() 61 uint8_t buffer[kFrameLength]; in TEST_F() 62 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer. in TEST_F() 69 EXPECT_EQ(kFileHeader.size() + 2 * kFrameHeader.size() + 2 * kFrameLength, in TEST_F() 74 uint8_t buffer[kFrameLength]; in TEST_F()
|
D | yuv_frame_reader_unittest.cc | 32 const size_t kFrameLength = 3 * kFrameWidth * kFrameHeight / 2; // I420. variable 61 EXPECT_EQ(kFrameLength, frame_reader_->FrameLength()); in TEST_F()
|
D | video_frame_writer_unittest.cc | 33 const size_t kFrameLength = 3 * kFrameWidth * kFrameHeight / 2; // I420. variable 139 EXPECT_EQ(kFileHeaderSize + 2 * kFrameHeaderSize + 2 * kFrameLength, in TEST_F() 165 EXPECT_EQ(2 * kFrameLength, GetFileSize(temp_filename_)); in TEST_F()
|
D | y4m_frame_reader_unittest.cc | 35 const size_t kFrameLength = 3 * kFrameWidth * kFrameHeight / 2; // I420. variable 68 EXPECT_EQ(kFrameHeader.size() + kFrameLength, frame_reader_->FrameLength()); in TEST_F()
|
/external/webrtc/rtc_base/ |
D | swap_queue_unittest.cc | 174 const size_t kFrameLength = 160; in TEST() local 175 const size_t kDataLength = kQueueSize * kFrameLength; in TEST() 176 std::vector<int16_t> buffer_reader(kFrameLength, 0); in TEST() 177 std::vector<int16_t> buffer_writer(kFrameLength, 0); in TEST() 179 std::vector<int16_t>(kFrameLength)); in TEST() 188 buffer_writer.insert(buffer_writer.end(), &samples[0] + k * kFrameLength, in TEST() 189 &samples[0] + (k + 1) * kFrameLength); in TEST() 198 EXPECT_EQ(buffer_reader[j], samples[k * kFrameLength + j]); in TEST()
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_opus_unittest.cc | 96 constexpr int kFrameLength = 60; in CreateEncoderRuntimeConfig() local 101 config.frame_length_ms = kFrameLength; in CreateEncoderRuntimeConfig()
|