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

  /gdk/samples/bitmap-plasma-llvm/jni/
libplasma.c 92 #define PALETTE_SIZE (1 << PALETTE_BITS)
110 for (nn = 0; nn < PALETTE_SIZE/4; nn++) {
111 int jj = (nn-mm)*4*255/PALETTE_SIZE;
115 for ( mm = nn; nn < PALETTE_SIZE/2; nn++ ) {
116 int jj = (nn-mm)*4*255/PALETTE_SIZE;
120 for ( mm = nn; nn < PALETTE_SIZE*3/4; nn++ ) {
121 int jj = (nn-mm)*4*255/PALETTE_SIZE;
125 for ( mm = nn; nn < PALETTE_SIZE; nn++ ) {
126 int jj = (nn-mm)*4*255/PALETTE_SIZE;
136 return palette[idx & (PALETTE_SIZE-1)]
    [all...]
plasmaLLVM.cpp 134 #define PALETTE_SIZE (1 << PALETTE_BITS)
140 static uint16_t palette[PALETTE_SIZE];
153 for (nn = 0; nn < PALETTE_SIZE/4; nn++) {
154 int jj = (nn-mm)*4*255/PALETTE_SIZE;
158 for ( mm = nn; nn < PALETTE_SIZE/2; nn++ ) {
159 int jj = (nn-mm)*4*255/PALETTE_SIZE;
163 for ( mm = nn; nn < PALETTE_SIZE*3/4; nn++ ) {
164 int jj = (nn-mm)*4*255/PALETTE_SIZE;
168 for ( mm = nn; nn < PALETTE_SIZE; nn++ ) {
169 int jj = (nn-mm)*4*255/PALETTE_SIZE;
    [all...]
  /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 54 milliseconds