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/csputils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/csputils.h') diff --git a/video/csputils.h b/video/csputils.h index 811f6bbef1..39346746c5 100644 --- a/video/csputils.h +++ b/video/csputils.h @@ -251,10 +251,10 @@ void mp_get_cms_matrix(struct mp_csp_primaries src, struct mp_csp_primaries dest enum mp_render_intent intent, float cms_matrix[3][3]); double mp_get_csp_mul(enum mp_csp csp, int input_bits, int texture_bits); -void mp_get_yuv2rgb_coeffs(struct mp_csp_params *params, struct mp_cmat *yuv2rgb); +void mp_get_csp_matrix(struct mp_csp_params *params, struct mp_cmat *out); void mp_invert_matrix3x3(float m[3][3]); -void mp_invert_yuv2rgb(struct mp_cmat *out, struct mp_cmat *in); +void mp_invert_cmat(struct mp_cmat *out, struct mp_cmat *in); void mp_map_fixp_color(struct mp_cmat *matrix, int ibits, int in[3], int obits, int out[3]); -- cgit v1.2.3