Gnash
0.8.11dev
|
#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. | |
![]() | |
VideoConverter (ImgBuf::Type4CC srcFormat, ImgBuf::Type4CC dstFormat) | |
virtual | ~VideoConverter () |
Additional Inherited Members | |
![]() | |
ImgBuf::Type4CC | _src_fmt |
ImgBuf::Type4CC | _dst_fmt |
gnash::media::ffmpeg::VideoConverterFfmpeg::VideoConverterFfmpeg | ( | ImgBuf::Type4CC | srcFormat, |
ImgBuf::Type4CC | dstFormat | ||
) |
References _, gnash::media::VideoConverter::_dst_fmt, and gnash::media::ffmpeg::fourcc_to_ffmpeg().
gnash::media::ffmpeg::VideoConverterFfmpeg::~VideoConverterFfmpeg | ( | ) |
|
virtual |
Convert a (video) image from one colorspace to another.
src | the image to convert |
Implements gnash::media::VideoConverter.
References gnash::media::VideoConverter::_dst_fmt, assert, 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.