summaryrefslogtreecommitdiff
path: root/src/rgb_xyz.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-06-02 19:47:30 +0200
committerCarl Hetherington <cth@carlh.net>2020-06-02 19:47:30 +0200
commit6636b550a4b69bf3d77b51aa033159036d88f33b (patch)
tree740ed4b2615cfbeeeb29c0ecf458400ea8f3b43a /src/rgb_xyz.h
parent5f2db276b59257b05e351c1ca5665de9cc3f78f4 (diff)
Add SSE/AVX2 version of rgb_to_xyz().sse2
Diffstat (limited to 'src/rgb_xyz.h')
-rw-r--r--src/rgb_xyz.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rgb_xyz.h b/src/rgb_xyz.h
index e414d07e..1012c424 100644
--- a/src/rgb_xyz.h
+++ b/src/rgb_xyz.h
@@ -64,6 +64,14 @@ extern boost::shared_ptr<OpenJPEGImage> rgb_to_xyz (
ColourConversion const & conversion
);
+
+extern boost::shared_ptr<OpenJPEGImage> rgb_to_xyz_avx2 (
+ uint8_t const * rgb,
+ dcp::Size size,
+ ColourConversion const & conversion
+ );
+
+
extern void combined_rgb_to_xyz (ColourConversion const & conversion, double* matrix);
}