DUNE: Uniform Navigational Environment
2016.05.0
|
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 |
Standard.
Enumerator | |
---|---|
STANDARD_PAL |
Phase Alternating Line (PAL). |
STANDARD_NTSC |
National Television System Committee (NTSC). |
DUNE::Media::VideoCapture::VideoCapture | ( | const std::string & | dev, |
uint32_t | width, | ||
uint32_t | height | ||
) |
References start().
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().