summaryrefslogtreecommitdiff
path: root/src/lib/image.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-12 22:50:32 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-12 22:50:32 +0100
commit07ba15f367b36d17ec60edf77aa57fd20ee76740 (patch)
tree4440a596ca925ec5bb9302bbe62d5346ec1e4e5e /src/lib/image.h
parentac8c7f049ebaba3fc9561ccb920496ea04f974ef (diff)
Get libdcp to do RGB->XYZ conversion.
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)