mirror of https://git.ffmpeg.org/ffmpeg.git
swscale: sign-extend integer function argument to qword on x86-64.
This commit is contained in:
parent
166f399377
commit
783487ae44
|
@ -317,6 +317,7 @@ yuv2planeX_fn 10, 7, 5
|
||||||
|
|
||||||
%macro yuv2plane1_fn 3
|
%macro yuv2plane1_fn 3
|
||||||
cglobal yuv2plane1_%1, %3, %3, %2, src, dst, dstw, dither, offset
|
cglobal yuv2plane1_%1, %3, %3, %2, src, dst, dstw, dither, offset
|
||||||
|
movsxdifnidn dstwq, dstwd
|
||||||
add dstwq, mmsize - 1
|
add dstwq, mmsize - 1
|
||||||
and dstwq, ~(mmsize - 1)
|
and dstwq, ~(mmsize - 1)
|
||||||
%if %1 == 8
|
%if %1 == 8
|
||||||
|
|
Loading…
Reference in New Issue