diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-03 21:33:30 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-03 21:33:30 +0000 |
| commit | 9655ed4740f08899698052f232256fcf7b77c58e (patch) | |
| tree | 195e8f30ec4c5dd5beeecfb371acf7a3ceaa7898 /src/image.h | |
| parent | 986bb0acba0aa73fc2ac0190a32e8fa8c6e636b4 (diff) | |
Various fixes to XYZ/RGB transforms.
Diffstat (limited to 'src/image.h')
| -rw-r--r-- | src/image.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/image.h b/src/image.h index 941325cd..abc040d4 100644 --- a/src/image.h +++ b/src/image.h @@ -29,8 +29,9 @@ public: Image (boost::shared_ptr<const Image>); virtual ~Image () {} - virtual uint8_t** data () const = 0; - virtual int* stride () const = 0; + virtual uint16_t * const * data () const = 0; + /** @return array of strides in bytes */ + virtual int const * stride () const = 0; Size size () const { return _size; |
