#include <macVideoCapture.h>

Public Member Functions | |
| QTVideoCapture () | |
| C-tor. | |
| virtual | ~QTVideoCapture () |
| D-tor. | |
| virtual std::string | getHumanReadableName () |
| Get driver name suitable for display. | |
| virtual std::map< std::string, std::string > | inputDevices () |
| key: unique identifier that is persistent on one computer across device connections and disconnections (UTF8) val: localized human-readable name for the device (UTF8) | |
| virtual std::string | defaultInputDevice () |
| Get unique identifier of default video input device (UTF8). | |
| virtual bool | isInputDeviceAvailable (const std::string &inputDevice) |
| Is the video input device with the given unique identifier available? (UTF8). | |
| virtual std::map< std::string, std::string > | getVideoFormatsSupport (const std::string &inputDevice) |
| Get video formats supported by the given device (unique identifier) (UTF8) key: unique identifier of the format (UTF8) val: localized human-readable name of the format (UTF8). | |
| virtual std::string | defaultVideoFormat (const std::string &inputDevice) |
| Get unique identifier of default video format supported by the given device (unique identifier) (UTF8). | |
| virtual std::list < VCVideoFrameSize > | getVideoFrameSizesSupport (const std::string &inputDevice) |
| Get list of video frame sizes supported by the given device (unique identifier) (UTF8). | |
| virtual bool | startCapture (const std::string &inputDevice, const std::string &inputFormat, const VCVideoFrameSize &size=VCVideoFrameSize(), int frameRate=0) |
| Starts video stream capture using the video input device & format with the given unique identifiers (UTF8). | |
| virtual void | stopCapture () |
| Stops video stream capture. | |
| virtual bool | isCapturing () |
| Returns capture run state. | |
| virtual bool | getVideoFrameProperties (VCVideoFrameProps &props) |
| Obtain image properties of current video frame. | |
| virtual bool | getVideoFrameAsMLImage (TSubImg< MLuint8 > *subImg) |
| Obtain image of current video frame. | |
Public Attributes | |
| public | VC_EXTENDER: virtual unsigned int define2DGLTextureFromVideoFrame() |
Definition at line 33 of file macVideoCapture.h.
| ml::QTVideoCapture::QTVideoCapture | ( | ) |
C-tor.
| virtual ml::QTVideoCapture::~QTVideoCapture | ( | ) | [virtual] |
D-tor.
| virtual std::string ml::QTVideoCapture::defaultInputDevice | ( | ) | [virtual] |
| virtual std::string ml::QTVideoCapture::defaultVideoFormat | ( | const std::string & | inputDevice | ) | [virtual] |
Get unique identifier of default video format supported by the given device (unique identifier) (UTF8).
Implements ml::VCVideoCaptureInterface.
| virtual std::string ml::QTVideoCapture::getHumanReadableName | ( | ) | [inline, virtual] |
Get driver name suitable for display.
Implements ml::VCVideoCaptureInterface.
Definition at line 45 of file macVideoCapture.h.
| virtual std::map<std::string, std::string> ml::QTVideoCapture::getVideoFormatsSupport | ( | const std::string & | inputDevice | ) | [virtual] |
Get video formats supported by the given device (unique identifier) (UTF8) key: unique identifier of the format (UTF8) val: localized human-readable name of the format (UTF8).
Implements ml::VCVideoCaptureInterface.
| virtual bool ml::QTVideoCapture::getVideoFrameAsMLImage | ( | TSubImg< MLuint8 > * | subImg | ) | [virtual] |
| virtual bool ml::QTVideoCapture::getVideoFrameProperties | ( | VCVideoFrameProps & | props | ) | [virtual] |
| virtual std::list<VCVideoFrameSize> ml::QTVideoCapture::getVideoFrameSizesSupport | ( | const std::string & | inputDevice | ) | [virtual] |
Get list of video frame sizes supported by the given device (unique identifier) (UTF8).
Implements ml::VCVideoCaptureInterface.
| virtual std::map<std::string, std::string> ml::QTVideoCapture::inputDevices | ( | ) | [virtual] |
key: unique identifier that is persistent on one computer across device connections and disconnections (UTF8) val: localized human-readable name for the device (UTF8)
Implements ml::VCVideoCaptureInterface.
| virtual bool ml::QTVideoCapture::isCapturing | ( | ) | [virtual] |
| virtual bool ml::QTVideoCapture::isInputDeviceAvailable | ( | const std::string & | inputDevice | ) | [virtual] |
Is the video input device with the given unique identifier available? (UTF8).
Implements ml::VCVideoCaptureInterface.
| virtual bool ml::QTVideoCapture::startCapture | ( | const std::string & | inputDevice, | |
| const std::string & | inputFormat, | |||
| const VCVideoFrameSize & | size = VCVideoFrameSize(), |
|||
| int | frameRate = 0 | |||
| ) | [virtual] |
Starts video stream capture using the video input device & format with the given unique identifiers (UTF8).
If no video frame size and/or frame rate are provided, use the native resolution and/or frame rate of the video camera
Implements ml::VCVideoCaptureInterface.
| virtual void ml::QTVideoCapture::stopCapture | ( | ) | [virtual] |
1.5.8