20 #ifndef GNASH_VIDEODECODERFFMPEG_H
21 #define GNASH_VIDEODECODERFFMPEG_H
39 class CodecContextWrapper;
41 class SwsContextWrapper;
58 std::auto_ptr<image::GnashImage>
pop();
83 std::auto_ptr<image::GnashImage> frameToImage(AVCodecContext* srcCtx,
84 const AVFrame& srcFrame);
86 void init(
enum CODECID format,
int width,
int height,
87 boost::uint8_t* extradata=0,
int extradataSize=0);
89 std::auto_ptr<image::GnashImage> decode(
const boost::uint8_t* input,
90 boost::uint32_t input_size);
98 std::auto_ptr<CodecContextWrapper> _videoCodecCtx;
107 std::auto_ptr<SwsContextWrapper> _swsContext;
110 std::vector<const EncodedVideoFrame*> _video_frames;
117 #endif // __VIDEODECODERFFMPEG_H__
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
#define DSOEXPORT
Definition: dsodefs.h:55