This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- bool can_process (dcp::Size s, AVPixelFormat p) const;
- std::list<std::pair<boost::shared_ptr<Image>, int64_t> > process (AVFrame * frame);
+ void setup (std::vector<Filter const *>);
+
+protected:
+ virtual std::string src_parameters () const = 0;
+ virtual AVBufferSinkParams* sink_parameters () const = 0;
/** 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;
/** 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;