[FFmpeg-cvslog] r17525 - trunk/libavutil/avutil.h

Michael Niedermayer michaelni
Sun Feb 22 15:56:17 CET 2009


On Sun, Feb 22, 2009 at 01:54:58PM +0000, M?ns Rullg?rd wrote:
> michael <subversion at mplayerhq.hu> writes:
> 
> > Author: michael
> > Date: Sun Feb 22 14:48:25 2009
> > New Revision: 17525
> >
> > Log:
> > Add note about big vs. little endian.
> >
> > Modified:
> >    trunk/libavutil/avutil.h
> >
> > Modified: trunk/libavutil/avutil.h
> > ==============================================================================
> > --- trunk/libavutil/avutil.h	Sun Feb 22 12:35:32 2009	(r17524)
> > +++ trunk/libavutil/avutil.h	Sun Feb 22 14:48:25 2009	(r17525)
> > @@ -80,6 +80,10 @@ unsigned avutil_version(void);
> >   * For all the 8bit per pixel formats, an RGB32 palette is in data[1] like
> >   * for pal8. This palette is filled in automatically by the function
> >   * allocating the picture.
> > + *
> > + * Note, make sure that all newly added big endian formats have pix_fmt&1==1
> > + *       and that all newly added little endian formats have pix_fmt&1==0
> > + *       this allows simpler detection of big vs little endian.
> >   */
> 
> How is the endianness of a pixel format defined?  It is far from
> obvious to me.

its just for >8bit per sample like rgb48le and i think its obvious for them

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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-cvslog/attachments/20090222/be1ecbf2/attachment.pgp>



More information about the ffmpeg-cvslog mailing list