#include <VideoConverterFfmpeg.h>
§ VideoConverterFfmpeg()
§ ~VideoConverterFfmpeg()
gnash::media::ffmpeg::VideoConverterFfmpeg::~VideoConverterFfmpeg |
( |
| ) |
|
§ convert()
std::unique_ptr< ImgBuf > gnash::media::ffmpeg::VideoConverterFfmpeg::convert |
( |
const ImgBuf & |
src | ) |
|
|
virtual |
Convert a (video) image from one colorspace to another.
- Parameters
-
- Returns
- the converted image or a NULL unique_ptr if an error occurred.
Implements gnash::media::VideoConverter.
References gnash::media::VideoConverter::_dst_fmt, AV_PIX_FMT_NONE, AV_PIX_FMT_RGB24, AVPixelFormat, 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: