From acbac56789750361b7d623cd85a136b58ce1fc31 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 25 Sep 2010 16:43:42 +0000 Subject: 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 --- libavfilter/yadif.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 libavfilter/yadif.h (limited to 'libavfilter/yadif.h') 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 */ -- cgit v1.2.3