diff options
author | James Darnley <james.darnley@gmail.com> | 2013-03-16 21:42:26 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-16 22:33:30 +0100 |
commit | 1d3b14cac2f074b55daca5e29bc395fe4bf29aaf (patch) | |
tree | 3a23678e9e59dfaf7634c59856a21c75ae2d2d48 /libavfilter/x86 | |
parent | 7976d92dacc1bdcb55b338ae664e8990fc6bf302 (diff) | |
download | ffmpeg-1d3b14cac2f074b55daca5e29bc395fe4bf29aaf.tar.gz |
yadif: remove repeated check on width
The filter already checks that width (and height) are greater than 3.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/vf_yadif.asm | 2 | ||||
-rw-r--r-- | libavfilter/x86/yadif-10.asm | 2 | ||||
-rw-r--r-- | libavfilter/x86/yadif-16.asm | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/libavfilter/x86/vf_yadif.asm b/libavfilter/x86/vf_yadif.asm index a8f798771f..7a9a5db2e7 100644 --- a/libavfilter/x86/vf_yadif.asm +++ b/libavfilter/x86/vf_yadif.asm @@ -220,8 +220,6 @@ cglobal yadif_filter_line, 4, 6, 8, 80, dst, prev, cur, next, w, prefs, \ cglobal yadif_filter_line, 4, 7, 8, 80, dst, prev, cur, next, w, prefs, \ mrefs, parity, mode %endif - cmp DWORD wm, 0 - jle .ret %if ARCH_X86_32 mov r4, r5mp mov r5, r6mp diff --git a/libavfilter/x86/yadif-10.asm b/libavfilter/x86/yadif-10.asm index 1cf98087cc..a25a0364be 100644 --- a/libavfilter/x86/yadif-10.asm +++ b/libavfilter/x86/yadif-10.asm @@ -250,8 +250,6 @@ cglobal yadif_filter_line_10bit, 4, 6, 8, 80, dst, prev, cur, next, w, \ cglobal yadif_filter_line_10bit, 4, 7, 8, 80, dst, prev, cur, next, w, \ prefs, mrefs, parity, mode %endif - cmp DWORD wm, 0 - jle .ret %if ARCH_X86_32 mov r4, r5mp mov r5, r6mp diff --git a/libavfilter/x86/yadif-16.asm b/libavfilter/x86/yadif-16.asm index eabecf70b4..b5ba4090af 100644 --- a/libavfilter/x86/yadif-16.asm +++ b/libavfilter/x86/yadif-16.asm @@ -313,8 +313,6 @@ cglobal yadif_filter_line_16bit, 4, 6, 8, 80, dst, prev, cur, next, w, \ cglobal yadif_filter_line_16bit, 4, 7, 8, 80, dst, prev, cur, next, w, \ prefs, mrefs, parity, mode %endif - cmp DWORD wm, 0 - jle .ret %if ARCH_X86_32 mov r4, r5mp mov r5, r6mp |