#include <avcap/FormatManager.h>
Public Types | |
typedef std::list< Resolution * > | ResolutionList_t |
Public Member Functions | |
Format (const std::string &n, uint32_t f) | |
Constructor. | |
virtual | ~Format () |
Destructor. | |
const std::string & | getName () const |
Get the name of the format. | |
uint32_t | getFourcc () const |
Get the four character code of the format (see: www.fourcc.org). | |
const ResolutionList_t & | getResolutionList () const |
Return a list of resolutions that are supported for this format. | |
void | addResolution (int w, int h) |
typedef std::list<Resolution*> avcap::Format::ResolutionList_t |
avcap::Format::Format | ( | const std::string & | n, | |
uint32_t | f | |||
) | [inline] |
Constructor.
Format::~Format | ( | ) | [virtual] |
Destructor.
const std::string& avcap::Format::getName | ( | ) | const [inline] |
Get the name of the format.
uint32_t avcap::Format::getFourcc | ( | ) | const [inline] |
Get the four character code of the format (see: www.fourcc.org).
const ResolutionList_t& avcap::Format::getResolutionList | ( | ) | const [inline] |
Return a list of resolutions that are supported for this format.
void Format::addResolution | ( | int | w, | |
int | h | |||
) |