Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Drdbmp.c104 read_colormap(bmp_source_ptr sinfo, int cmaplen, int mapentrysize) in read_colormap() argument
109 switch (mapentrysize) { in read_colormap()
447 int mapentrysize = 0; /* 0 indicates no colormap */ in start_input_bmp() local
480 mapentrysize = 3; /* OS/2 uses RGBTRIPLE colormap */ in start_input_bmp()
507 mapentrysize = 4; /* Windows uses RGBQUAD colormap */ in start_input_bmp()
544 if (mapentrysize > 0) { in start_input_bmp()
554 read_colormap(source, (int)biClrUsed, mapentrysize); in start_input_bmp()
556 bPad -= biClrUsed * mapentrysize; in start_input_bmp()
Drdtarga.c106 read_colormap(tga_source_ptr sinfo, int cmaplen, int mapentrysize) in read_colormap() argument
112 if (mapentrysize != 24) in read_colormap()