|
Gnash
0.8.11dev
|
Base class for video image space conversion with gst. More...
#include <VideoConverterGst.h>
Public Member Functions | |
| VideoConverterGst (ImgBuf::Type4CC srcFormat, ImgBuf::Type4CC dstFormat) | |
| Base class for video image space conversion with gst. More... | |
| ~VideoConverterGst () | |
| std::unique_ptr< ImgBuf > | convert (const ImgBuf &src) |
| Convert a (video) image from one colorspace to another. More... | |
| bool | init (const ImgBuf &src) |
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 |
Base class for video image space conversion with gst.
| gnash::media::gst::VideoConverterGst::VideoConverterGst | ( | ImgBuf::Type4CC | srcFormat, |
| ImgBuf::Type4CC | dstFormat | ||
| ) |
Base class for video image space conversion with gst.
References _, gnash::media::VideoConverter::_dst_fmt, and SwfdecGstDecoder::bin.
| gnash::media::gst::VideoConverterGst::~VideoConverterGst | ( | ) |
References SwfdecGstDecoder::bin, swfdec_gst_decoder_finish(), and swfdec_gst_decoder_push_eos().
|
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, gnash::media::ImgBuf::data, gnash::media::ImgBuf::height, init(), gnash::log_error(), gnash::media::ImgBuf::size, swfdec_gst_decoder_pull(), swfdec_gst_decoder_push(), and gnash::media::ImgBuf::width.
| bool gnash::media::gst::VideoConverterGst::init | ( | const ImgBuf & | src | ) |
References _, gnash::media::VideoConverter::_dst_fmt, gnash::media::ImgBuf::height, gnash::log_error(), swfdec_gst_colorspace_init(), and gnash::media::ImgBuf::width.
Referenced by convert().
1.8.12