diff options
Diffstat (limited to 'chromium/third_party/webrtc/common_video/i420_video_frame_unittest.cc')
-rw-r--r-- | chromium/third_party/webrtc/common_video/i420_video_frame_unittest.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/chromium/third_party/webrtc/common_video/i420_video_frame_unittest.cc b/chromium/third_party/webrtc/common_video/i420_video_frame_unittest.cc index 8c97ca7ac4c..f3ee9314c7c 100644 --- a/chromium/third_party/webrtc/common_video/i420_video_frame_unittest.cc +++ b/chromium/third_party/webrtc/common_video/i420_video_frame_unittest.cc @@ -12,6 +12,7 @@ #include <string.h> #include "webrtc/api/video/video_frame.h" +#include "webrtc/api/video/i420_buffer.h" #include "webrtc/base/bind.h" #include "webrtc/base/timeutils.h" #include "webrtc/test/fake_texture_frame.h" @@ -291,20 +292,4 @@ INSTANTIATE_TEST_CASE_P(Rotate, TestI420BufferRotate, kVideoRotation_180, kVideoRotation_270)); -class TestI420BufferRotateOld - : public ::testing::TestWithParam<webrtc::VideoRotation> {}; - -TEST_P(TestI420BufferRotateOld, Rotates) { - rtc::scoped_refptr<VideoFrameBuffer> buffer = CreateGradient(640, 480); - rtc::scoped_refptr<VideoFrameBuffer> rotated_buffer = - I420Buffer::Rotate(buffer, GetParam()); - CheckRotate(640, 480, GetParam(), *rotated_buffer); -} - -INSTANTIATE_TEST_CASE_P(Rotate, TestI420BufferRotateOld, - ::testing::Values(kVideoRotation_0, - kVideoRotation_90, - kVideoRotation_180, - kVideoRotation_270)); - } // namespace webrtc |