#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:
- boost::shared_ptr<const Options> _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<FilmState> _fs_b;
+ /** Copy of our Film using the reference filters and scaler */
+ boost::shared_ptr<Film> _film_b;
};