Mercurial > libavutil.hg
changeset 670:69e93bca7fd3 libavutil
Add note about big vs. little endian.
author | michael |
---|---|
date | Sun, 22 Feb 2009 13:48:25 +0000 |
parents | d832fcef8bb8 |
children | e847c4a1d29a |
files | avutil.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avutil.h Sun Feb 22 00:55:49 2009 +0000 +++ b/avutil.h Sun Feb 22 13:48:25 2009 +0000 @@ -80,6 +80,10 @@ * 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. */ enum PixelFormat { PIX_FMT_NONE= -1,