summaryrefslogtreecommitdiffstats
path: root/filters/f_auto_filters.h
diff options
context:
space:
mode:
Diffstat (limited to 'filters/f_auto_filters.h')
-rw-r--r--filters/f_auto_filters.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/filters/f_auto_filters.h b/filters/f_auto_filters.h
new file mode 100644
index 0000000000..5f1a99f636
--- /dev/null
+++ b/filters/f_auto_filters.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "filter.h"
+
+// A filter which inserts the required deinterlacing filter based on the
+// hardware decode mode and the deinterlace user option.
+struct mp_filter *mp_deint_create(struct mp_filter *parent);
+
+// Rotate according to mp_image.rotate and VO capabilities.
+struct mp_filter *mp_autorotate_create(struct mp_filter *parent);