OSDN Git Service

yadif: remove repeated check on width
authorJames Darnley <james.darnley@gmail.com>
Sat, 16 Mar 2013 20:42:26 +0000 (21:42 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 16 Mar 2013 21:33:30 +0000 (22:33 +0100)
The filter already checks that width (and height) are greater than 3.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/x86/vf_yadif.asm
libavfilter/x86/yadif-10.asm
libavfilter/x86/yadif-16.asm

index a8f7987..7a9a5db 100644 (file)
@@ -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
index 1cf9808..a25a036 100644 (file)
@@ -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
index eabecf7..b5ba409 100644 (file)
@@ -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