Searched refs:mapentrysize (Results 1 – 2 of 2) sorted by relevance
85 read_colormap (bmp_source_ptr sinfo, int cmaplen, int mapentrysize) in read_colormap() argument90 switch (mapentrysize) { in read_colormap()297 int mapentrysize = 0; /* 0 indicates no colormap */ in start_input_bmp() local330 mapentrysize = 3; /* OS/2 uses RGBTRIPLE colormap */ in start_input_bmp()357 mapentrysize = 4; /* Windows uses RGBQUAD colormap */ in start_input_bmp()394 if (mapentrysize > 0) { in start_input_bmp()404 read_colormap(source, (int) biClrUsed, mapentrysize); in start_input_bmp()406 bPad -= biClrUsed * mapentrysize; in start_input_bmp()
102 read_colormap (tga_source_ptr sinfo, int cmaplen, int mapentrysize) in read_colormap() argument108 if (mapentrysize != 24) in read_colormap()