Merge master.
[dcpomatic.git] / src / lib / ab_transcode_job.h
index 4b80593f4de8c6bbdff4bee6104109226a58a8ca..cd82d4247ffdf7dfc49095993466792b618c1f0f 100644 (file)
 #include <boost/shared_ptr.hpp>
 #include "job.h"
 
+class Film;
+
 /** @class ABTranscodeJob
  *  @brief Job to run a transcoder which produces output for A/B comparison of various settings.
  *
- *  The right half of the frame will be processed using the FilmState supplied;
- *  the left half will be processed using the same state but *without* filters
- *  and with the scaler set to SWS_BICUBIC.
+ *  The right half of the frame will be processed using the Film supplied;
+ *  the left half will be processed using the same state but with the reference
+ *  filters and scaler.
  */
 class ABTranscodeJob : public Job
 {
 public:
-       ABTranscodeJob (boost::shared_ptr<const FilmState> s, boost::shared_ptr<const Options> o, Log* l, boost::shared_ptr<Job> req);
+       ABTranscodeJob (
+               boost::shared_ptr<Film> f
+               );
 
        std::string name () const;
        void run ();
 
 private:
-       /** Copy of our FilmState with filters removed and scaler set back to bicubic;
-        *  this is the `reference' (left-half-frame) state.
-        */
-       boost::shared_ptr<FilmState> _fs_b;
+       /** Copy of our Film using the reference filters and scaler */
+       boost::shared_ptr<Film> _film_b;
 };