summaryrefslogtreecommitdiff
path: root/src/lib/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/image.h')
-rw-r--r--src/lib/image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/image.h b/src/lib/image.h
index ab809cc46..cc0baf921 100644
--- a/src/lib/image.h
+++ b/src/lib/image.h
@@ -31,12 +31,13 @@ extern "C" {
#include <libavcodec/avcodec.h>
#include <libavfilter/avfilter.h>
}
+#include <libdcp/image.h>
#include "util.h"
#include "position.h"
class Scaler;
-class Image
+class Image : public libdcp::Image
{
public:
Image (AVPixelFormat, libdcp::Size, bool);
@@ -82,7 +83,6 @@ private:
static uint16_t swap_16 (uint16_t);
AVPixelFormat _pixel_format; ///< FFmpeg's way of describing the pixel format of this Image
- libdcp::Size _size; ///< size in pixels
uint8_t** _data; ///< array of pointers to components
int* _line_size; ///< array of sizes of the data in each line, in pixels (without any alignment padding bytes)
int* _stride; ///< array of strides for each line (including any alignment padding bytes)