X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fj2k_image_proxy.h;h=d925bef864fe9129fc59dd8246b4b305325ea55e;hb=cdd2f62fe5dd2c54ab41d4b4de02eea77e833430;hp=a23ec6d987e8af153eb163973751506f03c6f94a;hpb=9bfa07293928c371d59db2091ba2b7e715ce5994;p=dcpomatic.git diff --git a/src/lib/j2k_image_proxy.h b/src/lib/j2k_image_proxy.h index a23ec6d98..d925bef86 100644 --- a/src/lib/j2k_image_proxy.h +++ b/src/lib/j2k_image_proxy.h @@ -57,7 +57,7 @@ public: J2KImageProxy (dcp::ArrayData data, dcp::Size size, AVPixelFormat pixel_format); Result image ( - bool aligned, + Image::Alignment alignment, boost::optional size = boost::optional () ) const; @@ -65,7 +65,7 @@ public: void write_to_socket (std::shared_ptr) const; /** @return true if our image is definitely the same as another, false if it is probably not */ bool same (std::shared_ptr) const; - int prepare (bool aligned, boost::optional = boost::optional()) const; + int prepare (Image::Alignment alignment, boost::optional = boost::optional()) const; std::shared_ptr j2k () const { return _data;