summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-09 00:22:12 +0100
committerwm4 <wm4@nowhere>2015-12-09 00:23:36 +0100
commit45ae0716be3319bac4585b8fedac529a0809a44c (patch)
tree3d0c79a7d5e5bb8778118e9551295cedf9ed3667 /video/out/opengl/video.c
parentc5c7b239b6386940a8063c6954db2a4705ce3251 (diff)
downloadmpv-45ae0716be3319bac4585b8fedac529a0809a44c.tar.bz2
mpv-45ae0716be3319bac4585b8fedac529a0809a44c.tar.xz
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.
Diffstat (limited to 'video/out/opengl/video.c')
-rw-r--r--video/out/opengl/video.c2
1 files changed, 1 insertions, 1 deletions
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);