summaryrefslogtreecommitdiffstats
path: root/video/csputils.h
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-04 05:15:27 +0100
committerDudemanguy <random342@airmail.cc>2024-01-22 14:54:55 +0000
commit47be5ad4aaa20df4bb1577110198d5aab3c88925 (patch)
tree6829c9e597217dd2b928e3e5f474adcbf0eadc06 /video/csputils.h
parent0ac7a40dac2411cf9be429f611b8966560bb3f0c (diff)
downloadmpv-47be5ad4aaa20df4bb1577110198d5aab3c88925.tar.bz2
mpv-47be5ad4aaa20df4bb1577110198d5aab3c88925.tar.xz
csputils: replace mp_chroma_location with pl_chroma_location
Diffstat (limited to 'video/csputils.h')
-rw-r--r--video/csputils.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/video/csputils.h b/video/csputils.h
index ac37e205ab..9b2d0378df 100644
--- a/video/csputils.h
+++ b/video/csputils.h
@@ -111,15 +111,7 @@ struct mp_image_params;
void mp_csp_set_image_params(struct mp_csp_params *params,
const struct mp_image_params *imgparams);
-enum mp_chroma_location {
- MP_CHROMA_AUTO,
- MP_CHROMA_TOPLEFT, // uhd
- MP_CHROMA_LEFT, // mpeg2/4, h264
- MP_CHROMA_CENTER, // mpeg1, jpeg
- MP_CHROMA_COUNT,
-};
-
-extern const struct m_opt_choice_alternatives mp_chroma_names[];
+extern const struct m_opt_choice_alternatives pl_chroma_names[];
extern const struct m_opt_choice_alternatives pl_alpha_names[];
extern const struct m_sub_options mp_csp_equalizer_conf;
@@ -150,10 +142,6 @@ struct mp_csp_primaries {
enum pl_color_system mp_csp_guess_colorspace(int width, int height);
enum pl_color_primaries mp_csp_guess_primaries(int width, int height);
-enum mp_chroma_location avchroma_location_to_mp(int avloc);
-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);
-
struct mp_csp_primaries mp_get_csp_primaries(enum pl_color_primaries csp);
float mp_trc_nom_peak(enum pl_color_transfer trc);
bool mp_trc_is_hdr(enum pl_color_transfer trc);