niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | /* |
mflodman@webrtc.org | cee447a | 2012-06-28 07:29:46 +0000 | [diff] [blame] | 2 | * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
mflodman@webrtc.org | e06ca3c | 2012-06-29 13:20:14 +0000 | [diff] [blame] | 11 | #ifndef WEBRTC_VIDEO_ENGINE_VIE_IMPL_H_ |
| 12 | #define WEBRTC_VIDEO_ENGINE_VIE_IMPL_H_ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 13 | |
mflodman@webrtc.org | cee447a | 2012-06-28 07:29:46 +0000 | [diff] [blame] | 14 | #include "engine_configurations.h" // NOLINT |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 15 | #include "video_engine/vie_defines.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 16 | |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 17 | #include "video_engine/vie_base_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 18 | |
| 19 | #ifdef WEBRTC_VIDEO_ENGINE_CAPTURE_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 20 | #include "video_engine/vie_capture_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 21 | #endif |
| 22 | #ifdef WEBRTC_VIDEO_ENGINE_CODEC_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 23 | #include "video_engine/vie_codec_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 24 | #endif |
| 25 | #ifdef WEBRTC_VIDEO_ENGINE_ENCRYPTION_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 26 | #include "video_engine/vie_encryption_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 27 | #endif |
| 28 | #ifdef WEBRTC_VIDEO_ENGINE_FILE_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 29 | #include "video_engine/vie_file_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 30 | #endif |
| 31 | #ifdef WEBRTC_VIDEO_ENGINE_IMAGE_PROCESS_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 32 | #include "video_engine/vie_image_process_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 33 | #endif |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 34 | #include "video_engine/vie_network_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 35 | #ifdef WEBRTC_VIDEO_ENGINE_RENDER_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 36 | #include "video_engine/vie_render_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 37 | #endif |
| 38 | #ifdef WEBRTC_VIDEO_ENGINE_RTP_RTCP_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 39 | #include "video_engine/vie_rtp_rtcp_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 40 | #endif |
| 41 | #ifdef WEBRTC_VIDEO_ENGINE_EXTERNAL_CODEC_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 42 | #include "video_engine/vie_external_codec_impl.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 43 | #endif |
| 44 | |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 45 | namespace webrtc { |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 46 | |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 47 | class VideoEngineImpl |
| 48 | : public ViEBaseImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 49 | #ifdef WEBRTC_VIDEO_ENGINE_CODEC_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 50 | , public ViECodecImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 51 | #endif |
| 52 | #ifdef WEBRTC_VIDEO_ENGINE_CAPTURE_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 53 | , public ViECaptureImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 54 | #endif |
| 55 | #ifdef WEBRTC_VIDEO_ENGINE_ENCRYPTION_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 56 | , public ViEEncryptionImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 57 | #endif |
| 58 | #ifdef WEBRTC_VIDEO_ENGINE_FILE_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 59 | , public ViEFileImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 60 | #endif |
| 61 | #ifdef WEBRTC_VIDEO_ENGINE_IMAGE_PROCESS_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 62 | , public ViEImageProcessImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 63 | #endif |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 64 | , public ViENetworkImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 65 | #ifdef WEBRTC_VIDEO_ENGINE_RENDER_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 66 | , public ViERenderImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 67 | #endif |
| 68 | #ifdef WEBRTC_VIDEO_ENGINE_RTP_RTCP_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 69 | , public ViERTP_RTCPImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 70 | #endif |
| 71 | #ifdef WEBRTC_VIDEO_ENGINE_EXTERNAL_CODEC_API |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 72 | , public ViEExternalCodecImpl |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 73 | #endif |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 74 | { // NOLINT |
| 75 | public: |
mflodman@webrtc.org | b11424b | 2012-01-25 13:42:03 +0000 | [diff] [blame] | 76 | VideoEngineImpl() |
| 77 | : |
| 78 | #ifdef WEBRTC_VIDEO_ENGINE_CODEC_API |
| 79 | ViECodecImpl(ViEBaseImpl::shared_data()) |
| 80 | #endif |
| 81 | #ifdef WEBRTC_VIDEO_ENGINE_CAPTURE_API |
| 82 | , ViECaptureImpl(ViEBaseImpl::shared_data()) |
| 83 | #endif |
| 84 | #ifdef WEBRTC_VIDEO_ENGINE_ENCRYPTION_API |
| 85 | , ViEEncryptionImpl(ViEBaseImpl::shared_data()) |
| 86 | #endif |
| 87 | #ifdef WEBRTC_VIDEO_ENGINE_FILE_API |
| 88 | , ViEFileImpl(ViEBaseImpl::shared_data()) |
| 89 | #endif |
| 90 | #ifdef WEBRTC_VIDEO_ENGINE_IMAGE_PROCESS_API |
| 91 | , ViEImageProcessImpl(ViEBaseImpl::shared_data()) |
| 92 | #endif |
mflodman@webrtc.org | b11424b | 2012-01-25 13:42:03 +0000 | [diff] [blame] | 93 | , ViENetworkImpl(ViEBaseImpl::shared_data()) |
mflodman@webrtc.org | b11424b | 2012-01-25 13:42:03 +0000 | [diff] [blame] | 94 | #ifdef WEBRTC_VIDEO_ENGINE_RENDER_API |
| 95 | , ViERenderImpl(ViEBaseImpl::shared_data()) |
| 96 | #endif |
| 97 | #ifdef WEBRTC_VIDEO_ENGINE_RTP_RTCP_API |
| 98 | , ViERTP_RTCPImpl(ViEBaseImpl::shared_data()) |
| 99 | #endif |
| 100 | #ifdef WEBRTC_VIDEO_ENGINE_EXTERNAL_CODEC_API |
| 101 | , ViEExternalCodecImpl(ViEBaseImpl::shared_data()) |
| 102 | #endif |
| 103 | {} |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 104 | virtual ~VideoEngineImpl() {} |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 105 | }; |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 106 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 107 | } // namespace webrtc |
mflodman@webrtc.org | 1bdf1df | 2011-12-20 11:57:47 +0000 | [diff] [blame] | 108 | |
mflodman@webrtc.org | e06ca3c | 2012-06-29 13:20:14 +0000 | [diff] [blame] | 109 | #endif // WEBRTC_VIDEO_ENGINE_VIE_IMPL_H_ |