1b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org/* 2b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 3b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * 4b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * Use of this source code is governed by a BSD-style license 5b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * that can be found in the LICENSE file in the root of the source 6b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * tree. An additional intellectual property rights grant can be found 7b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * in the file PATENTS. All contributing project authors may 8b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * be found in the AUTHORS file in the root of the source tree. 9b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org */ 10b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 1187c29b570711208c5f74bf9eaffbea549de866c7pbos@webrtc.org#include "webrtc/modules/video_capture/include/video_capture_factory.h" 1287c29b570711208c5f74bf9eaffbea549de866c7pbos@webrtc.org 1387c29b570711208c5f74bf9eaffbea549de866c7pbos@webrtc.org#include "webrtc/modules/video_capture/video_capture_impl.h" 14b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 15b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgnamespace webrtc 16b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org{ 17b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 18f7e44d647cd0f893a185dfbe043cb313cab29fd0pbos@webrtc.orgVideoCaptureModule* VideoCaptureFactory::Create(const int32_t id, 19b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org const char* deviceUniqueIdUTF8) { 20b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org return videocapturemodule::VideoCaptureImpl::Create(id, deviceUniqueIdUTF8); 21b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org} 22b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 23f7e44d647cd0f893a185dfbe043cb313cab29fd0pbos@webrtc.orgVideoCaptureModule* VideoCaptureFactory::Create(const int32_t id, 24b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org VideoCaptureExternal*& externalCapture) { 25b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org return videocapturemodule::VideoCaptureImpl::Create(id, externalCapture); 26b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org} 27b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 28b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgVideoCaptureModule::DeviceInfo* VideoCaptureFactory::CreateDeviceInfo( 29f7e44d647cd0f893a185dfbe043cb313cab29fd0pbos@webrtc.org const int32_t id) { 30b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org return videocapturemodule::VideoCaptureImpl::CreateDeviceInfo(id); 31b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org} 32b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org 333b89e10f31160da35b408fd00cb8f89d2b08862dpbos@webrtc.org} // namespace webrtc 34