Revision 77544e5b libavutil/pixfmt.h

View differences:

libavutil/pixfmt.h
125 125
#   define PIX_FMT_NE(be, le) PIX_FMT_##le
126 126
#endif
127 127

  
128
#ifdef WORDS_BIGENDIAN
129
#define PIX_FMT_RGB32   PIX_FMT_ARGB
130
#define PIX_FMT_RGB32_1 PIX_FMT_RGBA
131
#define PIX_FMT_BGR32   PIX_FMT_ABGR
132
#define PIX_FMT_BGR32_1 PIX_FMT_BGRA
133
#else
134
#define PIX_FMT_RGB32   PIX_FMT_BGRA
135
#define PIX_FMT_RGB32_1 PIX_FMT_ABGR
136
#define PIX_FMT_BGR32   PIX_FMT_RGBA
137
#define PIX_FMT_BGR32_1 PIX_FMT_ARGB
138
#endif
128
#define PIX_FMT_RGB32   PIX_FMT_NE(ARGB, BGRA)
129
#define PIX_FMT_RGB32_1 PIX_FMT_NE(RGBA, ABGR)
130
#define PIX_FMT_BGR32   PIX_FMT_NE(ABGR, RGBA)
131
#define PIX_FMT_BGR32_1 PIX_FMT_NE(BGRA, ARGB)
139 132

  
140 133
#define PIX_FMT_GRAY16 PIX_FMT_NE(GRAY16BE, GRAY16LE)
141 134
#define PIX_FMT_RGB48  PIX_FMT_NE(RGB48BE,  RGB48LE)

Also available in: Unified diff