Commit 1d3b14ca authored by James Darnley's avatar James Darnley Committed by Michael Niedermayer

yadif: remove repeated check on width

The filter already checks that width (and height) are greater than 3.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7976d92d
...@@ -220,8 +220,6 @@ cglobal yadif_filter_line, 4, 6, 8, 80, dst, prev, cur, next, w, prefs, \ ...@@ -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, \ cglobal yadif_filter_line, 4, 7, 8, 80, dst, prev, cur, next, w, prefs, \
mrefs, parity, mode mrefs, parity, mode
%endif %endif
cmp DWORD wm, 0
jle .ret
%if ARCH_X86_32 %if ARCH_X86_32
mov r4, r5mp mov r4, r5mp
mov r5, r6mp mov r5, r6mp
......
...@@ -250,8 +250,6 @@ cglobal yadif_filter_line_10bit, 4, 6, 8, 80, dst, prev, cur, next, w, \ ...@@ -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, \ cglobal yadif_filter_line_10bit, 4, 7, 8, 80, dst, prev, cur, next, w, \
prefs, mrefs, parity, mode prefs, mrefs, parity, mode
%endif %endif
cmp DWORD wm, 0
jle .ret
%if ARCH_X86_32 %if ARCH_X86_32
mov r4, r5mp mov r4, r5mp
mov r5, r6mp mov r5, r6mp
......
...@@ -313,8 +313,6 @@ cglobal yadif_filter_line_16bit, 4, 6, 8, 80, dst, prev, cur, next, w, \ ...@@ -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, \ cglobal yadif_filter_line_16bit, 4, 7, 8, 80, dst, prev, cur, next, w, \
prefs, mrefs, parity, mode prefs, mrefs, parity, mode
%endif %endif
cmp DWORD wm, 0
jle .ret
%if ARCH_X86_32 %if ARCH_X86_32
mov r4, r5mp mov r4, r5mp
mov r5, r6mp mov r5, r6mp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment