3 #include <common/memory/safe_ptr.h>
\r
5 #include <mixer/frame_mixer_device.h>
\r
7 struct AVCodecContext;
\r
11 typedef std::vector<unsigned char, tbb::cache_aligned_allocator<unsigned char>> aligned_buffer;
\r
13 class video_decoder : boost::noncopyable
\r
16 explicit video_decoder(AVCodecContext* codec_context, const safe_ptr<core::frame_factory>& frame_factory);
\r
17 safe_ptr<core::write_frame> execute(const aligned_buffer& video_packet);
\r
19 struct implementation;
\r
20 safe_ptr<implementation> impl_;
\r