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

Side by Side Diff: webrtc/modules/video_capture/video_capture_impl.h

Issue 2517173004: Move VideoFrame and related declarations to webrtc/api/video. (Closed)
Patch Set: Make rotation check clearer. Created 3 years, 11 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 #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_
12 #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_ 12 #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_
13 13
14 /* 14 /*
15 * video_capture_impl.h 15 * video_capture_impl.h
16 */ 16 */
17 17
18 #include "webrtc/api/video/video_frame.h"
18 #include "webrtc/base/scoped_ref_ptr.h" 19 #include "webrtc/base/scoped_ref_ptr.h"
19 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
20 #include "webrtc/common_video/rotation.h"
21 #include "webrtc/modules/video_capture/video_capture.h" 21 #include "webrtc/modules/video_capture/video_capture.h"
22 #include "webrtc/modules/video_capture/video_capture_config.h" 22 #include "webrtc/modules/video_capture/video_capture_config.h"
23 #include "webrtc/video_frame.h"
24 23
25 namespace webrtc 24 namespace webrtc
26 { 25 {
27 class CriticalSectionWrapper; 26 class CriticalSectionWrapper;
28 27
29 namespace videocapturemodule { 28 namespace videocapturemodule {
30 // Class definitions 29 // Class definitions
31 class VideoCaptureImpl: public VideoCaptureModule, public VideoCaptureExternal 30 class VideoCaptureImpl: public VideoCaptureModule, public VideoCaptureExternal
32 { 31 {
33 public: 32 public:
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 int64_t _incomingFrameTimesNanos[kFrameRateCountHistorySize]; 112 int64_t _incomingFrameTimesNanos[kFrameRateCountHistorySize];
114 VideoRotation _rotateFrame; // Set if the frame should be rotated by the 113 VideoRotation _rotateFrame; // Set if the frame should be rotated by the
115 // capture module. 114 // capture module.
116 115
117 // Indicate whether rotation should be applied before delivered externally. 116 // Indicate whether rotation should be applied before delivered externally.
118 bool apply_rotation_; 117 bool apply_rotation_;
119 }; 118 };
120 } // namespace videocapturemodule 119 } // namespace videocapturemodule
121 } // namespace webrtc 120 } // namespace webrtc
122 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_ 121 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/video_capture_defines.h ('k') | webrtc/modules/video_capture/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698