Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

sample_grabber_cb Class Reference

#include <vidl2_dshow_live_istream.h>

List of all members.


Detailed Description

Definition at line 37 of file vidl2_dshow_live_istream.h.

Public Member Functions

 sample_grabber_cb ()
 Constructor.
 STDMETHODIMP_ (ULONG) AddRef()
 STDMETHODIMP_ (ULONG) Release()
STDMETHODIMP QueryInterface (REFIID riid, void **target)
STDMETHODIMP SampleCB (double time, IMediaSample *sample)
 Retrieves the original media sample.
STDMETHODIMP BufferCB (double time, BYTE *buffer, long buffer_size)
 Retrieves a copy of the media sample (requires SetBufferSamples(true)).
void advance ()
vidl2_frame_sptr current_frame ()

Private Attributes

vcl_vector< unsigned char > buffer_ [3]
double buffer_time_ [3]
unsigned int busy_index_
unsigned int curr_index_
unsigned int next_index_
HANDLE mutex_


Constructor & Destructor Documentation

sample_grabber_cb::sample_grabber_cb  ) 
 

Constructor.

Definition at line 18 of file vidl2_dshow_live_istream.cxx.


Member Function Documentation

void sample_grabber_cb::advance  ) 
 

Definition at line 82 of file vidl2_dshow_live_istream.cxx.

STDMETHODIMP sample_grabber_cb::BufferCB double  time,
BYTE *  buffer,
long  buffer_size
 

Retrieves a copy of the media sample (requires SetBufferSamples(true)).

Definition at line 57 of file vidl2_dshow_live_istream.cxx.

vidl2_frame_sptr sample_grabber_cb::current_frame  ) 
 

Definition at line 98 of file vidl2_dshow_live_istream.cxx.

STDMETHODIMP sample_grabber_cb::QueryInterface REFIID  riid,
void **  target
 

Definition at line 27 of file vidl2_dshow_live_istream.cxx.

STDMETHODIMP sample_grabber_cb::SampleCB double  time,
IMediaSample *  sample
 

Retrieves the original media sample.

Definition at line 45 of file vidl2_dshow_live_istream.cxx.

sample_grabber_cb::STDMETHODIMP_ ULONG   )  [inline]
 

Definition at line 45 of file vidl2_dshow_live_istream.h.

sample_grabber_cb::STDMETHODIMP_ ULONG   )  [inline]
 

Definition at line 44 of file vidl2_dshow_live_istream.h.


Member Data Documentation

vcl_vector<unsigned char> sample_grabber_cb::buffer_[3] [private]
 

Definition at line 58 of file vidl2_dshow_live_istream.h.

double sample_grabber_cb::buffer_time_[3] [private]
 

Definition at line 59 of file vidl2_dshow_live_istream.h.

unsigned int sample_grabber_cb::busy_index_ [private]
 

Definition at line 62 of file vidl2_dshow_live_istream.h.

unsigned int sample_grabber_cb::curr_index_ [private]
 

Definition at line 63 of file vidl2_dshow_live_istream.h.

HANDLE sample_grabber_cb::mutex_ [private]
 

Definition at line 66 of file vidl2_dshow_live_istream.h.

unsigned int sample_grabber_cb::next_index_ [private]
 

Definition at line 64 of file vidl2_dshow_live_istream.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:51:32 2008 for contrib/brl/bbas/vidl2 by  doxygen 1.4.4