Home
last modified time | relevance | path

Searched refs:frame_length_ (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/video_processing/test/
Dbrightness_detection_test.cc26 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()
Dvideo_processing_unittest.cc66 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 …]
Dcontent_metrics_test.cc31 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()
Ddeflickering_test.cc49 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()
Ddenoiser_test.cc140 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()
Dvideo_processing_unittest.h42 const size_t frame_length_; variable
/external/webrtc/webrtc/common_video/libyuv/
Dlibyuv_unittest.cc91 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 …]
Dscaler_unittest.cc46 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()