diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-29 16:57:33 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-29 18:44:04 +0000 |
| commit | aa7edc3114fa3b7868088a9f8f22b5ee195a8668 (patch) | |
| tree | 5e5fef8156320f47aaa7626e557f85e8eb236ff5 /src/lib/image_proxy.h | |
| parent | e1c23a19b93d7bb66bd439af511d6666e56a7d29 (diff) | |
Fix incorrect colourspace conversion of XYZ content
when it is not being passed through as untouched
JPEG2000 (#730).
Diffstat (limited to 'src/lib/image_proxy.h')
| -rw-r--r-- | src/lib/image_proxy.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/image_proxy.h b/src/lib/image_proxy.h index d6b3f878e..def4878e3 100644 --- a/src/lib/image_proxy.h +++ b/src/lib/image_proxy.h @@ -24,6 +24,9 @@ * @brief ImageProxy and subclasses. */ +extern "C" { +#include <libavutil/pixfmt.h> +} #include <dcp/types.h> #include <boost/shared_ptr.hpp> #include <boost/optional.hpp> @@ -62,6 +65,7 @@ public: virtual void send_binary (boost::shared_ptr<Socket>) const = 0; /** @return true if our image is definitely the same as another, false if it is probably not */ virtual bool same (boost::shared_ptr<const ImageProxy>) const = 0; + virtual AVPixelFormat pixel_format () const = 0; }; boost::shared_ptr<ImageProxy> image_proxy_factory (boost::shared_ptr<cxml::Node> xml, boost::shared_ptr<Socket> socket); |
