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 */
489 static unsigned int make24bitcolor( unsigned int index, const unsigned char * clut );
574 * color by indexing into the clut, or attempts to find the best index.
626 * color by indexing into the clut, uses the top 5 bits to fill in each of the three
676 * in each of the three pixel values from the clut (RGB) for each pixel and
726 * in each of the three pixel values from the clut (RGB) for each pixel and
865 * in 8-bit mode, if the active clut is different than the
866 * clut used to create the panic dialog, then we must convert to gray
870 make24bitcolor( unsigned int index, const unsigned char * clut )
875 color24 |= clut[i+0] << 16;
876 color24 |= clut[i+1] << 8;
877 color24 |= clut[i+2];
951 last_index = findbestgray( sc ); /* find the nearest matching gray in the active clut */