class PVideoInputDevice |
This class defines a video input device
![]() | PVideoInputDevice () Create a new video input device |
![]() | ~PVideoInputDevice () Close the video input device on destruction |
![]() | CanCaptureVideo () const Is the device a camera, and obtain video |
![]() | Open ( const PString & deviceName, BOOL startImmediate = TRUE ) Open the device given the device name. |
![]() | IsOpen () Determine of the device is currently open |
![]() | Close () Close the device |
![]() | Start () Start the video device I/O |
![]() | Stop () Stop the video device I/O capture |
![]() | IsCapturing () Determine if the video device I/O capture is in progress |
![]() | GetDeviceNames () const Get a list of all of the drivers available |
![]() | GetInputDeviceNames () Get a list of all of the drivers available |
![]() | GetMaxFrameBytes () Get the maximum frame size in bytes. |
![]() | GetFrame ( PBYTEArray & frame ) Grab a frame |
![]() | GetFrameData ( BYTE* buffer, PINDEX* bytesReturned = NULL ) Grab a frame, after a delay as specified by the frame rate. |
![]() | GetFrameDataNoDelay ( BYTE* buffer, PINDEX* bytesReturned = NULL ) Grab a frame. |
![]() | TestAllFormats () Try all known video formats & see which ones are accepted by the video driver |
![]() | VerifyHardwareFrameSize (unsigned width, unsigned height) Check the hardware can do the asked for size. |
Run Time Type functions
I/O functions
Miscellaneous functions
Comparison functions
This class defines a video input device
Note a particular device may be able to provide variable length frames (eg motion JPEG) so will be the maximum size of all frames.
Note that not all cameras can provide all frame sizes.
Alphabetic index HTML hierarchy of classes or Java