path: root/video/csputils.h
diff options
authorwm4 <wm4@nowhere>2015-02-03 16:38:38 +0100
committerwm4 <wm4@nowhere>2015-02-03 16:38:38 +0100
commit0f560bbf8a9a10411be2688dba9363621da0437d (patch)
tree14dd9b7f29f088da723fdc8203d34353b7416d38 /video/csputils.h
parent95fd83a269db6e2a04e40fe0c40cc02a051f316d (diff)
csputils: remove some unused functions, make some private
mp_gen_gamma_map() and mp_gen_yuv2rgb_map() were used by vo_opengl_old only. The other functions removed from csputils.h are used by csputils.c only.
Diffstat (limited to 'video/csputils.h')
1 files changed, 0 insertions, 7 deletions
diff --git a/video/csputils.h b/video/csputils.h
index abf319cdcb..4f0a09da6e 100644
--- a/video/csputils.h
+++ b/video/csputils.h
@@ -215,8 +215,6 @@ int mp_chroma_location_to_av(enum mp_chroma_location mploc);
void mp_get_chroma_location(enum mp_chroma_location loc, int *x, int *y);
-void mp_gen_gamma_map(unsigned char *map, int size, float gamma);
struct mp_csp_primaries mp_get_csp_primaries(enum mp_csp_prim csp);
/* Color conversion matrix: RGB = m * YUV + c
@@ -237,18 +235,13 @@ struct mp_cmat {
float c[3];
-void mp_apply_chromatic_adaptation(struct mp_csp_col_xy src,
- struct mp_csp_col_xy dest, float m[3][3]);
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]);
-void mp_get_rgb2xyz_matrix(struct mp_csp_primaries space, float m[3][3]);
void mp_get_xyz2rgb_coeffs(struct mp_csp_params *params, struct mp_csp_primaries prim,
enum mp_render_intent intent, struct mp_cmat *xyz2rgb);
void mp_get_yuv2rgb_coeffs(struct mp_csp_params *params, struct mp_cmat *yuv2rgb);
-void mp_gen_yuv2rgb_map(struct mp_csp_params *params, uint8_t *map, int size);
-void mp_mul_matrix3x3(float a[3][3], float b[3][3]);
void mp_invert_matrix3x3(float m[3][3]);
void mp_invert_yuv2rgb(struct mp_cmat *out, struct mp_cmat *in);
void mp_map_int_color(struct mp_cmat *matrix, int clip_bits, int c[3]);