Home
last modified time | relevance | path

Searched refs:PCX_PAL (Results 1 – 1 of 1) sorted by relevance

/dports/graphics/mtpaint/mtPaint-4ea607e/src/
H A Dpng.c7242 #define PCX_PAL 16 /* 8b*3*16 */ macro
7321 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()