[Ffmpeg-devel] [PATCH] Machine endian bytestream functions

Michael Niedermayer michaelni
Tue Apr 24 02:23:17 CEST 2007


Hi

On Sat, Apr 14, 2007 at 12:21:20AM +0100, M?ns Rullg?rd wrote:
[...]
> >> I'm thinking the unaligned16/32/64 macros from bitstream.h should be
> >> renamed and moved here instead.
> >>
> > I'll take a look.
> 
> This lets the compiler choose whatever access method is appropriate,
> and saves us the trouble of maintaining a fragile list.

iam not sure what exactly you are proposing

the compiler does not know if bytewise read is faster then unaligned uintXY_t
read with a user provided (possibly asm) bswap afterwards

also with the argument that the compiler should know what is best we can
rm -r i386/ ppc/ alpha/ ...

[...]

-- 
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: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070424/6e7d3b9d/attachment.pgp>



More information about the ffmpeg-devel mailing list