DUNE: Uniform Navigational Environment  2.5.0
DUNE::Media::VideoCapture Class Reference

Public Types

enum  Standard { STANDARD_PAL, STANDARD_NTSC }
 

Public Member Functions

 VideoCapture (const std::string &dev, uint32_t width, uint32_t height)
 
 ~VideoCapture (void)
 
void start (void)
 
void stop (void)
 
void setStandard (Standard standard)
 
bool frameCapture (void)
 
uint32_t frameWidth (void) const
 
uint32_t frameHeight (void) const
 
uint8_t * frameData (void) const
 
uint32_t frameSize (void) const
 

Member Enumeration Documentation

Standard.

Enumerator
STANDARD_PAL 

Phase Alternating Line (PAL).

STANDARD_NTSC 

National Television System Committee (NTSC).

Constructor & Destructor Documentation

DUNE::Media::VideoCapture::VideoCapture ( const std::string &  dev,
uint32_t  width,
uint32_t  height 
)

References start().

DUNE::Media::VideoCapture::~VideoCapture ( void  )

References start(), and stop().

Member Function Documentation

bool DUNE::Media::VideoCapture::frameCapture ( void  )
uint8_t * DUNE::Media::VideoCapture::frameData ( void  ) const
uint32_t DUNE::Media::VideoCapture::frameHeight ( void  ) const
uint32_t DUNE::Media::VideoCapture::frameSize ( void  ) const
uint32_t DUNE::Media::VideoCapture::frameWidth ( void  ) const
void DUNE::Media::VideoCapture::setStandard ( VideoCapture::Standard  standard)

References STANDARD_NTSC, and STANDARD_PAL.

void DUNE::Media::VideoCapture::start ( void  )

Referenced by VideoCapture(), and ~VideoCapture().

void DUNE::Media::VideoCapture::stop ( void  )

Referenced by ~VideoCapture().

Collaboration diagram for DUNE::Media::VideoCapture:
Collaboration graph