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:
Inheritance graph
[legend]

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.

Parameters:
src the image to convert
Returns:
the converted image or a NULL auto_ptr if an error occurred.

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


Member Data Documentation


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