[FFmpeg-devel] [PATCH] use x86_reg in libswscale
Michael Niedermayer
michaelni
Sun Nov 2 23:12:41 CET 2008
On Sun, Nov 02, 2008 at 08:40:40PM +0100, Reimar D?ffinger wrote:
> Hello,
> I thought libpostprocess was the last one, but it seems libswscale did
> not compile on mingw64 either.
> Attached is a proposed patch. It changes the types in the functions
> where it seems easily possible (no prototypes for those functions
> anywhere) and otherwise casts them (hm, actually seems like none of
> those cases remain).
>
> Greetings,
> Reimar D?ffinger
[...]
> @@ -2211,7 +2211,7 @@
> MOVNTQ" %%mm0, (%1, %%"REG_a") \n\t"
> "add $8, %%"REG_a" \n\t"
> " js 1b \n\t"
> - : : "r" (src+width*3), "r" (ydst+width), "g" (-width)
> + : : "r" (src+width*3), "r" (ydst+width), "g" ((x86_reg)-width)
> : "%"REG_a, "%"REG_d
> );
> ydst += lumStride;
did you mean that no casts remain?
[...]
also you could try swscale-example and the regression tests to make sure
the code is working on mingw64 and did not change on something else
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081102/72712091/attachment.pgp>
More information about the ffmpeg-devel
mailing list