X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fj2k_image_proxy.h;h=510c0ff2599a2143abbcdf8595d2f31e4f66660b;hb=0f2813bd0c62a4748c8354077583d69a07f19c9e;hp=77d53a9e58440f56c09e2b815d50a8c05cb37074;hpb=0ff4fa6058b305476e7bc60c590acb6135c49b1c;p=dcpomatic.git diff --git a/src/lib/j2k_image_proxy.h b/src/lib/j2k_image_proxy.h index 77d53a9e5..510c0ff25 100644 --- a/src/lib/j2k_image_proxy.h +++ b/src/lib/j2k_image_proxy.h @@ -51,7 +51,6 @@ public: J2KImageProxy (boost::shared_ptr xml, boost::shared_ptr socket); std::pair, int> image ( - boost::optional note = boost::optional (), boost::optional size = boost::optional () ) const; @@ -60,9 +59,6 @@ public: /** @return true if our image is definitely the same as another, false if it is probably not */ bool same (boost::shared_ptr) const; int prepare (boost::optional = boost::optional()) const; - AVPixelFormat pixel_format () const { - return _pixel_format; - } dcp::Data j2k () const { return _data; @@ -83,7 +79,7 @@ private: dcp::Data _data; dcp::Size _size; boost::optional _eye; - mutable boost::shared_ptr _decompressed; + mutable boost::shared_ptr _image; mutable boost::optional _target_size; mutable boost::optional _reduce; AVPixelFormat _pixel_format;