summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/img_format.h')
-rw-r--r--video/img_format.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/video/img_format.h b/video/img_format.h
index 9cf3a60f11..31c72f41be 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -332,17 +332,11 @@ static inline bool IMGFMT_IS_RGB(int fmt)
#define IMGFMT_IS_HWACCEL(fmt) \
((fmt) == IMGFMT_VDPAU || (fmt) == IMGFMT_VAAPI || (fmt) == IMGFMT_VDA)
-
-struct mp_imgfmt_entry {
- const char *name;
- int fmt;
-};
-
-extern struct mp_imgfmt_entry mp_imgfmt_list[];
-
int mp_imgfmt_from_name(bstr name, bool allow_hwaccel);
const char *mp_imgfmt_to_name(int fmt);
+char **mp_imgfmt_name_list(void);
+
#define vo_format_name mp_imgfmt_to_name
int mp_imgfmt_find_yuv_planar(int xs, int ys, int planes, int component_bits);