OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |