Gnash  0.8.10
Public Member Functions | Protected Attributes
gnash::media::VideoConverter Class Reference

Abstract base class for video image space conversion. More...

#include <VideoConverter.h>

Inheritance diagram for gnash::media::VideoConverter:
gnash::media::ffmpeg::VideoConverterFfmpeg gnash::media::gst::VideoConverterGst gnash::media::haiku::VideoConverterHaiku

List of all members.

Public Member Functions

 VideoConverter (ImgBuf::Type4CC srcFormat, ImgBuf::Type4CC dstFormat)
virtual ~VideoConverter ()
virtual std::auto_ptr< ImgBufconvert (const ImgBuf &src)=0
 Convert a (video) image from one colorspace to another.

Protected Attributes

ImgBuf::Type4CC _src_fmt
ImgBuf::Type4CC _dst_fmt

Detailed Description

Abstract base class for video image space conversion.

Constructor & Destructor Documentation

gnash::media::VideoConverter::VideoConverter ( ImgBuf::Type4CC  srcFormat,
ImgBuf::Type4CC  dstFormat 
) [inline]
virtual gnash::media::VideoConverter::~VideoConverter ( ) [inline, virtual]

Member Function Documentation

virtual std::auto_ptr<ImgBuf> gnash::media::VideoConverter::convert ( const ImgBuf src) [pure virtual]

Convert a (video) image from one colorspace to another.

srcthe image to convert
the converted image or a NULL auto_ptr if an error occurred.

Implemented in gnash::media::gst::VideoConverterGst, gnash::media::haiku::VideoConverterHaiku, and gnash::media::ffmpeg::VideoConverterFfmpeg.

Member Data Documentation

The documentation for this class was generated from the following file: