Public Member Functions

gnash::media::ffmpeg::VideoConverterFfmpeg Class Reference

#include <VideoConverterFfmpeg.h>

Inheritance diagram for gnash::media::ffmpeg::VideoConverterFfmpeg:
Inheritance graph
[legend]
Collaboration diagram for gnash::media::ffmpeg::VideoConverterFfmpeg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

gnash::media::ffmpeg::VideoConverterFfmpeg::VideoConverterFfmpeg ( ImgBuf::Type4CC  srcFormat,
ImgBuf::Type4CC  dstFormat 
)
gnash::media::ffmpeg::VideoConverterFfmpeg::~VideoConverterFfmpeg (  ) 

Member Function Documentation

std::auto_ptr< ImgBuf > gnash::media::ffmpeg::VideoConverterFfmpeg::convert ( const ImgBuf src  )  [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.

Implements gnash::media::VideoConverter.

References gnash::media::VideoConverter::_dst_fmt, gnash::media::ImgBuf::data, gnash::media::ffmpeg::fourcc_to_ffmpeg(), gnash::media::ImgBuf::height, height, gnash::media::ImgBuf::stride, gnash::media::ImgBuf::width, and width.


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