Home
last modified time | relevance | path

Searched refs:fPacked (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/core/
DSkFloat.h26 void setZero() { fPacked = 0; } in setZero()
28 void setInt(int value) { fPacked = SetShift(value, 0); } in setInt()
29 void setFixed(SkFixed value) { fPacked = SetShift(value, -16); } in setFixed()
30 void setFract(SkFract value) { fPacked = SetShift(value, -30); } in setFract()
33 int getInt() const { return GetShift(fPacked, 0); } in getInt()
34 SkFixed getFixed() const { return GetShift(fPacked, -16); } in getFixed()
35 SkFract getFract() const { return GetShift(fPacked, -30); } in getFract()
37 void abs() { fPacked = Abs(fPacked); } in abs()
38 void negate() { fPacked = Neg(fPacked); } in negate()
40 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); } in shiftLeft()
[all …]