mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
Add a define for IMGFMT_RGB48NE that depends on machine endianness.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29941 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d1a2c82198
commit
8a6fdd634d
@ -34,11 +34,13 @@
|
||||
#define IMGFMT_BGRA (IMGFMT_RGB32|64)
|
||||
#define IMGFMT_ARGB IMGFMT_BGR32
|
||||
#define IMGFMT_RGBA (IMGFMT_BGR32|64)
|
||||
#define IMGFMT_RGB48NE IMGFMT_RGB48BE
|
||||
#else
|
||||
#define IMGFMT_ABGR (IMGFMT_BGR32|64)
|
||||
#define IMGFMT_BGRA IMGFMT_BGR32
|
||||
#define IMGFMT_ARGB (IMGFMT_RGB32|64)
|
||||
#define IMGFMT_RGBA IMGFMT_RGB32
|
||||
#define IMGFMT_RGB48NE IMGFMT_RGB48LE
|
||||
#endif
|
||||
|
||||
/* old names for compatibility */
|
||||
|
Loading…
Reference in New Issue
Block a user