summaryrefslogtreecommitdiff
path: root/src/lib/matcher.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-12 21:06:47 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-12 21:06:47 +0000
commitac0a9000d5d6a62c4ef3e4902611b180501e09e1 (patch)
tree6db45301529157db21ab0d54c36ce6ca4978a5e4 /src/lib/matcher.h
parent70447e72a5595fa03eb0a82b5e93247fcc5cad2b (diff)
Missing files.
Diffstat (limited to 'src/lib/matcher.h')
-rw-r--r--src/lib/matcher.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/matcher.h b/src/lib/matcher.h
new file mode 100644
index 000000000..5f1a75ef9
--- /dev/null
+++ b/src/lib/matcher.h
@@ -0,0 +1,20 @@
+#include <boost/optional.hpp>
+#include "processor.h"
+
+class Matcher : public AudioVideoProcessor
+{
+public:
+ Matcher (Log* log, int sample_rate, float frames_per_second);
+ void process_video (boost::shared_ptr<Image> i, boost::shared_ptr<Subtitle> s);
+ void process_audio (boost::shared_ptr<AudioBuffers>);
+ void process_end ();
+
+private:
+ int _sample_rate;
+ float _frames_per_second;
+ int _video_frames;
+ int64_t _audio_frames;
+ boost::optional<AVPixelFormat> _pixel_format;
+ boost::optional<Size> _size;
+ boost::optional<int> _channels;
+};