X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage.h;h=5c3931102af776c259965bf7fb9487a02370d193;hb=9c9890b9ff89af710db21145c03a09993c629e3e;hp=2e90a89e92ed9701b19c3c4a80c0e67e10687297;hpb=78c599cd7447ecfa33cc9f223d4fc6ba8b3879af;p=dcpomatic.git diff --git a/src/lib/image.h b/src/lib/image.h index 2e90a89e9..5c3931102 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -27,6 +27,7 @@ #include "position.h" #include "position_image.h" #include "types.h" +#include extern "C" { #include #include @@ -57,10 +58,9 @@ public: int line_factor (int) const; int lines (int) const; - boost::shared_ptr scale (dcp::Size, AVPixelFormat, bool aligned) const; + boost::shared_ptr scale (dcp::Size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat, bool aligned) const; boost::shared_ptr crop (Crop c, bool aligned) const; - - boost::shared_ptr crop_scale_window (Crop c, dcp::Size, dcp::Size, AVPixelFormat, bool aligned) const; + boost::shared_ptr crop_scale_window (Crop c, dcp::Size, dcp::Size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat, bool aligned) const; void make_black (); void make_transparent ();