summaryrefslogtreecommitdiffstats
path: root/libvo/csputils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/csputils.h')
-rw-r--r--libvo/csputils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/csputils.h b/libvo/csputils.h
index 434be4a9a1..da826e84da 100644
--- a/libvo/csputils.h
+++ b/libvo/csputils.h
@@ -26,6 +26,7 @@
#include <stdint.h>
+#include "libavcodec/avcodec.h"
/* NOTE: the csp and levels AUTO values are converted to specific ones
* above vf/vo level. At least vf_scale relies on all valid settings being
@@ -111,6 +112,10 @@ int mp_csp_equalizer_set(struct mp_csp_equalizer *eq, const char *property,
int mp_csp_equalizer_get(struct mp_csp_equalizer *eq, const char *property,
int *out_value);
+enum mp_csp avcol_spc_to_mp_csp(enum AVColorSpace colorspace);
+
+enum mp_csp_levels avcol_range_to_mp_csp_levels(enum AVColorRange range);
+
enum mp_csp mp_csp_guess_colorspace(int width, int height);
void mp_gen_gamma_map(unsigned char *map, int size, float gamma);