From 45ae0716be3319bac4585b8fedac529a0809a44c Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 9 Dec 2015 00:22:12 +0100 Subject: csputils: rename "yuv2rgb" functions They're not necessarily restricted to YUV aka YCbCr. vo_direct3d.c and demux_disc.c (DVD specific code) changes untested. --- video/out/opengl/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/opengl/video.c') diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 7ac56cb414..8b7ec35478 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -1491,7 +1491,7 @@ static void pass_convert_yuv(struct gl_video *p) // Conversion to RGB. For RGB itself, this still applies e.g. brightness // and contrast controls, or expansion of e.g. LSB-packed 10 bit data. struct mp_cmat m = {{{0}}}; - mp_get_yuv2rgb_coeffs(&cparams, &m); + mp_get_csp_matrix(&cparams, &m); gl_sc_uniform_mat3(sc, "colormatrix", true, &m.m[0][0]); gl_sc_uniform_vec3(sc, "colormatrix_c", m.c); -- cgit v1.2.3