Lines Matching refs:color24
14 int findIndexNearMatch( unsigned int color24 );
15 unsigned int findColor24NearMatch( unsigned int color24 );
16 unsigned char findIndexMatch( unsigned int color24 );
636 findIndexNearMatch( unsigned int color24 )
642 color8.c24 = color24;
673 color24toGrey( unsigned int color24 )
681 c.c24 = color24;
711 findColor24NearMatch( unsigned int color24 )
717 if ( last_c == color24 )
720 c.c24 = color24;
737 printf("cannot tell color %06x\n", color24);
739 last_c = color24;
753 findIndexMatch( unsigned int color24 )
760 if ( panic_clut[last] == color24 )
768 if ( panic_clut[i] == color24 ) {
780 i = findIndexNearMatch(color24);
784 unsigned int colormatch = findColor24NearMatch( color24 );
789 if (debug>1) printf("color %06X not matched at all\n", color24);
790 color24 = color24toGrey(color24);
791 if (debug>1) printf("now grey %06X\n", color24);
794 color24 = colormatch;
799 if (debug>1) printf("color %06X now matched at %x\n", color24, i);
807 if ( mismatchClut[i] == color24 )
810 if ( debug) printf("closest match for %06X is at index %d %06X\n", color24, ri, panic_clut[ri]);
812 mismatchClut[nextmis++] = color24;
833 union colors color24;
844 color24.c24 = panic_clut[index];
845 index = findIndexMatch( color24.c24 );