X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fab_transcode_job.h;h=8e3cbe2d8f8990586218b8925f3a9b5ed1514bee;hb=65cd9738e069023ae00d84b46d8eac74b016895c;hp=2485608e6aee43fa7d34069e7398145ff8e7daa9;hpb=4488ca79635bda37e034b888d1c43618f5e4285e;p=dcpomatic.git diff --git a/src/lib/ab_transcode_job.h b/src/lib/ab_transcode_job.h index 2485608e6..8e3cbe2d8 100644 --- a/src/lib/ab_transcode_job.h +++ b/src/lib/ab_transcode_job.h @@ -23,27 +23,31 @@ #include #include "job.h" +#include "options.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 s, boost::shared_ptr o, Log* l, boost::shared_ptr req); + ABTranscodeJob ( + boost::shared_ptr f, + DecodeOptions o + ); std::string name () const; void run (); private: - boost::shared_ptr _opt; + DecodeOptions _decode_opt; - /** Copy of our FilmState with filters removed and scaler set back to bicubic; - * this is the `reference' (left-half-frame) state. - */ - boost::shared_ptr _fs_b; + /** Copy of our Film using the reference filters and scaler */ + boost::shared_ptr _film_b; };