Tweaks to test setup; don't always compute coverage.
[libdcp.git] / src / image.h
index 069534eacd7296ef5832407206b77f838728aa23..9e85101ac5338cc67c99d58ef950de11f7ed91b5 100644 (file)
@@ -24,24 +24,21 @@ namespace dcp {
 class Image
 {
 public:
-
        Image (Size);
        Image (Image const &);
        Image (boost::shared_ptr<const Image>);
        
        virtual ~Image () {}
-       virtual uint8_t** data () const = 0;
-       virtual int* stride () const = 0;
+       virtual uint8_t * const * data () const = 0;
+       /** @return array of strides in bytes */
+       virtual int const * stride () const = 0;
 
        Size size () const {
                return _size;
        }
 
 protected:
-       void swap (Image &);
-       
        Size _size;
-
 };
 
 }