Searched defs:PALETTE_SIZE (Results 1 - 1 of 1) sorted by relevance

/gdk/samples/bitmap-plasma-llvm/jni/
H A Dplasma.cpp137 #define PALETTE_SIZE (1 << PALETTE_BITS) macro
143 static uint16_t palette[PALETTE_SIZE];
156 for (nn = 0; nn < PALETTE_SIZE/4; nn++) {
157 int jj = (nn-mm)*4*255/PALETTE_SIZE;
161 for ( mm = nn; nn < PALETTE_SIZE/2; nn++ ) {
162 int jj = (nn-mm)*4*255/PALETTE_SIZE;
166 for ( mm = nn; nn < PALETTE_SIZE*3/4; nn++ ) {
167 int jj = (nn-mm)*4*255/PALETTE_SIZE;
171 for ( mm = nn; nn < PALETTE_SIZE; nn++ ) {
172 int jj = (nn-mm)*4*255/PALETTE_SIZE;
[all...]

Completed in 3 milliseconds