summaryrefslogtreecommitdiff
path: root/src/rgb_xyz.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgb_xyz.h')
-rw-r--r--src/rgb_xyz.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/rgb_xyz.h b/src/rgb_xyz.h
index 871473c0..a6463b0d 100644
--- a/src/rgb_xyz.h
+++ b/src/rgb_xyz.h
@@ -24,21 +24,12 @@ namespace dcp {
class ARGBFrame;
class XYZFrame;
-class GammaLUT;
class Image;
+class ColourConversion;
-extern boost::shared_ptr<ARGBFrame> xyz_to_rgba (
- boost::shared_ptr<const XYZFrame>, boost::shared_ptr<const GammaLUT>, boost::shared_ptr<const GammaLUT>
- );
-
-extern void xyz_to_rgb (
- boost::shared_ptr<const XYZFrame>, boost::shared_ptr<const GammaLUT>, boost::shared_ptr<const GammaLUT>, uint8_t* buffer
- );
-
-extern boost::shared_ptr<XYZFrame> rgb_to_xyz (
- boost::shared_ptr<const Image>, boost::shared_ptr<const GammaLUT>, boost::shared_ptr<const GammaLUT>, double const colour_matrix[3][3]
- );
-
+extern boost::shared_ptr<ARGBFrame> xyz_to_rgba (boost::shared_ptr<const XYZFrame>, ColourConversion const & conversion);
+extern void xyz_to_rgb (boost::shared_ptr<const XYZFrame>, ColourConversion const & conversion, uint8_t* buffer);
+extern boost::shared_ptr<XYZFrame> rgb_to_xyz (boost::shared_ptr<const Image>, ColourConversion const & conversion);
extern boost::shared_ptr<XYZFrame> xyz_to_xyz (boost::shared_ptr<const Image>);
}