| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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_MEDIA_WEBRTC_WEBRTCVIDEOCAPTURER_H_ | 11 #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURER_H_ |
| 12 #define WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOCAPTURER_H_ | 12 #define WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURER_H_ |
| 13 | 13 |
| 14 #ifdef HAVE_WEBRTC_VIDEO | 14 #ifdef HAVE_WEBRTC_VIDEO |
| 15 | 15 |
| 16 #include <string> | 16 #include <string> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "webrtc/base/asyncinvoker.h" | 19 #include "webrtc/base/asyncinvoker.h" |
| 20 #include "webrtc/base/messagehandler.h" | 20 #include "webrtc/base/messagehandler.h" |
| 21 #include "webrtc/base/scoped_ptr.h" | 21 #include "webrtc/base/scoped_ptr.h" |
| 22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
| 23 #include "webrtc/media/base/videocapturer.h" | 23 #include "webrtc/media/base/videocapturer.h" |
| 24 #include "webrtc/media/webrtc/webrtcvideoframe.h" | 24 #include "webrtc/media/engine/webrtcvideoframe.h" |
| 25 #include "webrtc/modules/video_capture/video_capture.h" | 25 #include "webrtc/modules/video_capture/video_capture.h" |
| 26 | 26 |
| 27 namespace cricket { | 27 namespace cricket { |
| 28 | 28 |
| 29 // Factory to allow injection of a VCM impl into WebRtcVideoCapturer. | 29 // Factory to allow injection of a VCM impl into WebRtcVideoCapturer. |
| 30 // DeviceInfos do not have a Release() and therefore need an explicit Destroy(). | 30 // DeviceInfos do not have a Release() and therefore need an explicit Destroy(). |
| 31 class WebRtcVcmFactoryInterface { | 31 class WebRtcVcmFactoryInterface { |
| 32 public: | 32 public: |
| 33 virtual ~WebRtcVcmFactoryInterface() {} | 33 virtual ~WebRtcVcmFactoryInterface() {} |
| 34 virtual webrtc::VideoCaptureModule* Create( | 34 virtual webrtc::VideoCaptureModule* Create( |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 struct WebRtcCapturedFrame : public CapturedFrame { | 89 struct WebRtcCapturedFrame : public CapturedFrame { |
| 90 public: | 90 public: |
| 91 WebRtcCapturedFrame(const webrtc::VideoFrame& frame, | 91 WebRtcCapturedFrame(const webrtc::VideoFrame& frame, |
| 92 void* buffer, | 92 void* buffer, |
| 93 size_t length); | 93 size_t length); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace cricket | 96 } // namespace cricket |
| 97 | 97 |
| 98 #endif // HAVE_WEBRTC_VIDEO | 98 #endif // HAVE_WEBRTC_VIDEO |
| 99 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOCAPTURER_H_ | 99 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURER_H_ |
| OLD | NEW |