[FFmpeg-devel] [PATCH] Do not assume long is same width as x86 register in swscale.

Reimar Döffinger Reimar.Doeffinger
Tue Jan 27 21:42:03 CET 2009

On Tue, Jan 27, 2009 at 08:36:32PM +0000, M?ns Rullg?rd wrote:
> Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
> > I think x,w,h are "long" for speed reasons, so they should be x86_reg,
> > too...
> int_fast32_t for the fastest type at least 32 bits wide.

No, that is wrong. int_fast32_t == int32_t would be best for
calculations etc., but as soon as it is used for indexed
addressing int_fast32_t == int64_t would be best.
The idea of a int_fast32_t type is plain broken for anything but RISC.

More information about the ffmpeg-devel mailing list