Home
last modified time | relevance | path

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

/external/skia/tests/
DSafeMathTest.cpp34 size_t halfBits = bits / 2; in DEF_TEST() local
35 size_t sqrtMax = max >> halfBits; in DEF_TEST()
40 REPORTER_ASSERT(r, safe.mul(sqrtMax, sqrtMaxPlus1) == sqrtMax << halfBits); in DEF_TEST()
/external/skqp/tests/
DSafeMathTest.cpp34 size_t halfBits = bits / 2; in DEF_TEST() local
35 size_t sqrtMax = max >> halfBits; in DEF_TEST()
40 REPORTER_ASSERT(r, safe.mul(sqrtMax, sqrtMaxPlus1) == sqrtMax << halfBits); in DEF_TEST()
/external/swiftshader/src/Shader/
DShaderCore.hpp362 void halfToFloatBits(Float4& dst, const Float4& halfBits);
DShaderCore.cpp1147 void ShaderCore::halfToFloatBits(Float4& dst, const Float4& halfBits) in halfToFloatBits() argument
1154 UInt4 expmant = As<UInt4>(halfBits) & UInt4(mask_nosign); in halfToFloatBits()
1156 ((As<UInt4>(halfBits) ^ UInt4(expmant)) << 16) | in halfToFloatBits()
DSamplerCore.cpp2361 const int halfBits = 0x3EFFFFFF; // Value just under 0.5f in address() local
2392 Float4 half = As<Float4>(Int4(halfBits)); in address()
2400 Float4 half = As<Float4>(Int4(halfBits)); in address()