Gnash
0.8.10
|
#include <VideoConverterFfmpeg.h>
Public Member Functions | |
VideoConverterFfmpeg (ImgBuf::Type4CC srcFormat, ImgBuf::Type4CC dstFormat) | |
~VideoConverterFfmpeg () | |
std::auto_ptr< ImgBuf > | convert (const ImgBuf &src) |
Convert a (video) image from one colorspace to another. |
gnash::media::ffmpeg::VideoConverterFfmpeg::VideoConverterFfmpeg | ( | ImgBuf::Type4CC | srcFormat, |
ImgBuf::Type4CC | dstFormat | ||
) |
References gnash::media::ffmpeg::fourcc_to_ffmpeg(), gnash::media::VideoConverter::_dst_fmt, and _.
gnash::media::ffmpeg::VideoConverterFfmpeg::~VideoConverterFfmpeg | ( | ) |
std::auto_ptr< ImgBuf > gnash::media::ffmpeg::VideoConverterFfmpeg::convert | ( | const ImgBuf & | src | ) | [virtual] |
Convert a (video) image from one colorspace to another.
src | the image to convert |
Implements gnash::media::VideoConverter.
References width, gnash::media::ImgBuf::width, height, gnash::media::ImgBuf::height, gnash::media::ffmpeg::fourcc_to_ffmpeg(), gnash::media::VideoConverter::_dst_fmt, assert, gnash::media::ImgBuf::data, and gnash::media::ImgBuf::stride.