OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SkFloat
(Results
1 - 4
of
4
) sorted by null
/external/skia/src/core/
SkFP.h
53
#include "
SkFloat
.h"
57
#define SkScalarToFP(n)
SkFloat
::SetShift(n, -16)
58
#define SkFPToScalar(n)
SkFloat
::GetShift(n, -16)
59
#define SkIntToFP(n)
SkFloat
::SetShift(n, 0)
60
#define SkFPRound(x)
SkFloat
::Round(x);
61
#define SkFPCeil(x)
SkFloat
::Ceil();
62
#define SkFPFloor(x)
SkFloat
::Floor();
64
#define SkFPNeg(x)
SkFloat
::Neg(x)
65
#define SkFPAbs(x)
SkFloat
::Abs(x)
66
#define SkFPAdd(a, b)
SkFloat
::Add(a, b
[
all
...]
SkFloat.h
22
class
SkFloat
{
24
SkFloat
() {}
41
void setShiftLeft(const
SkFloat
& a, int bits) { fPacked = Shift(a.fPacked, bits); }
44
void setShiftRight(const
SkFloat
& a, int bits) { fPacked = Shift(a.fPacked, -bits); }
46
void add(const
SkFloat
& a) { fPacked = Add(fPacked, a.fPacked); }
47
void setAdd(const
SkFloat
& a, const
SkFloat
& b) { fPacked = Add(a.fPacked, b.fPacked); }
49
void sub(const
SkFloat
& a) { fPacked = Add(fPacked, Neg(a.fPacked)); }
50
void setSub(const
SkFloat
& a, const
SkFloat
& b) { fPacked = Add(a.fPacked, Neg(b.fPacked));
[
all
...]
SkFloat.cpp
17
#include "
SkFloat
.h"
39
int
SkFloat
::GetShift(int32_t packed, int shift)
67
int32_t
SkFloat
::SetShift(int value, int shift)
123
int32_t
SkFloat
::Neg(int32_t packed)
130
int32_t
SkFloat
::Add(int32_t packed_a, int32_t packed_b)
163
return
SkFloat
::SetShift(value_a + value_b, exp - EXP_BIAS);
177
int32_t
SkFloat
::Mul(int32_t packed_a, int32_t packed_b)
188
return
SkFloat
::SetShift(mul24(value_a, value_b), exp_a + exp_b - 2*EXP_BIAS + 24);
191
int32_t
SkFloat
::MulInt(int32_t packed, int n)
196
int32_t
SkFloat
::Div(int32_t packed_n, int32_t packed_d
[
all
...]
/external/skia/src/animator/
SkMemberInfo.h
35
#define
SkFloat
SkScalar
Completed in 300 milliseconds