X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcolour_conversion.h;h=66726f492dcd4f93c737d592a5581b239b611848;hb=8e017c66d86c09a4689afeac0d7989d24daef745;hp=73b6ad23ccf558f469b2e29a5369d562301ba505;hpb=f7dc39fb8730ccf854d60b819a985050fee0d4b1;p=dcpomatic.git diff --git a/src/lib/colour_conversion.h b/src/lib/colour_conversion.h index 73b6ad23c..66726f492 100644 --- a/src/lib/colour_conversion.h +++ b/src/lib/colour_conversion.h @@ -18,21 +18,34 @@ */ + #ifndef DCPOMATIC_COLOUR_CONVERSION_H #define DCPOMATIC_COLOUR_CONVERSION_H + /* Hack for OS X compile failure; see https://bugs.launchpad.net/hugin/+bug/910160 */ #ifdef check #undef check #endif + #include +#include #include + namespace xmlpp { class Node; } +namespace dcp { + class OpenJPEGImage; +} + + +class PlayerVideo; + + class ColourConversion : public dcp::ColourConversion { public: @@ -77,4 +90,8 @@ bool operator== (ColourConversion const &, ColourConversion const &); bool operator!= (ColourConversion const &, ColourConversion const &); bool operator== (PresetColourConversion const &, PresetColourConversion const &); + +extern std::shared_ptr convert_to_xyz (std::shared_ptr frame, dcp::NoteHandler note); + + #endif