STI_NCMAP
for (i = 0; i < STI_NCMAP; i++) {
wdf->cmsize = STI_NCMAP;
if (idx >= STI_NCMAP || count > STI_NCMAP - idx)
if (idx >= STI_NCMAP || count > STI_NCMAP - idx)
uint8_t scr_rcmap[STI_NCMAP],
scr_gcmap[STI_NCMAP],
scr_bcmap[STI_NCMAP];