HomeSort by relevance Sort by last modified time
    Searched refs:PALETTE_SIZE (Results 1 - 2 of 2) sorted by null

  /development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
plasma.c 132 #define PALETTE_SIZE (1 << PALETTE_BITS)
138 static uint16_t palette[PALETTE_SIZE];
151 for (nn = 0; nn < PALETTE_SIZE/4; nn++) {
152 int jj = (nn-mm)*4*255/PALETTE_SIZE;
156 for ( mm = nn; nn < PALETTE_SIZE/2; nn++ ) {
157 int jj = (nn-mm)*4*255/PALETTE_SIZE;
161 for ( mm = nn; nn < PALETTE_SIZE*3/4; nn++ ) {
162 int jj = (nn-mm)*4*255/PALETTE_SIZE;
166 for ( mm = nn; nn < PALETTE_SIZE; nn++ ) {
167 int jj = (nn-mm)*4*255/PALETTE_SIZE;
    [all...]
  /development/ndk/platforms/android-9/samples/native-plasma/jni/
plasma.c 137 #define PALETTE_SIZE (1 << PALETTE_BITS)
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 318 milliseconds