From 47be5ad4aaa20df4bb1577110198d5aab3c88925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sat, 4 Nov 2023 05:15:27 +0100 Subject: csputils: replace mp_chroma_location with pl_chroma_location --- video/csputils.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'video/csputils.h') 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); -- cgit v1.2.3