X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilter_graph.h;h=45ad5d99874a0ef5c95b21c045a8fd6dd9520a24;hb=308488324dbc4d8b709d3fb1dc9fee0479346c21;hp=e294812c2baa9836f5aeff99711057bae611148e;hpb=996b0c06e23bcb6b300d7b8799df94993692e07d;p=dcpomatic.git diff --git a/src/lib/filter_graph.h b/src/lib/filter_graph.h index e294812c2..45ad5d998 100644 --- a/src/lib/filter_graph.h +++ b/src/lib/filter_graph.h @@ -28,23 +28,24 @@ class Image; class VideoFilter; +class FFmpegContent; /** @class FilterGraph * @brief A graph of FFmpeg filters. */ -class FilterGraph +class FilterGraph : public boost::noncopyable { public: - FilterGraph (boost::shared_ptr content, libdcp::Size s, AVPixelFormat p); + FilterGraph (boost::shared_ptr content, dcp::Size s, AVPixelFormat p); ~FilterGraph (); - bool can_process (libdcp::Size s, AVPixelFormat p) const; - std::list > process (AVFrame * frame); + bool can_process (dcp::Size s, AVPixelFormat p) const; + std::list, int64_t> > process (AVFrame * frame); private: AVFilterContext* _buffer_src_context; AVFilterContext* _buffer_sink_context; - libdcp::Size _size; ///< size of the images that this chain can process + dcp::Size _size; ///< size of the images that this chain can process AVPixelFormat _pixel_format; ///< pixel format of the images that this chain can process AVFrame* _frame; };