[Ffmpeg-devel] what is intreadwrite.h for?

Michael Niedermayer michaelni
Fri Apr 27 21:44:51 CEST 2007


On Fri, Apr 27, 2007 at 09:01:28PM +0200, Attila Kinali wrote:
> Hi,
> I'm currently trying to make sense out of Vladimirs
> oaep patch and stumbled over a few calles of macros
> defined in intreadwrite.h.
> Can someone explain me what they are for an what
> makes them different from bswap* ?

bswap swaps bytes between little and big endian order of an integer or
other data type

the stuff in intreadwrite reads and writes from/to possibly unaligned memory

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- 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/20070427/63941402/attachment.pgp>

More information about the ffmpeg-devel mailing list