#include "Util/Types.H"
#include "Video/VideoFormat.H"
#include <deque>
Go to the source code of this file.
Classes | |
struct | VideoFormatConverter |
class | VideoFormatCoercion |
Functions | |
const VideoFormatCoercion & | findConverter (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. |
Definition in file VideoFormatCoercion.H.
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().