Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkHalf.cpp24 uint32_t fUInt; // this must come first for the initializations below to work member
41 uint32_t sign = floatUnion.fUInt & sign_mask; in SkFloatToHalf()
42 floatUnion.fUInt ^= sign; in SkFloatToHalf()
50 if (floatUnion.fUInt >= f32infty) in SkFloatToHalf()
52 o = (floatUnion.fUInt > f32infty) ? 0x7e00 : 0x7c00; in SkFloatToHalf()
55 floatUnion.fUInt &= round_mask; in SkFloatToHalf()
57 floatUnion.fUInt -= round_mask; in SkFloatToHalf()
59 if (floatUnion.fUInt > f16infty) { in SkFloatToHalf()
60 floatUnion.fUInt = f16infty; in SkFloatToHalf()
63 o = floatUnion.fUInt >> 13; // Take the bits! in SkFloatToHalf()
[all …]