Searched refs:PALETTE_SIZE (Results 1 – 1 of 1) sorted by relevance
137 #define PALETTE_SIZE (1 << PALETTE_BITS) macro143 static uint16_t palette[PALETTE_SIZE];156 for (nn = 0; nn < PALETTE_SIZE/4; nn++) { in init_palette()157 int jj = (nn-mm)*4*255/PALETTE_SIZE; in init_palette()161 for ( mm = nn; nn < PALETTE_SIZE/2; nn++ ) { in init_palette()162 int jj = (nn-mm)*4*255/PALETTE_SIZE; in init_palette()166 for ( mm = nn; nn < PALETTE_SIZE*3/4; nn++ ) { in init_palette()167 int jj = (nn-mm)*4*255/PALETTE_SIZE; in init_palette()171 for ( mm = nn; nn < PALETTE_SIZE; nn++ ) { in init_palette()172 int jj = (nn-mm)*4*255/PALETTE_SIZE; in init_palette()[all …]