Output filter that coerces output into a particular VideoFormat. More...
#include <Transport/CoerceVideoFormatOfilt.H>
Public Member Functions | |
CoerceVideoFormatOfilt (OptionManager &mgr, VideoFormat mode) | |
Constructor. | |
virtual | ~CoerceVideoFormatOfilt () |
Destructor. | |
Protected Member Functions | |
virtual void | start1 () |
show the table of available coercions | |
virtual void | filterFrame (FrameOstream &dest, const GenericFrame &frame, const std::string &shortname, const FrameInfo &auxinfo) |
Convert frame to the desired VideoFormat. |
Output filter that coerces output into a particular VideoFormat.
Definition at line 45 of file CoerceVideoFormatOfilt.H.
CoerceVideoFormatOfilt::CoerceVideoFormatOfilt | ( | OptionManager & | mgr, | |
VideoFormat | mode | |||
) |
Constructor.
Definition at line 50 of file CoerceVideoFormatOfilt.C.
CoerceVideoFormatOfilt::~CoerceVideoFormatOfilt | ( | ) | [virtual] |
Destructor.
Definition at line 62 of file CoerceVideoFormatOfilt.C.
void CoerceVideoFormatOfilt::filterFrame | ( | FrameOstream & | dest, | |
const GenericFrame & | frame, | |||
const std::string & | shortname, | |||
const FrameInfo & | auxinfo | |||
) | [protected, virtual] |
Convert frame to the desired VideoFormat.
Implements FrameOfilt.
Definition at line 72 of file CoerceVideoFormatOfilt.C.
References GenericFrame::asVideo(), findConverter(), VideoFrame::getMode(), and FrameOstream::writeFrame().
void CoerceVideoFormatOfilt::start1 | ( | ) | [protected, virtual] |
show the table of available coercions
Reimplemented from ModelComponent.
Definition at line 66 of file CoerceVideoFormatOfilt.C.
References printCoercionTable().