#include <videoio.h>
Inheritance diagram for PVideoInputDevice:
Public Member Functions | |
~PVideoInputDevice () | |
virtual BOOL | CanCaptureVideo () const |
virtual BOOL | Open (const PString &deviceName, BOOL startImmediate=TRUE)=0 |
virtual BOOL | Close () |
virtual BOOL | IsCapturing ()=0 |
virtual PINDEX | GetMaxFrameBytes ()=0 |
virtual BOOL | GetFrame (PBYTEArray &frame)=0 |
virtual BOOL | GetFrameData (BYTE *buffer, PINDEX *bytesReturned=NULL)=0 |
virtual BOOL | GetFrameDataNoDelay (BYTE *buffer, PINDEX *bytesReturned=NULL)=0 |
virtual BOOL | TestAllFormats ()=0 |
Static Public Member Functions | |
PStringList | GetDriverNames (PPluginManager *pluginMgr=NULL) |
PStringList | GetDriversDeviceNames (const PString &driverName, PPluginManager *pluginMgr=NULL) |
PVideoInputDevice * | CreateDevice (const PString &driverName, PPluginManager *pluginMgr=NULL) |
PVideoInputDevice * | CreateDeviceByName (const PString &deviceName, PPluginManager *pluginMgr=NULL) |
PVideoInputDevice * | CreateOpenedDevice (const PString &driverName, const PString &deviceName, BOOL startImmediate=TRUE, PPluginManager *pluginMgr=NULL) |
|
Close the video input device on destruction. |
|
Is the device a camera, and obtain video Implements PVideoDevice. |
|
Close the device. Implements PVideoDevice. Reimplemented in PVideoInput1394DcDevice. |
|
Return the video input device that corresponds to the specified name. |
|
|
|
Return opened video input device that corresponds to the specified name |
|
Return the list of available video input drivers |
|
Return video devices that correspond to the specified name |
|
Grab a frame. |
|
Grab a frame, after a delay as specified by the frame rate.
Implemented in PVideoInput1394DcDevice. |
|
Grab a frame. Do not delay according to the current frame rate parameter.
Implemented in PVideoInput1394DcDevice. |
|
Get the maximum frame size in bytes. Note a particular device may be able to provide variable length frames (eg motion JPEG) so will be the maximum size of all frames. Implements PVideoDevice. Implemented in PVideoInput1394DcDevice. |
|
Determine if the video device I/O capture is in progress. Implemented in PVideoInput1394DcDevice. |
|
Open the device given the device name.
Implements PVideoDevice. Implemented in PVideoInput1394DcDevice. |
|
Try all known video formats & see which ones are accepted by the video driver Implemented in PVideoInput1394DcDevice. |