OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2010 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 // Declaration of abstract class VideoCapturer | 11 // Declaration of abstract class VideoCapturer |
12 | 12 |
13 #ifndef WEBRTC_MEDIA_BASE_VIDEOCAPTURER_H_ | 13 #ifndef WEBRTC_MEDIA_BASE_VIDEOCAPTURER_H_ |
14 #define WEBRTC_MEDIA_BASE_VIDEOCAPTURER_H_ | 14 #define WEBRTC_MEDIA_BASE_VIDEOCAPTURER_H_ |
15 | 15 |
16 #include <stdint.h> | 16 #include <stdint.h> |
17 | 17 |
18 #include <algorithm> | 18 #include <algorithm> |
19 #include <memory> | 19 #include <memory> |
20 #include <string> | 20 #include <string> |
21 #include <vector> | 21 #include <vector> |
22 | 22 |
| 23 // TODO(nisse): Transition hack, some downstream applications expect that |
| 24 // including this file declares I420Buffer and NativeHandleBuffer. Delete after |
| 25 // users of these classes are fixed to include the right headers. |
| 26 #include "webrtc/api/video/i420_buffer.h" |
| 27 #include "webrtc/common_video/include/video_frame_buffer.h" |
| 28 |
23 #include "webrtc/base/constructormagic.h" | 29 #include "webrtc/base/constructormagic.h" |
24 #include "webrtc/base/criticalsection.h" | 30 #include "webrtc/base/criticalsection.h" |
25 #include "webrtc/media/base/videosourceinterface.h" | 31 #include "webrtc/media/base/videosourceinterface.h" |
26 #include "webrtc/base/sigslot.h" | 32 #include "webrtc/base/sigslot.h" |
27 #include "webrtc/base/thread_checker.h" | 33 #include "webrtc/base/thread_checker.h" |
28 #include "webrtc/base/timestampaligner.h" | 34 #include "webrtc/base/timestampaligner.h" |
29 #include "webrtc/media/base/videoadapter.h" | 35 #include "webrtc/media/base/videoadapter.h" |
30 #include "webrtc/media/base/videobroadcaster.h" | 36 #include "webrtc/media/base/videobroadcaster.h" |
31 #include "webrtc/media/base/videocommon.h" | 37 #include "webrtc/media/base/videocommon.h" |
32 | 38 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 bool apply_rotation_; | 286 bool apply_rotation_; |
281 | 287 |
282 // State for the timestamp translation. | 288 // State for the timestamp translation. |
283 rtc::TimestampAligner timestamp_aligner_; | 289 rtc::TimestampAligner timestamp_aligner_; |
284 RTC_DISALLOW_COPY_AND_ASSIGN(VideoCapturer); | 290 RTC_DISALLOW_COPY_AND_ASSIGN(VideoCapturer); |
285 }; | 291 }; |
286 | 292 |
287 } // namespace cricket | 293 } // namespace cricket |
288 | 294 |
289 #endif // WEBRTC_MEDIA_BASE_VIDEOCAPTURER_H_ | 295 #endif // WEBRTC_MEDIA_BASE_VIDEOCAPTURER_H_ |
OLD | NEW |