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

  /development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
plasma.c 54 #define FIXED_BITS 16
55 #define FIXED_ONE (1 << FIXED_BITS)
58 #define FIXED_FROM_INT(x) ((x) << FIXED_BITS)
59 #define FIXED_TO_INT(x) ((x) >> FIXED_BITS)
64 #define FIXED_MUL(x,y) (((int64_t)(x) * (y)) >> FIXED_BITS)
70 #define FIXED_FRAC(x) ((x) & ((1 << FIXED_BITS)-1))
71 #define FIXED_TRUNC(x) ((x) & ~((1 << FIXED_BITS)-1))
91 #if ANGLE_BITS <= FIXED_BITS
92 # define ANGLE_FROM_FIXED(x) (Angle)((x) >> (FIXED_BITS - ANGLE_BITS))
93 # define ANGLE_TO_FIXED(x) (Fixed)((x) << (FIXED_BITS - ANGLE_BITS)
    [all...]
  /development/ndk/platforms/android-9/samples/native-plasma/jni/
plasma.c 59 #define FIXED_BITS 16
60 #define FIXED_ONE (1 << FIXED_BITS)
63 #define FIXED_FROM_INT(x) ((x) << FIXED_BITS)
64 #define FIXED_TO_INT(x) ((x) >> FIXED_BITS)
69 #define FIXED_MUL(x,y) (((int64_t)(x) * (y)) >> FIXED_BITS)
75 #define FIXED_FRAC(x) ((x) & ((1 << FIXED_BITS)-1))
76 #define FIXED_TRUNC(x) ((x) & ~((1 << FIXED_BITS)-1))
96 #if ANGLE_BITS <= FIXED_BITS
97 # define ANGLE_FROM_FIXED(x) (Angle)((x) >> (FIXED_BITS - ANGLE_BITS))
98 # define ANGLE_TO_FIXED(x) (Fixed)((x) << (FIXED_BITS - ANGLE_BITS)
    [all...]
  /system/core/include/private/pixelflinger/
ggl_fixed.h 28 const GGLfixed FIXED_BITS = 16;
30 const GGLfixed FIXED_ONE = 1L<<FIXED_BITS;
31 const GGLfixed FIXED_HALF = 1L<<(FIXED_BITS-1);
46 return i<<FIXED_BITS;
49 return (f + FIXED_HALF)>>FIXED_BITS;
52 return f>>FIXED_BITS;
55 return (f + ((1<<FIXED_BITS) - 1))>>FIXED_BITS;
59 return v & ((1<<FIXED_BITS)-1);
62 return gglFixedToIntFloor(v)<<FIXED_BITS;
    [all...]
  /system/core/libpixelflinger/
trap.cpp 882 const int shift = FIXED_BITS - TRI_FRACTION_BITS;
899 >> (TRI_FRACTION_BITS + TRI_ITERATORS_BITS - FIXED_BITS);
1002 const int32_t shift = TRI_FRACTION_BITS + TRI_ITERATORS_BITS - FIXED_BITS;
1072 FIXED_BITS + TRI_FRACTION_BITS - 15);
    [all...]
  /frameworks/base/opengl/libagl/
texture.cpp 699 w >>= FIXED_BITS;
700 h >>= FIXED_BITS;
    [all...]

Completed in 889 milliseconds