comparison libmpcodecs/img_format.h @ 29458:c85a54f30ed9

100l, fix compilation again and make codec-cfg.c use the predefined constants instead of reimplementing the IMGFMT_RGB|bit_depth logic.
author reimar
date Wed, 12 Aug 2009 01:03:21 +0000
parents 052acc1342ca
children c9c2befb2409
comparison
equal deleted inserted replaced
29457:052acc1342ca 29458:c85a54f30ed9
12 #define IMGFMT_RGB15 (IMGFMT_RGB|15) 12 #define IMGFMT_RGB15 (IMGFMT_RGB|15)
13 #define IMGFMT_RGB16 (IMGFMT_RGB|16) 13 #define IMGFMT_RGB16 (IMGFMT_RGB|16)
14 #define IMGFMT_RGB24 (IMGFMT_RGB|24) 14 #define IMGFMT_RGB24 (IMGFMT_RGB|24)
15 #define IMGFMT_RGB32 (IMGFMT_RGB|32) 15 #define IMGFMT_RGB32 (IMGFMT_RGB|32)
16 #define IMGFMT_RGB48LE (IMGFMT_RGB|48) 16 #define IMGFMT_RGB48LE (IMGFMT_RGB|48)
17 #define IMGFMT_RGB48BE (IMGFMT_RGB|48) 17 #define IMGFMT_RGB48BE (IMGFMT_RGB|48|128)
18 18
19 #define IMGFMT_BGR_MASK 0xFFFFFF00 19 #define IMGFMT_BGR_MASK 0xFFFFFF00
20 #define IMGFMT_BGR (('B'<<24)|('G'<<16)|('R'<<8)) 20 #define IMGFMT_BGR (('B'<<24)|('G'<<16)|('R'<<8))
21 #define IMGFMT_BGR1 (IMGFMT_BGR|1) 21 #define IMGFMT_BGR1 (IMGFMT_BGR|1)
22 #define IMGFMT_BGR4 (IMGFMT_BGR|4) 22 #define IMGFMT_BGR4 (IMGFMT_BGR|4)