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

Side by Side Diff: webrtc/modules/video_capture/test/video_capture_unittest.cc

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 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
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 <stdio.h> 11 #include <stdio.h>
12 12
13 #include <map> 13 #include <map>
14 #include <memory> 14 #include <memory>
15 #include <sstream> 15 #include <sstream>
16 16
17 #include "webrtc/api/video/i420_buffer.h" 17 #include "webrtc/api/video/i420_buffer.h"
18 #include "webrtc/api/video/video_frame.h" 18 #include "webrtc/api/video/video_frame.h"
19 #include "webrtc/base/criticalsection.h"
20 #include "webrtc/base/scoped_ref_ptr.h"
21 #include "webrtc/base/timeutils.h"
22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 19 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
23 #include "webrtc/modules/utility/include/process_thread.h" 20 #include "webrtc/modules/utility/include/process_thread.h"
24 #include "webrtc/modules/video_capture/video_capture.h" 21 #include "webrtc/modules/video_capture/video_capture.h"
25 #include "webrtc/modules/video_capture/video_capture_factory.h" 22 #include "webrtc/modules/video_capture/video_capture_factory.h"
23 #include "webrtc/rtc_base/criticalsection.h"
24 #include "webrtc/rtc_base/scoped_ref_ptr.h"
25 #include "webrtc/rtc_base/timeutils.h"
26 #include "webrtc/system_wrappers/include/sleep.h" 26 #include "webrtc/system_wrappers/include/sleep.h"
27 #include "webrtc/test/frame_utils.h" 27 #include "webrtc/test/frame_utils.h"
28 #include "webrtc/test/gtest.h" 28 #include "webrtc/test/gtest.h"
29 29
30 using webrtc::SleepMs; 30 using webrtc::SleepMs;
31 using webrtc::VideoCaptureCapability; 31 using webrtc::VideoCaptureCapability;
32 using webrtc::VideoCaptureFactory; 32 using webrtc::VideoCaptureFactory;
33 using webrtc::VideoCaptureModule; 33 using webrtc::VideoCaptureModule;
34 34
35 35
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 length, capture_callback_.capability(), 0)); 412 length, capture_callback_.capability(), 0));
413 EXPECT_EQ(0, capture_module_->SetCaptureRotation(webrtc::kVideoRotation_180)); 413 EXPECT_EQ(0, capture_module_->SetCaptureRotation(webrtc::kVideoRotation_180));
414 capture_callback_.SetExpectedCaptureRotation(webrtc::kVideoRotation_180); 414 capture_callback_.SetExpectedCaptureRotation(webrtc::kVideoRotation_180);
415 EXPECT_EQ(0, capture_input_interface_->IncomingFrame(test_buffer.get(), 415 EXPECT_EQ(0, capture_input_interface_->IncomingFrame(test_buffer.get(),
416 length, capture_callback_.capability(), 0)); 416 length, capture_callback_.capability(), 0));
417 EXPECT_EQ(0, capture_module_->SetCaptureRotation(webrtc::kVideoRotation_270)); 417 EXPECT_EQ(0, capture_module_->SetCaptureRotation(webrtc::kVideoRotation_270));
418 capture_callback_.SetExpectedCaptureRotation(webrtc::kVideoRotation_270); 418 capture_callback_.SetExpectedCaptureRotation(webrtc::kVideoRotation_270);
419 EXPECT_EQ(0, capture_input_interface_->IncomingFrame(test_buffer.get(), 419 EXPECT_EQ(0, capture_input_interface_->IncomingFrame(test_buffer.get(),
420 length, capture_callback_.capability(), 0)); 420 length, capture_callback_.capability(), 0));
421 } 421 }
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/objc/video_capture.h ('k') | webrtc/modules/video_capture/video_capture_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698