Browse Source

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>
tags/n2.0
James Darnley Michael Niedermayer 12 years ago
parent
commit
1d3b14cac2
3 changed files with 0 additions and 6 deletions
  1. +0
    -2
      libavfilter/x86/vf_yadif.asm
  2. +0
    -2
      libavfilter/x86/yadif-10.asm
  3. +0
    -2
      libavfilter/x86/yadif-16.asm

+ 0
- 2
libavfilter/x86/vf_yadif.asm View 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


+ 0
- 2
libavfilter/x86/yadif-10.asm View 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


+ 0
- 2
libavfilter/x86/yadif-16.asm View 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


Loading…
Cancel
Save