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

  /external/chromium_org/third_party/skia/src/core/
SkFP.h 45 #include "SkFloat.h"
49 #define SkScalarToFP(n) SkFloat::SetShift(n, -16)
50 #define SkFPToScalar(n) SkFloat::GetShift(n, -16)
51 #define SkIntToFP(n) SkFloat::SetShift(n, 0)
52 #define SkFPRound(x) SkFloat::Round(x);
53 #define SkFPCeil(x) SkFloat::Ceil();
54 #define SkFPFloor(x) SkFloat::Floor();
56 #define SkFPNeg(x) SkFloat::Neg(x)
57 #define SkFPAbs(x) SkFloat::Abs(x)
58 #define SkFPAdd(a, b) SkFloat::Add(a, b
    [all...]
SkFloat.h 15 class SkFloat {
17 SkFloat() {}
34 void setShiftLeft(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, bits); }
37 void setShiftRight(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, -bits); }
39 void add(const SkFloat& a) { fPacked = Add(fPacked, a.fPacked); }
40 void setAdd(const SkFloat& a, const SkFloat& b) { fPacked = Add(a.fPacked, b.fPacked); }
42 void sub(const SkFloat& a) { fPacked = Add(fPacked, Neg(a.fPacked)); }
43 void setSub(const SkFloat& a, const SkFloat& b) { fPacked = Add(a.fPacked, Neg(b.fPacked));
    [all...]
SkFloat.cpp 10 #include "SkFloat.h"
32 int SkFloat::GetShift(int32_t packed, int shift)
60 int32_t SkFloat::SetShift(int value, int shift)
116 int32_t SkFloat::Neg(int32_t packed)
123 int32_t SkFloat::Add(int32_t packed_a, int32_t packed_b)
156 return SkFloat::SetShift(value_a + value_b, exp - EXP_BIAS);
170 int32_t SkFloat::Mul(int32_t packed_a, int32_t packed_b)
181 return SkFloat::SetShift(mul24(value_a, value_b), exp_a + exp_b - 2*EXP_BIAS + 24);
184 int32_t SkFloat::MulInt(int32_t packed, int n)
189 int32_t SkFloat::Div(int32_t packed_n, int32_t packed_d
    [all...]
  /external/skia/src/core/
SkFP.h 45 #include "SkFloat.h"
49 #define SkScalarToFP(n) SkFloat::SetShift(n, -16)
50 #define SkFPToScalar(n) SkFloat::GetShift(n, -16)
51 #define SkIntToFP(n) SkFloat::SetShift(n, 0)
52 #define SkFPRound(x) SkFloat::Round(x);
53 #define SkFPCeil(x) SkFloat::Ceil();
54 #define SkFPFloor(x) SkFloat::Floor();
56 #define SkFPNeg(x) SkFloat::Neg(x)
57 #define SkFPAbs(x) SkFloat::Abs(x)
58 #define SkFPAdd(a, b) SkFloat::Add(a, b
    [all...]
SkFloat.h 15 class SkFloat {
17 SkFloat() {}
34 void setShiftLeft(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, bits); }
37 void setShiftRight(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, -bits); }
39 void add(const SkFloat& a) { fPacked = Add(fPacked, a.fPacked); }
40 void setAdd(const SkFloat& a, const SkFloat& b) { fPacked = Add(a.fPacked, b.fPacked); }
42 void sub(const SkFloat& a) { fPacked = Add(fPacked, Neg(a.fPacked)); }
43 void setSub(const SkFloat& a, const SkFloat& b) { fPacked = Add(a.fPacked, Neg(b.fPacked));
    [all...]
SkFloat.cpp 10 #include "SkFloat.h"
32 int SkFloat::GetShift(int32_t packed, int shift)
60 int32_t SkFloat::SetShift(int value, int shift)
116 int32_t SkFloat::Neg(int32_t packed)
123 int32_t SkFloat::Add(int32_t packed_a, int32_t packed_b)
156 return SkFloat::SetShift(value_a + value_b, exp - EXP_BIAS);
170 int32_t SkFloat::Mul(int32_t packed_a, int32_t packed_b)
181 return SkFloat::SetShift(mul24(value_a, value_b), exp_a + exp_b - 2*EXP_BIAS + 24);
184 int32_t SkFloat::MulInt(int32_t packed, int n)
189 int32_t SkFloat::Div(int32_t packed_n, int32_t packed_d
    [all...]
  /external/chromium_org/third_party/skia/src/animator/
SkMemberInfo.h 27 #define SkFloat SkScalar
  /external/skia/src/animator/
SkMemberInfo.h 27 #define SkFloat SkScalar
  /external/skia/
Android.mk 134 src/core/SkFloat.cpp \

Completed in 500 milliseconds