Home
last modified time | relevance | path

Searched refs:halfBits (Results 1 – 8 of 8) 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/Pipeline/
DShaderCore.hpp380 void halfToFloatBits(Float4& dst, const Float4& halfBits);
DSamplerCore.cpp2215 const int halfBits = 0x3EFFFFFF; // Value just under 0.5f in address() local
2251 Float4 half = As<Float4>(Int4(halfBits)); in address()
2259 Float4 half = As<Float4>(Int4(halfBits)); in address()
DShaderCore.cpp1240 void ShaderCore::halfToFloatBits(Float4& dst, const Float4& halfBits) in halfToFloatBits() argument
1247 UInt4 expmant = As<UInt4>(halfBits) & UInt4(mask_nosign); in halfToFloatBits()
1249 ((As<UInt4>(halfBits) ^ UInt4(expmant)) << 16) | in halfToFloatBits()
/external/swiftshader/src/Shader/
DShaderCore.hpp380 void halfToFloatBits(Float4& dst, const Float4& halfBits);
DShaderCore.cpp1240 void ShaderCore::halfToFloatBits(Float4& dst, const Float4& halfBits) in halfToFloatBits() argument
1247 UInt4 expmant = As<UInt4>(halfBits) & UInt4(mask_nosign); in halfToFloatBits()
1249 ((As<UInt4>(halfBits) ^ UInt4(expmant)) << 16) | in halfToFloatBits()
DSamplerCore.cpp2357 const int halfBits = 0x3EFFFFFF; // Value just under 0.5f in address() local
2393 Float4 half = As<Float4>(Int4(halfBits)); in address()
2401 Float4 half = As<Float4>(Int4(halfBits)); in address()