summaryrefslogtreecommitdiffstats
path: root/libhb/decomb.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-01-22 15:46:13 -0700
committerJohn Stebbins <[email protected]>2016-03-11 14:13:33 -0700
commitc3c076a86e8c3a9b97b1ed352c88365728e3879a (patch)
tree192ca09b9b67c5670d7d64fa42bdcb4107240919 /libhb/decomb.h
parent2615c363516a5b29d7d02b73e6b5cf2842584e13 (diff)
decomb: split comb detection out into it's own filter
Diffstat (limited to 'libhb/decomb.h')
-rw-r--r--libhb/decomb.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/libhb/decomb.h b/libhb/decomb.h
new file mode 100644
index 000000000..4aa60a608
--- /dev/null
+++ b/libhb/decomb.h
@@ -0,0 +1,24 @@
+/* decomb.h
+
+ Copyright (c) 2003-2016 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
+
+#endif // HB_DECOMB_H