2011-07-07 08:21:25 +00:00
|
|
|
/*
|
2012-06-28 07:29:46 +00:00
|
|
|
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
2011-07-07 08:21:25 +00:00
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
2012-06-29 13:20:14 +00:00
|
|
|
#ifndef WEBRTC_VIDEO_ENGINE_VIE_IMPL_H_
|
|
|
|
|
#define WEBRTC_VIDEO_ENGINE_VIE_IMPL_H_
|
2011-07-07 08:21:25 +00:00
|
|
|
|
2012-06-28 07:29:46 +00:00
|
|
|
#include "engine_configurations.h" // NOLINT
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_defines.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_base_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_CAPTURE_API
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_capture_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_CODEC_API
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_codec_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_ENCRYPTION_API
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_encryption_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_FILE_API
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_file_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_IMAGE_PROCESS_API
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_image_process_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_network_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_RENDER_API
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_render_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_RTP_RTCP_API
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_rtp_rtcp_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_EXTERNAL_CODEC_API
|
2011-12-20 11:57:47 +00:00
|
|
|
#include "video_engine/vie_external_codec_impl.h"
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
|
2011-12-20 11:57:47 +00:00
|
|
|
namespace webrtc {
|
2011-07-07 08:21:25 +00:00
|
|
|
|
2011-12-20 11:57:47 +00:00
|
|
|
class VideoEngineImpl
|
|
|
|
|
: public ViEBaseImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_CODEC_API
|
2011-12-20 11:57:47 +00:00
|
|
|
, public ViECodecImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_CAPTURE_API
|
2011-12-20 11:57:47 +00:00
|
|
|
, public ViECaptureImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_ENCRYPTION_API
|
2011-12-20 11:57:47 +00:00
|
|
|
, public ViEEncryptionImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_FILE_API
|
2011-12-20 11:57:47 +00:00
|
|
|
, public ViEFileImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_IMAGE_PROCESS_API
|
2011-12-20 11:57:47 +00:00
|
|
|
, public ViEImageProcessImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
2011-12-20 11:57:47 +00:00
|
|
|
, public ViENetworkImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_RENDER_API
|
2011-12-20 11:57:47 +00:00
|
|
|
, public ViERenderImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_RTP_RTCP_API
|
2011-12-20 11:57:47 +00:00
|
|
|
, public ViERTP_RTCPImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_EXTERNAL_CODEC_API
|
2011-12-20 11:57:47 +00:00
|
|
|
, public ViEExternalCodecImpl
|
2011-07-07 08:21:25 +00:00
|
|
|
#endif
|
2011-12-20 11:57:47 +00:00
|
|
|
{ // NOLINT
|
|
|
|
|
public:
|
2012-01-25 13:42:03 +00:00
|
|
|
VideoEngineImpl()
|
|
|
|
|
:
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_CODEC_API
|
|
|
|
|
ViECodecImpl(ViEBaseImpl::shared_data())
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_CAPTURE_API
|
|
|
|
|
, ViECaptureImpl(ViEBaseImpl::shared_data())
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_ENCRYPTION_API
|
|
|
|
|
, ViEEncryptionImpl(ViEBaseImpl::shared_data())
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_FILE_API
|
|
|
|
|
, ViEFileImpl(ViEBaseImpl::shared_data())
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_IMAGE_PROCESS_API
|
|
|
|
|
, ViEImageProcessImpl(ViEBaseImpl::shared_data())
|
|
|
|
|
#endif
|
|
|
|
|
, ViENetworkImpl(ViEBaseImpl::shared_data())
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_RENDER_API
|
|
|
|
|
, ViERenderImpl(ViEBaseImpl::shared_data())
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_RTP_RTCP_API
|
|
|
|
|
, ViERTP_RTCPImpl(ViEBaseImpl::shared_data())
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef WEBRTC_VIDEO_ENGINE_EXTERNAL_CODEC_API
|
|
|
|
|
, ViEExternalCodecImpl(ViEBaseImpl::shared_data())
|
|
|
|
|
#endif
|
|
|
|
|
{}
|
2011-12-20 11:57:47 +00:00
|
|
|
virtual ~VideoEngineImpl() {}
|
2011-07-07 08:21:25 +00:00
|
|
|
};
|
2011-12-20 11:57:47 +00:00
|
|
|
|
2011-07-07 08:21:25 +00:00
|
|
|
} // namespace webrtc
|
2011-12-20 11:57:47 +00:00
|
|
|
|
2012-06-29 13:20:14 +00:00
|
|
|
#endif // WEBRTC_VIDEO_ENGINE_VIE_IMPL_H_
|