Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::media::haiku::VideoConverterHaiku Class Reference

Base class for video image space conversion. More...

#include <VideoConverterHaiku.h>

Inheritance diagram for gnash::media::haiku::VideoConverterHaiku:
gnash::media::VideoConverter

Public Member Functions

 VideoConverterHaiku (ImgBuf::Type4CC srcFormat, ImgBuf::Type4CC dstFormat)
 Base class for video image space conversion. More...
 
 ~VideoConverterHaiku ()
 
std::unique_ptr< ImgBufconvert (const ImgBuf &src)
 Convert a (video) image from one colorspace to another. More...
 
- Public Member Functions inherited from gnash::media::VideoConverter
 VideoConverter (ImgBuf::Type4CC srcFormat, ImgBuf::Type4CC dstFormat)
 
virtual ~VideoConverter ()
 

Additional Inherited Members

- Protected Attributes inherited from gnash::media::VideoConverter
ImgBuf::Type4CC _src_fmt
 
ImgBuf::Type4CC _dst_fmt
 

Detailed Description

Base class for video image space conversion.

Constructor & Destructor Documentation

§ VideoConverterHaiku()

gnash::media::haiku::VideoConverterHaiku::VideoConverterHaiku ( ImgBuf::Type4CC  srcFormat,
ImgBuf::Type4CC  dstFormat 
)

Base class for video image space conversion.

References QQ.

§ ~VideoConverterHaiku()

gnash::media::haiku::VideoConverterHaiku::~VideoConverterHaiku ( )

References QQ.

Member Function Documentation

§ convert()

std::unique_ptr< ImgBuf > gnash::media::haiku::VideoConverterHaiku::convert ( const ImgBuf src)
virtual

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

Parameters
srcthe image to convert
Returns
the converted image or a NULL unique_ptr if an error occurred.

Implements gnash::media::VideoConverter.

References QQ.


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