Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: webrtc/common_video/i420_video_frame_unittest.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/common_video/i420_buffer_pool.cc ('k') | webrtc/common_video/include/bitrate_adjuster.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <math.h> 11 #include <math.h>
12 #include <string.h> 12 #include <string.h>
13 13
14 #include "webrtc/api/video/i420_buffer.h"
14 #include "webrtc/api/video/video_frame.h" 15 #include "webrtc/api/video/video_frame.h"
15 #include "webrtc/api/video/i420_buffer.h" 16 #include "webrtc/rtc_base/bind.h"
16 #include "webrtc/base/bind.h" 17 #include "webrtc/rtc_base/timeutils.h"
17 #include "webrtc/base/timeutils.h"
18 #include "webrtc/test/fake_texture_frame.h" 18 #include "webrtc/test/fake_texture_frame.h"
19 #include "webrtc/test/frame_utils.h" 19 #include "webrtc/test/frame_utils.h"
20 #include "webrtc/test/gtest.h" 20 #include "webrtc/test/gtest.h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 23
24 namespace { 24 namespace {
25 25
26 rtc::scoped_refptr<I420Buffer> CreateGradient(int width, int height) { 26 rtc::scoped_refptr<I420Buffer> CreateGradient(int width, int height) {
27 rtc::scoped_refptr<I420Buffer> buffer( 27 rtc::scoped_refptr<I420Buffer> buffer(
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 CheckRotate(640, 480, GetParam(), *rotated_buffer); 289 CheckRotate(640, 480, GetParam(), *rotated_buffer);
290 } 290 }
291 291
292 INSTANTIATE_TEST_CASE_P(Rotate, TestI420BufferRotate, 292 INSTANTIATE_TEST_CASE_P(Rotate, TestI420BufferRotate,
293 ::testing::Values(kVideoRotation_0, 293 ::testing::Values(kVideoRotation_0,
294 kVideoRotation_90, 294 kVideoRotation_90,
295 kVideoRotation_180, 295 kVideoRotation_180,
296 kVideoRotation_270)); 296 kVideoRotation_270));
297 297
298 } // namespace webrtc 298 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/common_video/i420_buffer_pool.cc ('k') | webrtc/common_video/include/bitrate_adjuster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698