Lines Matching refs:clut
62 static const unsigned char * active_clut = NULL; /* This is a copy of the active clut */
68 static const unsigned char * panic_dialog_clut = NULL; /* where the clut used for the image starts */
488 static unsigned int make24bitcolor( unsigned int index, const unsigned char * clut );
570 * color by indexing into the clut, or attempts to find the best index.
622 * color by indexing into the clut, uses the top 5 bits to fill in each of the three
672 * in each of the three pixel values from the clut (RGB) for each pixel and
838 * in 8-bit mode, if the active clut is different than the
839 * clut used to create the panic dialog, then we must convert to gray
843 make24bitcolor( unsigned int index, const unsigned char * clut )
848 color24 |= clut[i+0] << 16;
849 color24 |= clut[i+1] << 8;
850 color24 |= clut[i+2];
924 last_index = findbestgray( sc ); /* find the nearest matching gray in the active clut */