aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/x86
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-02-18 19:10:33 +0100
committerAnton Khirnov <anton@khirnov.net>2011-04-03 08:46:19 +0200
commit233ed6b314ee6b8d37d16a958f1bc309ae667393 (patch)
tree80f624355d5e2d4e5172ebe2290837b52b060128 /libavfilter/x86
parent4e3945fd2875c497d25f49a3c35cd6cf6577259e (diff)
downloadffmpeg-233ed6b314ee6b8d37d16a958f1bc309ae667393.tar.gz
Change yadif to not use out of picture lines.
Fixes issue2272. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r--libavfilter/x86/yadif_template.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/x86/yadif_template.c b/libavfilter/x86/yadif_template.c
index 524048e77d..962a7c777d 100644
--- a/libavfilter/x86/yadif_template.c
+++ b/libavfilter/x86/yadif_template.c
@@ -105,7 +105,7 @@
void RENAME(ff_yadif_filter_line)(uint8_t *dst,
uint8_t *prev, uint8_t *cur, uint8_t *next,
- int w, int refs, int parity, int mode)
+ int w, int prefs, int mrefs, int parity, int mode)
{
DECLARE_ALIGNED(16, uint8_t, tmp0[16]);
DECLARE_ALIGNED(16, uint8_t, tmp1[16]);
@@ -226,8 +226,8 @@ void RENAME(ff_yadif_filter_line)(uint8_t *dst,
:[prev] "r"(prev),\
[cur] "r"(cur),\
[next] "r"(next),\
- [prefs]"r"((x86_reg)refs),\
- [mrefs]"r"((x86_reg)-refs),\
+ [prefs]"r"((x86_reg)prefs),\
+ [mrefs]"r"((x86_reg)mrefs),\
[mode] "g"(mode)\
);\
__asm__ volatile(MOV" "MM"1, %0" :"=m"(*dst));\