Gnash
0.8.10
|
Abstract base class for video image space conversion. More...
#include <VideoConverter.h>
Public Member Functions | |
VideoConverter (ImgBuf::Type4CC srcFormat, ImgBuf::Type4CC dstFormat) | |
virtual | ~VideoConverter () |
virtual std::auto_ptr< ImgBuf > | convert (const ImgBuf &src)=0 |
Convert a (video) image from one colorspace to another. | |
Protected Attributes | |
ImgBuf::Type4CC | _src_fmt |
ImgBuf::Type4CC | _dst_fmt |
Abstract base class for video image space conversion.
gnash::media::VideoConverter::VideoConverter | ( | ImgBuf::Type4CC | srcFormat, |
ImgBuf::Type4CC | dstFormat | ||
) | [inline] |
virtual gnash::media::VideoConverter::~VideoConverter | ( | ) | [inline, virtual] |
virtual std::auto_ptr<ImgBuf> gnash::media::VideoConverter::convert | ( | const ImgBuf & | src | ) | [pure virtual] |
Convert a (video) image from one colorspace to another.
src | the image to convert |
Implemented in gnash::media::gst::VideoConverterGst, gnash::media::haiku::VideoConverterHaiku, and gnash::media::ffmpeg::VideoConverterFfmpeg.