diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-06-23 17:51:14 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-06-28 16:14:35 +0100 |
commit | 46fb150a81abed256dbe779809bcbe57f1ba9434 (patch) | |
tree | aae9bb74fcf4ac32d8f114c82fb71403624c4310 /libavfilter/vf_tonemap_opencl.c | |
parent | 07987404a8b7346e1904501b88320c9bab353298 (diff) |
lavfi/colorspace: Add namespace prefix to global functions
Diffstat (limited to 'libavfilter/vf_tonemap_opencl.c')
-rw-r--r-- | libavfilter/vf_tonemap_opencl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/vf_tonemap_opencl.c b/libavfilter/vf_tonemap_opencl.c index 6063456d28..36c7fbe774 100644 --- a/libavfilter/vf_tonemap_opencl.c +++ b/libavfilter/vf_tonemap_opencl.c @@ -124,10 +124,10 @@ static void get_rgb2rgb_matrix(enum AVColorPrimaries in, enum AVColorPrimaries o double rgb2rgb[3][3]) { double rgb2xyz[3][3], xyz2rgb[3][3]; - fill_rgb2xyz_table(&primaries_table[out], &whitepoint_table[out], rgb2xyz); - invert_matrix3x3(rgb2xyz, xyz2rgb); - fill_rgb2xyz_table(&primaries_table[in], &whitepoint_table[in], rgb2xyz); - mul3x3(rgb2rgb, rgb2xyz, xyz2rgb); + ff_fill_rgb2xyz_table(&primaries_table[out], &whitepoint_table[out], rgb2xyz); + ff_matrix_invert_3x3(rgb2xyz, xyz2rgb); + ff_fill_rgb2xyz_table(&primaries_table[in], &whitepoint_table[in], rgb2xyz); + ff_matrix_mul_3x3(rgb2rgb, rgb2xyz, xyz2rgb); } #define OPENCL_SOURCE_NB 3 |