[FFmpeg-devel] [PATCH] Do not assume long is same width as x86 register in swscale.
Tue Jan 27 21:36:32 CET 2009
Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
> On Tue, Jan 27, 2009 at 05:54:09PM -0200, Ramiro Polla wrote:
> I think I sent a more extensive patch for that, I just never got around
> to test it properly (regression tests were always failing for me back
> then), you should be able to find it in the archives...
>> @@ -2516,7 +2516,8 @@
>> long srcStride1, long srcStride2,
>> long dstStride1, long dstStride2)
>> - long y,x,w,h;
>> + x86_reg y;
>> + long x,w,h;
> I think x,w,h are "long" for speed reasons, so they should be x86_reg,
int_fast32_t for the fastest type at least 32 bits wide.
mans at mansr.com
More information about the ffmpeg-devel