mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
Add note about big vs. little endian.
Originally committed as revision 17525 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e27ad11840
commit
50ded3fdb6
@ -80,6 +80,10 @@ unsigned avutil_version(void);
|
|||||||
* For all the 8bit per pixel formats, an RGB32 palette is in data[1] like
|
* 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
|
* for pal8. This palette is filled in automatically by the function
|
||||||
* allocating the picture.
|
* 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 {
|
enum PixelFormat {
|
||||||
PIX_FMT_NONE= -1,
|
PIX_FMT_NONE= -1,
|
||||||
|
Loading…
Reference in New Issue
Block a user