changeset 29899:0447ba499275

Add a define for IMGFMT_RGB48NE that depends on machine endianness.
author reimar
date Sat, 21 Nov 2009 18:45:41 +0000
parents 83425130939d
children 9ebc41cbf893
files libmpcodecs/img_format.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/img_format.h	Fri Nov 20 23:48:16 2009 +0000
+++ b/libmpcodecs/img_format.h	Sat Nov 21 18:45:41 2009 +0000
@@ -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 */