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

  /gdk/samples/bitmap-plasma-llvm/jni/
libplasma.c 23 #define FIXED_ONE (1 << FIXED_BITS)
29 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE))
30 #define FIXED_TO_FLOAT(x) ((x)/(1.*FIXED_ONE))
33 #define FIXED_DIV(x,y) (((int64_t)(x) * FIXED_ONE) / (y))
41 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f)))
134 if (x >= FIXED_ONE) x = FIXED_ONE-1;
plasmaLLVM.cpp 57 #define FIXED_ONE (1 << FIXED_BITS)
63 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE))
64 #define FIXED_TO_FLOAT(x) ((x)/(1.*FIXED_ONE))
67 #define FIXED_DIV(x,y) (((int64_t)(x) * FIXED_ONE) / (y))
75 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f)))
177 if (x >= FIXED_ONE) x = FIXED_ONE-1;
  /frameworks/native/opengl/tests/gl_jni/jni/
gl_code.cpp 17 #define FIXED_ONE 0x10000
160 FIXED_ONE, 0,
161 FIXED_ONE, FIXED_ONE,
162 0, FIXED_ONE
  /frameworks/native/opengl/tests/tritex/
tritex.cpp 25 #define FIXED_ONE 0x10000
241 FIXED_ONE, 0,
242 FIXED_ONE, FIXED_ONE,
243 0, FIXED_ONE
  /development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
plasma.c 55 #define FIXED_ONE (1 << FIXED_BITS)
61 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE))
62 #define FIXED_TO_FLOAT(x) ((x)/(1.*FIXED_ONE))
65 #define FIXED_DIV(x,y) (((int64_t)(x) * FIXED_ONE) / (y))
73 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f)))
175 if (x >= FIXED_ONE) x = FIXED_ONE-1;
  /development/ndk/platforms/android-9/samples/native-plasma/jni/
plasma.c 60 #define FIXED_ONE (1 << FIXED_BITS)
66 #define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE))
67 #define FIXED_TO_FLOAT(x) ((x)/(1.*FIXED_ONE))
70 #define FIXED_DIV(x,y) (((int64_t)(x) * FIXED_ONE) / (y))
78 #define FIXED_FROM_INT_FLOAT(x,f) (Fixed)((x)*(FIXED_ONE*(f)))
180 if (x >= FIXED_ONE) x = FIXED_ONE-1;
  /frameworks/native/opengl/tests/gl_basic/
gl_basic.cpp 23 #define FIXED_ONE 0x10000
350 FIXED_ONE, 0,
351 FIXED_ONE, FIXED_ONE,
352 0, FIXED_ONE
  /system/core/include/private/pixelflinger/
ggl_fixed.h 30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS;
283 c &= ~(c>>31); c = FIXED_ONE - c;
284 c &= ~(c>>31); c = FIXED_ONE - c;
294 if (c>FIXED_ONE)
295 c = FIXED_ONE;
  /system/core/libpixelflinger/
trap.cpp 645 edge->x, edge->x/float(FIXED_ONE),
646 edge->x_incr, edge->x_incr/float(FIXED_ONE) );
837 float fix = 1.0f / FIXED_ONE;
1071 int cf = gglMulx((dx >> 1) + (l_min_i + FIXED_ONE - l_max), dy,
    [all...]
clear.cpp 45 c->state.clear.depth = FIXED_ONE;
scanline.cpp 518 r->c[0] = FIXED_ONE;
533 r->c[1] = FIXED_ONE - blendfactor(dst->c[1], dst->s[1]);
534 r->c[2] = FIXED_ONE - blendfactor(dst->c[2], dst->s[2]);
535 r->c[3] = FIXED_ONE - blendfactor(dst->c[3], dst->s[3]);
536 r->c[0] = FIXED_ONE - blendfactor(dst->c[0], dst->s[0]);
539 r->c[1] = FIXED_ONE - blendfactor(src->c[1], src->s[1]);
540 r->c[2] = FIXED_ONE - blendfactor(src->c[2], src->s[2]);
541 r->c[3] = FIXED_ONE - blendfactor(src->c[3], src->s[3]);
542 r->c[0] = FIXED_ONE - blendfactor(src->c[0], src->s[0]);
548 r->c[0] = blendfactor(src->c[0], src->s[0], FIXED_ONE);
    [all...]
fixed.cpp 91 if (x == FIXED_ONE) return x;
pixelflinger.cpp 804 c->state.depth_test.clearValue = FIXED_ONE;
805 c->shade.w0 = FIXED_ONE;

Completed in 305 milliseconds