Lines Matching defs:color24
24 unsigned int color24 );
26 unsigned int color24 );
1077 findIndexNearMatch( unsigned int color24 )
1083 color8.c24 = color24;
1115 color24toGrey( unsigned int color24 )
1123 c.c24 = color24;
1179 findColor24NearMatch( unsigned int color24 )
1185 if ( last_c == color24 )
1188 c.c24 = color24;
1205 printf("cannot tell color %06x\n", color24);
1207 last_c = color24;
1229 findIndexMatch( unsigned int color24 )
1236 if ( panic_clut[last] == color24 )
1244 if ( panic_clut[i] == color24 ) {
1256 i = findIndexNearMatch(color24);
1260 unsigned int colormatch = findColor24NearMatch( color24 );
1265 if (debug>1) printf("color %06X not matched at all\n", color24);
1266 color24 = color24toGrey(color24);
1267 if (debug>1) printf("now grey %06X\n", color24);
1270 color24 = colormatch;
1275 if (debug>1) printf("color %06X now matched at %x\n", color24, i);
1283 if ( mismatchClut[i] == color24 )
1286 if ( debug) printf("closest match for %06X is at index %d %06X\n", color24, ri, panic_clut[ri]);
1288 mismatchClut[nextmis++] = color24;
1309 union colors color24;
1319 color24.clut.red = data[i24++];
1320 color24.clut.green = data[i24++];
1321 color24.clut.blue = data[i24++];
1323 index = findIndexMatch( color24.c24 );
1343 union colors color24;
1354 color24.c24 = panic_clut[index];
1355 index = findIndexMatch( color24.c24 );
1377 union colors color24;
1388 color24.c24 = panic_clut[index];
1390 ddata[i24++] = color24.clut.red;
1391 ddata[i24++] = color24.clut.green;
1392 ddata[i24++] = color24.clut.blue;