Commit 5bc2c395 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/x86/vf_fspp: Fix invalid combination of opcode and operands

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5193407c
...@@ -65,13 +65,13 @@ cglobal store_slice, 2, 7, 0, dst, src, width, dither_height, dither, tmp, tmp2 ...@@ -65,13 +65,13 @@ cglobal store_slice, 2, 7, 0, dst, src, width, dither_height, dither, tmp, tmp2
mov tmpq, src_strideq mov tmpq, src_strideq
and widthq, ~7 and widthq, ~7
sub dst_strideq, widthq sub dst_strideq, widthq
movd m5, ditherq ; log2_scale movd m5, ditherd ; log2_scale
xor ditherq, -1 ; log2_scale xor ditherq, -1 ; log2_scale
mov tmp2q, tmpq mov tmp2q, tmpq
add ditherq, 7 ; log2_scale add ditherq, 7 ; log2_scale
neg tmpq neg tmpq
sub tmp2q, widthq sub tmp2q, widthq
movd m2, ditherq ; log2_scale movd m2, ditherd ; log2_scale
add tmp2q, tmp2q add tmp2q, tmp2q
lea ditherq, [pb_dither] lea ditherq, [pb_dither]
mov src_strideq, tmp2q mov src_strideq, tmp2q
...@@ -132,12 +132,12 @@ cglobal store_slice2, 0, 7, 0, dst, src, width, dither_height, dither, tmp, tmp2 ...@@ -132,12 +132,12 @@ cglobal store_slice2, 0, 7, 0, dst, src, width, dither_height, dither, tmp, tmp2
mov tmpq, src_strideq mov tmpq, src_strideq
and widthq, ~7 and widthq, ~7
sub dst_strideq, widthq sub dst_strideq, widthq
movd m5, ditherq ; log2_scale movd m5, ditherd ; log2_scale
xor ditherq, -1 ; log2_scale xor ditherq, -1 ; log2_scale
mov tmp2q, tmpq mov tmp2q, tmpq
add ditherq, 7 ; log2_scale add ditherq, 7 ; log2_scale
sub tmp2q, widthq sub tmp2q, widthq
movd m2, ditherq ; log2_scale movd m2, ditherd ; log2_scale
add tmp2q, tmp2q add tmp2q, tmp2q
lea ditherq, [pb_dither] lea ditherq, [pb_dither]
mov src_strideq, tmp2q mov src_strideq, tmp2q
......
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