Searched refs:frame_length_ (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/modules/video_processing/test/ |
D | brightness_detection_test.cc | 26 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); in TEST_F() 27 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F() 28 frame_length_) { in TEST_F() 52 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F() 53 frame_length_ && in TEST_F() 89 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F() 90 frame_length_ && in TEST_F()
|
D | video_processing_unittest.cc | 66 frame_length_(CalcBufferSize(kI420, width_, height_)) {} in VideoProcessingTest() 119 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); 120 ASSERT_EQ(frame_length_, 121 fread(video_buffer.get(), 1, frame_length_, source_file_)); 138 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); 139 ASSERT_EQ(frame_length_, 140 fread(video_buffer.get(), 1, frame_length_, source_file_)); 154 ASSERT_EQ(frame_length_, 155 fread(video_buffer.get(), 1, frame_length_, source_file_)); 174 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); [all …]
|
D | content_metrics_test.cc | 31 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); in TEST_F() 32 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F() 33 frame_length_) { in TEST_F()
|
D | deflickering_test.cc | 49 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); in TEST_F() 57 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F() 58 frame_length_) { in TEST_F()
|
D | denoiser_test.cc | 140 rtc::scoped_ptr<uint8_t[]> video_buffer(new uint8_t[frame_length_]); in TEST_F() 141 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F() 142 frame_length_) { in TEST_F()
|
D | video_processing_unittest.h | 42 const size_t frame_length_; variable
|
/external/webrtc/webrtc/common_video/libyuv/ |
D | libyuv_unittest.cc | 91 const size_t frame_length_; member in webrtc::TestLibYuv 101 frame_length_(CalcBufferSize(kI420, 352, 288)) { in TestLibYuv() 102 orig_buffer_.reset(new uint8_t[frame_length_]); in TestLibYuv() 112 EXPECT_EQ(frame_length_, in SetUp() 113 fread(orig_buffer_.get(), 1, frame_length_, source_file_)); in SetUp() 149 rtc::scoped_ptr<uint8_t[]> out_i420_buffer(new uint8_t[frame_length_]); in TEST_F() 197 rtc::scoped_ptr<uint8_t[]> outYV120Buffer(new uint8_t[frame_length_]); in TEST_F() 198 rtc::scoped_ptr<uint8_t[]> res_i420_buffer(new uint8_t[frame_length_]); in TEST_F() 207 if (fwrite(res_i420_buffer.get(), 1, frame_length_, output_file) != in TEST_F() 208 frame_length_) { in TEST_F() [all …]
|
D | scaler_unittest.cc | 46 const size_t frame_length_; member in webrtc::TestScaler 57 frame_length_(CalcBufferSize(kI420, width_, height_)) { in TestScaler() 101 rtc::scoped_ptr<uint8_t[]> orig_buffer(new uint8_t[frame_length_]); in TEST_F() 102 EXPECT_GT(fread(orig_buffer.get(), 1, frame_length_, source_file_), 0U); in TEST_F()
|