#include <CaptureImplDirectShow.h>
Classes | |
| class | Device |
Public Member Functions | |
| CaptureImplDirectShow (int32_t width, int32_t height, const Capture::DeviceRef device) | |
| CaptureImplDirectShow (int32_t width, int32_t height) | |
| ~CaptureImplDirectShow () | |
| void | start () |
| void | stop () |
| bool | isCapturing () |
| bool | checkNewFrame () const |
| int32_t | getWidth () const |
| int32_t | getHeight () const |
| Surface8u | getSurface () const |
| const Capture::DeviceRef | getDevice () const |
Static Public Member Functions | |
| static const std::vector < Capture::DeviceRef > & | getDevices (bool forceRefresh=false) |
Protected Member Functions | |
| void | init (int32_t width, int32_t height, const Capture::Device &device) |
Protected Attributes | |
| int | mDeviceID |
| std::shared_ptr< class CaptureMgr > | mMgrPtr |
| bool | mIsCapturing |
| std::shared_ptr< class SurfaceCache > | mSurfaceCache |
| int32_t | mWidth |
| int32_t | mHeight |
| Surface8u | mCurrentFrame |
| Capture::DeviceRef | mDevice |
Static Protected Attributes | |
| static bool | sDevicesEnumerated = false |
| static std::vector < Capture::DeviceRef > | sDevices |
| cinder::CaptureImplDirectShow::CaptureImplDirectShow | ( | int32_t | width, |
| int32_t | height, | ||
| const Capture::DeviceRef | device | ||
| ) |
| cinder::CaptureImplDirectShow::CaptureImplDirectShow | ( | int32_t | width, |
| int32_t | height | ||
| ) |
| void cinder::CaptureImplDirectShow::start | ( | ) |
| void cinder::CaptureImplDirectShow::stop | ( | ) |
| bool cinder::CaptureImplDirectShow::checkNewFrame | ( | ) | const |
| int32_t cinder::CaptureImplDirectShow::getWidth | ( | ) | const |
| int32_t cinder::CaptureImplDirectShow::getHeight | ( | ) | const |
| const Capture::DeviceRef cinder::CaptureImplDirectShow::getDevice | ( | ) | const |
| const vector< Capture::DeviceRef > & cinder::CaptureImplDirectShow::getDevices | ( | bool | forceRefresh = false | ) | [static] |
| void cinder::CaptureImplDirectShow::init | ( | int32_t | width, |
| int32_t | height, | ||
| const Capture::Device & | device | ||
| ) | [protected] |
int cinder::CaptureImplDirectShow::mDeviceID [protected] |
std::shared_ptr<class CaptureMgr> cinder::CaptureImplDirectShow::mMgrPtr [protected] |
bool cinder::CaptureImplDirectShow::mIsCapturing [protected] |
std::shared_ptr<class SurfaceCache> cinder::CaptureImplDirectShow::mSurfaceCache [protected] |
int32_t cinder::CaptureImplDirectShow::mWidth [protected] |
int32_t cinder::CaptureImplDirectShow::mHeight [protected] |
Surface8u cinder::CaptureImplDirectShow::mCurrentFrame [mutable, protected] |
bool cinder::CaptureImplDirectShow::sDevicesEnumerated = false [static, protected] |
vector< Capture::DeviceRef > cinder::CaptureImplDirectShow::sDevices [static, protected] |