diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-06-23 11:57:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-06-23 11:57:50 +0100 |
| commit | 3a5b068428bcc2080908a01204411038225d3851 (patch) | |
| tree | 5ed2f1f753d1ffdd48765842d7f31a669166b016 /src/openjpeg_image.h | |
| parent | 863d9cc51b406500dba596b6f1de733ec3f410c5 (diff) | |
Make xyz_to_xyz into a constructor of OpenJPEGImage where it makes more sense.
Diffstat (limited to 'src/openjpeg_image.h')
| -rw-r--r-- | src/openjpeg_image.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openjpeg_image.h b/src/openjpeg_image.h index fa83a8de..002e2a83 100644 --- a/src/openjpeg_image.h +++ b/src/openjpeg_image.h @@ -51,6 +51,7 @@ public: explicit OpenJPEGImage (opj_image_t *); explicit OpenJPEGImage (OpenJPEGImage const & other); explicit OpenJPEGImage (Size); + OpenJPEGImage (uint8_t const * in_16, dcp::Size size, int stride); ~OpenJPEGImage (); int* data (int) const; @@ -67,6 +68,8 @@ public: } private: + void create (Size size); + opj_image_t* _opj_image; ///< opj_image_t that we are managing }; |
