Home
last modified time | relevance | path

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

/third_party/flutter/skia/tests/
DMathTest.cpp209 float f = SkHalfToFloat(h); in unittest_half()
221 float f = SkHalfToFloat(h); in unittest_half()
226 f = SkHalfToFloat(h); in unittest_half()
231 f = SkHalfToFloat(h); in unittest_half()
236 f = SkHalfToFloat(h); in unittest_half()
241 f = SkHalfToFloat(h); in unittest_half()
246 f = SkHalfToFloat(h); in unittest_half()
251 f = SkHalfToFloat(h); in unittest_half()
DFloat16Test.cpp35 float expected = SkHalfToFloat(h), in DEF_TEST()
/third_party/skia/tests/
DMathTest.cpp207 float f = SkHalfToFloat(h); in unittest_half()
219 float f = SkHalfToFloat(h); in unittest_half()
224 f = SkHalfToFloat(h); in unittest_half()
229 f = SkHalfToFloat(h); in unittest_half()
234 f = SkHalfToFloat(h); in unittest_half()
239 f = SkHalfToFloat(h); in unittest_half()
244 f = SkHalfToFloat(h); in unittest_half()
249 f = SkHalfToFloat(h); in unittest_half()
DFloat16Test.cpp35 float expected = SkHalfToFloat(h), in DEF_TEST()
/third_party/skia/src/core/
DSkPixmap.cpp121 value = SkHalfToFloat(half); in getAlphaf()
288 return SkColorSetA(0, 255 * SkHalfToFloat(value)); in getColor()
312 uint32_t r = 255 * SkHalfToFloat((value >> 0) & 0xffff); in getColor()
313 uint32_t g = 255 * SkHalfToFloat((value >> 16) & 0xffff); in getColor()
DSkConvertPixels.cpp158 dst[x] = (uint8_t) (255.0f * SkHalfToFloat(src64[x] >> 48)); in convert_to_alpha8()
182 dst[x] = (uint8_t) (255.0f * SkHalfToFloat(srcF16[x])); in convert_to_alpha8()
DSkHalf.cpp72 float SkHalfToFloat(SkHalf h) { in SkHalfToFloat() function
DSkVM.cpp1148 if (int X; this->allImm(x.id,&X)) { return splat(SkHalfToFloat(X)); } in from_fp16()
/third_party/flutter/skia/include/private/
DSkHalf.h25 float SkHalfToFloat(SkHalf h);
/third_party/skia/include/private/
DSkHalf.h25 float SkHalfToFloat(SkHalf h);
/third_party/flutter/skia/src/core/
DSkHalf.cpp72 float SkHalfToFloat(SkHalf h) { in SkHalfToFloat() function
DSkConvertPixels.cpp140 dst[x] = (uint8_t) (255.0f * SkHalfToFloat(src64[x] >> 48)); in convert_to_alpha8()