VideoFormatCoercion.H File Reference

#include "Util/Types.H"
#include "Video/VideoFormat.H"
#include <deque>
Include dependency graph for VideoFormatCoercion.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VideoFormatConverter
class  VideoFormatCoercion

Functions

const VideoFormatCoercionfindConverter (const VideoFormat srcformat, const VideoFormat dstformat)
 Find a direct or indirect converter for a pair of VideoFormat values.
VideoFrame coerceVideoFormat (const VideoFrame &src, const VideoFormat dstformat)
 Coerce a VideoFrame into a different VideoFormat.
void printCoercionTable ()
 Print a quick summary table of available coercions and their path-lengths to stderr.

Detailed Description

Definition in file VideoFormatCoercion.H.


Function Documentation

VideoFrame coerceVideoFormat ( const VideoFrame src,
const VideoFormat  dstformat 
)

Coerce a VideoFrame into a different VideoFormat.

Definition at line 1417 of file VideoFormatCoercion.C.

References findConverter(), and VideoFrame::getMode().

const VideoFormatCoercion& findConverter ( const VideoFormat  srcformat,
const VideoFormat  dstformat 
)

Find a direct or indirect converter for a pair of VideoFormat values.

Definition at line 1397 of file VideoFormatCoercion.C.

References ASSERT.

Referenced by coerceVideoFormat(), CoerceVideoFormatOfilt::filterFrame(), and printCoercionTable().

void printCoercionTable (  ) 

Print a quick summary table of available coercions and their path-lengths to stderr.

Definition at line 1429 of file VideoFormatCoercion.C.

References findConverter(), and sformat().

Referenced by CoerceVideoFormatOfilt::start1().

Generated on Sun May 8 08:19:46 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3