summaryrefslogtreecommitdiff
path: root/libavfilter/yadif.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-09-25 16:43:42 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-09-25 16:43:42 +0000
commitacbac56789750361b7d623cd85a136b58ce1fc31 (patch)
treedf0c01b93a2123da2dc5b091b5eecd983247e33e /libavfilter/yadif.h
parentb299c4e4d342bd7894a9fe9b805a5c0f8b6603a1 (diff)
yadif filter, based on stefanos port of my yadif from mplayer.
Compared to stefanos, 2 frame output works with ffplay. Originally committed as revision 25196 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/yadif.h')
-rw-r--r--libavfilter/yadif.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/libavfilter/yadif.h b/libavfilter/yadif.h
new file mode 100644
index 0000000000..4686aa2d15
--- /dev/null
+++ b/libavfilter/yadif.h
@@ -0,0 +1,28 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with FFmpeg; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef AVFILTER_YADIF_H
+#define AVFILTER_YADIF_H
+
+#include "avfilter.h"
+
+void ff_yadif_filter_line_mmx(uint8_t *dst,
+ uint8_t *prev, uint8_t *cur, uint8_t *next,
+ int w, int refs, int parity, int mode);
+
+#endif /* AVFILTER_YADIF_H */