Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cVidCap Class Referenceabstract

#include <cVidCap.h>

Public Member Functions

 cVidCap ()
 
 ~cVidCap ()
 
virtual HRESULT GrabSample (cSurfaceBase &SurfCopy, bool bConvert=false)=0
 
 UNITTEST_FRIEND (cVidCap)
 

Detailed Description

Capture a video stream from some device by name. Works with Linux, DirectX, or VFW API's. Linux, Webcam has a file name something like "/dev/video0" or "/dev/video1"

Constructor & Destructor Documentation

◆ cVidCap()

GrayLib::cVidCap::cVidCap ( )

◆ ~cVidCap()

GrayLib::cVidCap::~cVidCap ( )

Member Function Documentation

◆ GrabSample()

virtual HRESULT GrayLib::cVidCap::GrabSample ( cSurfaceBase SurfCopy,
bool  bConvert = false 
)
pure virtual

◆ UNITTEST_FRIEND()

GrayLib::cVidCap::UNITTEST_FRIEND ( cVidCap  )

The documentation for this class was generated from the following files: