aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/yadif.h
diff options
context:
space:
mode:
authorJames Darnley <james.darnley@gmail.com>2013-03-10 15:08:50 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-13 22:07:25 +0100
commit0735b5088055896cb48574ad417b0cf796820d25 (patch)
tree1738cebe04a601502c9bc8f09c1c4e586b7a47cd /libavfilter/yadif.h
parentae732640ab3415a661a88b7c9cbd9691a07a67ca (diff)
downloadffmpeg-0735b5088055896cb48574ad417b0cf796820d25.tar.gz
yadif: restore speed of the C filtering code
Always use the special filter for the first and last 3 columns (only). Changes made in 64ed397 slowed the filter to just under 3/4 of what it was. This commit restores the speed while maintaining identical output. For reference, on my Athlon64: 1733222 decicycles in old 2358563 decicycles in new 1727558 decicycles in this Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/yadif.h')
-rw-r--r--libavfilter/yadif.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/yadif.h b/libavfilter/yadif.h
index cfa9752b5a..3ddf0050a6 100644
--- a/libavfilter/yadif.h
+++ b/libavfilter/yadif.h
@@ -57,13 +57,11 @@ typedef struct YADIFContext {
/**
* Required alignment for filter_line
*/
- int req_align;
void (*filter_line)(void *dst,
void *prev, void *cur, void *next,
int w, int prefs, int mrefs, int parity, int mode);
void (*filter_edges)(void *dst, void *prev, void *cur, void *next,
- int w, int prefs, int mrefs, int parity, int mode,
- int l_edge);
+ int w, int prefs, int mrefs, int parity, int mode);
const AVPixFmtDescriptor *csp;
int eof;