diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-02-18 19:10:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-18 19:39:42 +0100 |
commit | bad82d3d7d98c1cf0d6790cc2e1d6b2ea60fcadd (patch) | |
tree | bd2dc9fc62b0cbce8cb0f498f70583ee40870d1c /libavfilter/x86 | |
parent | 20a2a3da8f59979e5f256c8a0356a6c224277d18 (diff) | |
download | ffmpeg-streaming-bad82d3d7d98c1cf0d6790cc2e1d6b2ea60fcadd.zip ffmpeg-streaming-bad82d3d7d98c1cf0d6790cc2e1d6b2ea60fcadd.tar.gz |
Change yadif to not use out of picture lines.
Fixes issue2272.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/yadif_template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/x86/yadif_template.c b/libavfilter/x86/yadif_template.c index 3e520cb..50ea843 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));\ |