Searched refs:PCX_PAL (Results 1 – 1 of 1) sorted by relevance
7242 #define PCX_PAL 16 /* 8b*3*16 */ macro7321 int i, idx = hdr[PCX_PAL + 3] >> 5; // PB 3.0 in load_pcx()7326 i = hdr[PCX_PAL + 5] >= hdr[PCX_PAL + 4]; in load_pcx()7328 idx = i * 2 + (hdr[PCX_PAL + 4 + i] > 200); in load_pcx()7331 settings->pal[0] = def_pal[hdr[PCX_PAL] >> 4]; in load_pcx()7344 else rgb2pal(settings->pal, hdr + PCX_PAL, cols); in load_pcx()