RTSPGrabber Class Reference

Inheritance diagram for RTSPGrabber:
Inheritance graph
[legend]
Collaboration diagram for RTSPGrabber:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RTSPGrabber (OptionManager &mgr, const std::string &descrName="RTSP Frame Grabber Driver", const std::string &tagName="RTSPFrameGrabber", const ParamFlag flags=USE_MY_VAL, unsigned int bufferSize=200000)
 Constructor.
virtual ~RTSPGrabber ()
 Destructor.
virtual GenericFrameSpec peekFrameSpec ()
 Return the specifications of the next frame to be returned.
virtual SimTime getNaturalFrameTime () const
 Get the inter-frame time that matches our video mode.
virtual GenericFrame readFrame ()
 Get the next frame from the frame-grabber.
virtual void setConfigInfo (const std::string &url)
 Override from FrameIstream; just set the url.
unsigned int getFrameBufferSize ()
 get the size of the buffer
void run ()
 the capture thread

Public Attributes

char blockingFlag
 do not use!! used to implement synchronus reads
unsigned int itsFrameSize
 set the frame size

Protected Member Functions

VideoFrame grabRaw ()
 Grab raw data (the raw bayer format data).
virtual void start1 ()
 get started
virtual void stop2 ()
 get stopped
void createDecoder ()
 Create a decoder.

Detailed Description

Definition at line 78 of file RTSPGrabber.H.


Constructor & Destructor Documentation

RTSPGrabber::RTSPGrabber ( OptionManager mgr,
const std::string descrName = "RTSP Frame Grabber Driver",
const std::string tagName = "RTSPFrameGrabber",
const ParamFlag  flags = USE_MY_VAL,
unsigned int  bufferSize = 200000 
)

Constructor.

Definition at line 97 of file RTSPGrabber.C.

References OModelParam< T >::getVal(), and NO_INIT.

RTSPGrabber::~RTSPGrabber (  )  [virtual]

Destructor.

Definition at line 366 of file RTSPGrabber.C.


Member Function Documentation

void RTSPGrabber::createDecoder (  )  [protected]

Create a decoder.

Definition at line 433 of file RTSPGrabber.C.

unsigned int RTSPGrabber::getFrameBufferSize (  )  [inline]

get the size of the buffer

Definition at line 106 of file RTSPGrabber.H.

SimTime RTSPGrabber::getNaturalFrameTime (  )  const [virtual]

Get the inter-frame time that matches our video mode.

Reimplemented from FrameIstream.

Definition at line 392 of file RTSPGrabber.C.

References OModelParam< T >::getVal(), and SimTime::HERTZ().

VideoFrame RTSPGrabber::grabRaw (  )  [protected]

Grab raw data (the raw bayer format data).

Don't call this directly; use readFrame() instead.

Definition at line 406 of file RTSPGrabber.C.

Referenced by readFrame().

GenericFrameSpec RTSPGrabber::peekFrameSpec (  )  [virtual]

Return the specifications of the next frame to be returned.

Implements FrameIstream.

Definition at line 378 of file RTSPGrabber.C.

References OModelParam< T >::getVal().

GenericFrame RTSPGrabber::readFrame (  )  [virtual]

Get the next frame from the frame-grabber.

Returns grabbed frame. This call will block until a frame is ready and has been grabbed.

Implements FrameIstream.

Definition at line 400 of file RTSPGrabber.C.

References grabRaw().

void RTSPGrabber::run (  ) 

the capture thread

Definition at line 269 of file RTSPGrabber.C.

References blockingFlag, convertAVFrameToVideoFrame(), OModelParam< T >::getVal(), and itsFrameSize.

void RTSPGrabber::setConfigInfo ( const std::string url  )  [virtual]

Override from FrameIstream; just set the url.

Reimplemented from FrameIstream.

Definition at line 320 of file RTSPGrabber.C.

void RTSPGrabber::start1 (  )  [protected, virtual]

get started

Reimplemented from ModelComponent.

Definition at line 155 of file RTSPGrabber.C.

void RTSPGrabber::stop2 (  )  [protected, virtual]

get stopped

Reimplemented from ModelComponent.

Definition at line 355 of file RTSPGrabber.C.


Member Data Documentation

do not use!! used to implement synchronus reads

Definition at line 109 of file RTSPGrabber.H.

Referenced by run().

set the frame size

Definition at line 111 of file RTSPGrabber.H.

Referenced by run().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:46 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3