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

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

Issue 2354223002: Revert of Move MutableDataY{,U,V} methods to I420Buffer only. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 3 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
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 int32_t _setCaptureDelay; // The currently used capture delay 130 int32_t _setCaptureDelay; // The currently used capture delay
131 VideoCaptureDataCallback* _dataCallBack; 131 VideoCaptureDataCallback* _dataCallBack;
132 VideoCaptureFeedBack* _captureCallBack; 132 VideoCaptureFeedBack* _captureCallBack;
133 133
134 int64_t _lastProcessFrameTimeNanos; 134 int64_t _lastProcessFrameTimeNanos;
135 // timestamp for local captured frames 135 // timestamp for local captured frames
136 int64_t _incomingFrameTimesNanos[kFrameRateCountHistorySize]; 136 int64_t _incomingFrameTimesNanos[kFrameRateCountHistorySize];
137 VideoRotation _rotateFrame; // Set if the frame should be rotated by the 137 VideoRotation _rotateFrame; // Set if the frame should be rotated by the
138 // capture module. 138 // capture module.
139 139
140 VideoFrame _captureFrame;
141
140 // Indicate whether rotation should be applied before delivered externally. 142 // Indicate whether rotation should be applied before delivered externally.
141 bool apply_rotation_; 143 bool apply_rotation_;
142 }; 144 };
143 } // namespace videocapturemodule 145 } // namespace videocapturemodule
144 } // namespace webrtc 146 } // namespace webrtc
145 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_ 147 #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/test/video_capture_unittest.cc ('k') | webrtc/modules/video_capture/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698