X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fcolour_conversion.h;h=83ba3ad32ce9f750a7314318b1eb10f8df2cb020;hb=refs%2Ftags%2Fv1.8.4;hp=d613c143aecd950c9350cd670818a9f884c7446e;hpb=9691fc54fa6a3409520a1a42e6eeb8e6a235f5f6;p=libdcp.git diff --git a/src/colour_conversion.h b/src/colour_conversion.h index d613c143..83ba3ad3 100644 --- a/src/colour_conversion.h +++ b/src/colour_conversion.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2015 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington This file is part of libdcp. @@ -31,13 +31,16 @@ files in the program, then also delete it here. */ + /** @file src/colour_conversion.h * @brief ColourConversion class. */ + #ifndef DCP_COLOUR_CONVERSION_H #define DCP_COLOUR_CONVERSION_H + #include "chromaticity.h" #include #if BOOST_VERSION >= 106400 @@ -46,19 +49,23 @@ #include #include + namespace dcp { + class TransferFunction; + enum class YUVToRGB { REC601, REC709, COUNT }; + /** @class ColourConversion * @brief A representation of all the parameters involved the colourspace conversion - * of a YUV image to XYZ (via RGB). + * of a YUV image to XYZ (via RGB) */ class ColourConversion { @@ -175,6 +182,8 @@ protected: std::shared_ptr _out; }; + } + #endif