summaryrefslogtreecommitdiffstats
path: root/video/csputils.h
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/csputils.h
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/csputils.h')
-rw-r--r--video/csputils.h4
1 files changed, 2 insertions, 2 deletions
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]);