CSampleGrabberCB Class Reference
[Videosource: Video acquisition abstraction]

#include <dshowfile.h>

List of all members.

Public Member Functions

 CSampleGrabberCB ()
 STDMETHODIMP_ (ULONG) AddRef()
 STDMETHODIMP_ (ULONG) Release()
STDMETHODIMP QueryInterface (REFIID riid, void **ppv)
STDMETHODIMP SampleCB (double SampleTime, IMediaSample *pSample)
STDMETHODIMP BufferCB (double SampleTime, BYTE *pBuffer, long BufferSize)

Public Attributes

long Width
long Height
IplImage * image
bool frameWanted


Detailed Description

Implementation of CSampleGrabberCB object Note: this object is a SEMI-COM object, and can only be created statically.

Definition at line 17 of file dshowfile.h.


Constructor & Destructor Documentation

CSampleGrabberCB::CSampleGrabberCB (  )  [inline]

Definition at line 29 of file dshowfile.h.

References frameWanted, and image.


Member Function Documentation

STDMETHODIMP CSampleGrabberCB::BufferCB ( double  SampleTime,
BYTE *  pBuffer,
long  BufferSize 
) [inline]

Definition at line 73 of file dshowfile.h.

References frameWanted, and image.

STDMETHODIMP CSampleGrabberCB::QueryInterface ( REFIID  riid,
void **  ppv 
) [inline]

Definition at line 48 of file dshowfile.h.

STDMETHODIMP CSampleGrabberCB::SampleCB ( double  SampleTime,
IMediaSample *  pSample 
) [inline]

Definition at line 64 of file dshowfile.h.

CSampleGrabberCB::STDMETHODIMP_ ( ULONG   )  [inline]

Definition at line 41 of file dshowfile.h.

CSampleGrabberCB::STDMETHODIMP_ ( ULONG   )  [inline]

Definition at line 36 of file dshowfile.h.


Member Data Documentation

Definition at line 27 of file dshowfile.h.

Referenced by BufferCB(), CSampleGrabberCB(), and DShowFile::getFrame().

Definition at line 25 of file dshowfile.h.

Referenced by DShowFile::getSize(), and DShowFile::initialize().

Definition at line 26 of file dshowfile.h.

Referenced by BufferCB(), CSampleGrabberCB(), and DShowFile::initialize().

Definition at line 24 of file dshowfile.h.

Referenced by DShowFile::getSize(), and DShowFile::initialize().


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

Generated on Tue Mar 30 15:53:25 2010 for Polyora by  doxygen 1.5.9