avcap::Format Class Reference

#include <avcap/FormatManager.h>


Detailed Description

Description of a video format.


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_tgetResolutionList () const
 Return a list of resolutions that are supported for this format.
void addResolution (int w, int h)


Member Typedef Documentation

typedef std::list<Resolution*> avcap::Format::ResolutionList_t


Constructor & Destructor Documentation

avcap::Format::Format ( const std::string &  n,
uint32_t  f 
) [inline]

Constructor.

Format::~Format (  )  [virtual]

Destructor.


Member Function Documentation

const std::string& avcap::Format::getName (  )  const [inline]

Get the name of the format.

Returns:
name

uint32_t avcap::Format::getFourcc (  )  const [inline]

Get the four character code of the format (see: www.fourcc.org).

Returns:
fourcc

const ResolutionList_t& avcap::Format::getResolutionList (  )  const [inline]

Return a list of resolutions that are supported for this format.

Returns:
the resolutions.

void Format::addResolution ( int  w,
int  h 
)


The documentation for this class was generated from the following files:
Generated on Mon Nov 30 11:10:32 2009 for avcap-0.1 by  doxygen 1.5.1