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/vdpau_mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/vdpau_mixer.c') diff --git a/video/vdpau_mixer.c b/video/vdpau_mixer.c index d568285f92..7025aef459 100644 --- a/video/vdpau_mixer.c +++ b/video/vdpau_mixer.c @@ -201,7 +201,7 @@ static int create_vdp_mixer(struct mp_vdpau_mixer *mixer, struct mp_csp_params cparams = MP_CSP_PARAMS_DEFAULTS; mp_csp_set_image_params(&cparams, &mixer->image_params); mp_csp_copy_equalizer_values(&cparams, &mixer->video_eq); - mp_get_yuv2rgb_coeffs(&cparams, &yuv2rgb); + mp_get_csp_matrix(&cparams, &yuv2rgb); for (int r = 0; r < 3; r++) { for (int c = 0; c < 3; c++) -- cgit v1.2.3