Searched refs:mapentrysize (Results 1 – 2 of 2) sorted by relevance
94 read_colormap(bmp_source_ptr sinfo, int cmaplen, int mapentrysize) in read_colormap() argument99 switch (mapentrysize) { in read_colormap()435 int mapentrysize = 0; /* 0 indicates no colormap */ in start_input_bmp() local468 mapentrysize = 3; /* OS/2 uses RGBTRIPLE colormap */ in start_input_bmp()497 mapentrysize = 4; /* Windows uses RGBQUAD colormap */ in start_input_bmp()537 if (mapentrysize > 0) { in start_input_bmp()547 read_colormap(source, (int)biClrUsed, mapentrysize); in start_input_bmp()549 bPad -= biClrUsed * mapentrysize; in start_input_bmp()
96 read_colormap(tga_source_ptr sinfo, int cmaplen, int mapentrysize) in read_colormap() argument102 if (mapentrysize != 24) in read_colormap()