summaryrefslogtreecommitdiffstats
path: root/libhb/handbrake/decomb.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/handbrake/decomb.h')
-rw-r--r--libhb/handbrake/decomb.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/libhb/handbrake/decomb.h b/libhb/handbrake/decomb.h
new file mode 100644
index 000000000..181bb8ad3
--- /dev/null
+++ b/libhb/handbrake/decomb.h
@@ -0,0 +1,25 @@
+/* decomb.h
+
+ Copyright (c) 2003-2019 HandBrake Team
+ This file is part of the HandBrake source code
+ Homepage: <http://handbrake.fr/>.
+ It may be used under the terms of the GNU General Public License v2.
+ For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
+ */
+
+#ifndef HB_DECOMB_H
+#define HB_DECOMB_H
+
+#define MODE_DECOMB_YADIF 1 // Use yadif
+#define MODE_DECOMB_BLEND 2 // Use blending interpolation
+#define MODE_DECOMB_CUBIC 4 // Use cubic interpolation
+#define MODE_DECOMB_EEDI2 8 // Use EEDI2 interpolation
+#define MODE_DECOMB_BOB 16 // Deinterlace each field to a separate frame
+#define MODE_DECOMB_SELECTIVE 32 // Selectively deinterlace based on comb detection
+
+#define MODE_YADIF_ENABLE 1
+#define MODE_YADIF_SPATIAL 2
+#define MODE_YADIF_BOB 4
+#define MODE_DEINTERLACE_QSV 8
+
+#endif // HB_DECOMB_H