projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include tidying src/lib/a-j*.h
[dcpomatic.git]
/
src
/
lib
/
filter_graph.h
diff --git
a/src/lib/filter_graph.h
b/src/lib/filter_graph.h
index 49b78df16949c393b58560b07d52c677ca6c0245..6a520300b22af2c23b891dde36eb09b56a36b551 100644
(file)
--- a/
src/lib/filter_graph.h
+++ b/
src/lib/filter_graph.h
@@
-26,8
+26,9
@@
#include "util.h"
#include "util.h"
+struct AVFilterContext;
class Image;
class Image;
-class
VideoFilter
;
+class
FFmpegContent
;
/** @class FilterGraph
* @brief A graph of FFmpeg filters.
/** @class FilterGraph
* @brief A graph of FFmpeg filters.
@@
-35,16
+36,18
@@
class VideoFilter;
class FilterGraph : public boost::noncopyable
{
public:
class FilterGraph : public boost::noncopyable
{
public:
- FilterGraph (boost::shared_ptr<const FFmpegContent> content,
lib
dcp::Size s, AVPixelFormat p);
+ FilterGraph (boost::shared_ptr<const FFmpegContent> content, dcp::Size s, AVPixelFormat p);
~FilterGraph ();
~FilterGraph ();
- bool can_process (
lib
dcp::Size s, AVPixelFormat p) const;
+ bool can_process (dcp::Size s, AVPixelFormat p) const;
std::list<std::pair<boost::shared_ptr<Image>, int64_t> > process (AVFrame * frame);
private:
std::list<std::pair<boost::shared_ptr<Image>, int64_t> > process (AVFrame * frame);
private:
+ /** true if this graph has no filters in, so it just copies stuff straight through */
+ bool _copy;
AVFilterContext* _buffer_src_context;
AVFilterContext* _buffer_sink_context;
AVFilterContext* _buffer_src_context;
AVFilterContext* _buffer_sink_context;
-
lib
dcp::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;
};
AVPixelFormat _pixel_format; ///< pixel format of the images that this chain can process
AVFrame* _frame;
};