40 #include <nuttx/config.h> 42 #include <sys/types.h> 46 #include <nuttx/nx/nxglib.h> 47 #include <nuttx/video/fb.h> 48 #include <nuttx/video/rgbcolors.h> 59 #define BITMAP_NROWS 21 60 #define BITMAP_NCOLUMNS 24 61 #define BITMAP_NLUTCODES 6 71 #if CONFIG_NXWIDGETS_BPP == 24 || CONFIG_NXWIDGETS_BPP == 32 75 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
76 0xfcfcfc, 0xacacac, 0xd8d8d8, 0xd8881c, 0x9c6014
81 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
82 0xffffff, 0xc0c0c0, 0xe1e1e1, 0xe1a554, 0xb4874e
86 #elif CONFIG_NXWIDGETS_BPP == 16 90 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
91 0xffff, 0xad75, 0xdedb, 0xdc43, 0x9b02
96 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
97 0xffff, 0xc618, 0xe71c, 0xe52a, 0xb429
107 #elif CONFIG_NXWIDGETS_BPP == 8 108 # ifdef CONFIG_NXWIDGETS_GREYSCALE 114 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
115 0xfc, 0xac, 0xd8, 0x93, 0x69
120 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
121 0xff, 0xc0, 0xe1, 0xad, 0x8d
130 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
131 0xff, 0xb6, 0xdb, 0xd0, 0x8c
136 CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR,
137 0xff, 0xdb, 0xff, 0xf5, 0xb1
142 # error "Unsupport pixel format" 147 {11, 0}, { 1, 1}, { 1, 2}, { 6, 0}, { 1, 3}, { 1, 2}, { 3, 0},
148 {11, 0}, { 1, 1}, { 1, 2}, { 4, 0}, { 2, 1}, { 1, 3}, { 2, 1}, { 2, 0},
149 {11, 0}, { 1, 1}, { 1, 2}, { 2, 0}, { 2, 1}, { 2, 2}, { 1, 3}, { 1, 2},
151 {11, 0}, { 1, 1}, { 1, 3}, { 2, 1}, { 2, 2}, { 2, 0}, { 1, 3}, { 4, 0},
152 { 9, 0}, { 2, 1}, { 2, 3}, { 2, 2}, { 4, 0}, { 1, 3}, { 4, 0},
153 { 3, 0}, { 1, 1}, { 1, 2}, { 2, 0}, { 2, 1}, { 2, 2}, { 1, 1}, { 1, 2},
154 { 5, 0}, { 1, 1}, { 2, 3}, { 3, 0},
155 { 2, 0}, { 2, 1}, { 1, 3}, { 2, 1}, { 2, 2}, { 2, 0}, { 1, 1}, { 1, 2},
156 { 4, 0}, { 1, 1}, { 1, 3}, { 1, 0}, { 2, 3}, { 2, 0},
157 { 3, 0}, { 1, 2}, { 1, 3}, { 2, 2}, { 4, 0}, { 1, 1}, { 1, 2}, { 4, 0},
158 { 1, 1}, { 3, 0}, { 1, 3}, { 2, 0},
159 { 4, 0}, { 1, 3}, { 6, 0}, { 1, 1}, { 1, 2}, { 3, 0}, { 1, 1}, { 1, 3},
160 { 3, 0}, { 2, 3}, { 1, 0},
161 { 3, 0}, { 1, 1}, { 2, 3}, { 5, 0}, { 1, 1}, { 1, 2}, { 3, 0}, { 1, 1},
162 { 5, 0}, { 1, 3}, { 1, 0},
163 { 2, 0}, { 1, 1}, { 1, 3}, { 1, 0}, { 2, 3}, { 4, 0}, { 1, 1}, { 1, 2},
164 { 3, 0}, { 1, 1}, { 1, 0}, { 2, 4}, { 1, 5}, { 1, 0}, { 1, 3}, { 1, 0},
165 { 2, 0}, { 1, 1}, { 3, 0}, { 1, 3}, { 4, 0}, { 1, 1}, { 1, 2}, { 3, 0},
166 { 1, 1}, { 1, 0}, { 2, 4}, { 1, 5}, { 1, 0}, { 1, 3}, { 1, 0},
167 { 1, 0}, { 1, 1}, { 1, 3}, { 2, 4}, { 1, 5}, { 2, 3}, { 3, 0}, { 1, 1},
168 { 1, 2}, { 2, 0}, { 9, 3},
169 { 1, 0}, { 1, 1}, { 1, 0}, { 2, 4}, { 1, 5}, { 1, 0}, { 1, 3}, { 3, 0},
170 { 1, 1}, { 1, 2}, {11, 0},
171 { 1, 0}, { 1, 1}, { 1, 0}, { 2, 4}, { 1, 5}, { 1, 0}, { 1, 3}, { 3, 0},
172 { 1, 1}, { 1, 2}, {11, 0},
173 { 1, 0}, { 1, 1}, { 1, 0}, { 2, 4}, { 1, 5}, { 1, 0}, { 1, 3}, { 3, 0},
174 { 1, 1}, { 1, 2}, {11, 0},
175 { 9, 3}, { 2, 0}, { 1, 1}, { 1, 2}, {11, 0},
176 {11, 0}, { 1, 1}, { 1, 2}, {11, 0},
177 {10, 0}, { 1, 1}, { 2, 3}, { 1, 2}, {10, 0},
178 { 5, 0}, { 4, 1}, { 6, 3}, { 4, 2}, { 5, 0},
179 { 4, 0}, { 4, 1}, { 8, 3}, { 4, 2}, { 4, 0},
197 g_calibrationRleEntries
const struct NXWidgets::SRlePaletteBitmap g_calibrationBitmap
static const struct NXWidgets::SRlePaletteBitmapEntry g_calibrationRleEntries[]
static const uint32_t g_calibrationNormalLut[BITMAP_NLUTCODES]
static const uint32_t g_calibrationSelectedLut[BITMAP_NLUTCODES]