Use PIX_FMT_NE() macro.
Originally committed as revision 18132 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a1a05abebd
commit
31a79497b7
@ -123,15 +123,14 @@ enum PixelFormat {
|
|||||||
#define PIX_FMT_BGRA PIX_FMT_BGR32_1
|
#define PIX_FMT_BGRA PIX_FMT_BGR32_1
|
||||||
#define PIX_FMT_ARGB PIX_FMT_RGB32
|
#define PIX_FMT_ARGB PIX_FMT_RGB32
|
||||||
#define PIX_FMT_ABGR PIX_FMT_BGR32
|
#define PIX_FMT_ABGR PIX_FMT_BGR32
|
||||||
#define PIX_FMT_GRAY16 PIX_FMT_GRAY16BE
|
|
||||||
#define PIX_FMT_RGB48 PIX_FMT_RGB48BE
|
|
||||||
#else
|
#else
|
||||||
#define PIX_FMT_RGBA PIX_FMT_BGR32
|
#define PIX_FMT_RGBA PIX_FMT_BGR32
|
||||||
#define PIX_FMT_BGRA PIX_FMT_RGB32
|
#define PIX_FMT_BGRA PIX_FMT_RGB32
|
||||||
#define PIX_FMT_ARGB PIX_FMT_BGR32_1
|
#define PIX_FMT_ARGB PIX_FMT_BGR32_1
|
||||||
#define PIX_FMT_ABGR PIX_FMT_RGB32_1
|
#define PIX_FMT_ABGR PIX_FMT_RGB32_1
|
||||||
#define PIX_FMT_GRAY16 PIX_FMT_GRAY16LE
|
|
||||||
#define PIX_FMT_RGB48 PIX_FMT_RGB48LE
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define PIX_FMT_GRAY16 PIX_FMT_NE(GRAY16)
|
||||||
|
#define PIX_FMT_RGB48 PIX_FMT_NE(RGB48)
|
||||||
|
|
||||||
#endif /* AVUTIL_PIXFMT_H */
|
#endif /* AVUTIL_PIXFMT_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user