00001 #ifndef _CMODELS_H_
00002 #define _CMODELS_H_
00003
00004
00005
00006 #define RGB24 0
00007 #define RGB8 1
00008 #define RGB16 2
00009 #define YUV422 3
00010 #define YUV420 4
00011 #define GREY8 5
00012 #define RGB15 6
00013 #define RGB32 7
00014
00015 #define CMODEL_MASK 0x1f
00016 #define NUM_CMODELS 7
00017 #define MAX_BPP 32
00018
00019 #define PAL 0x40
00020 #define PLANAR 0x40
00021 #define BGR 0x80
00022
00023 #define YUV420P (YUV420 | PLANAR)
00024 #define YUV422P (YUV422 | PLANAR)
00025
00026 static const int CMODEL_BPP[8] = { 24, 8, 16, 16, 12, 8, 16, 32 };
00027
00028
00029
00030 #endif