Home
last modified time | relevance | path

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

/external/skia/tools/
Dpicture_utils.cpp115 Sk4f fs(SkHalfToFloat(static_cast<SkHalf>(px[i] >> (0 * 16))), in encode_bitmap_for_png()
116 SkHalfToFloat(static_cast<SkHalf>(px[i] >> (1 * 16))), in encode_bitmap_for_png()
117 SkHalfToFloat(static_cast<SkHalf>(px[i] >> (2 * 16))), in encode_bitmap_for_png()
118 SkHalfToFloat(static_cast<SkHalf>(px[i] >> (3 * 16)))); in encode_bitmap_for_png()
/external/skia/tests/
DFloat16Test.cpp24 float a2 = SkHalfToFloat(ha); in eq_within_half_float()
25 float b2 = SkHalfToFloat(hb); in eq_within_half_float()
76 float expected = SkHalfToFloat(h), in DEF_TEST()
DMathTest.cpp350 float f = SkHalfToFloat(h); in unittest_half()
362 float f = SkHalfToFloat(h); in unittest_half()
367 f = SkHalfToFloat(h); in unittest_half()
372 f = SkHalfToFloat(h); in unittest_half()
377 f = SkHalfToFloat(h); in unittest_half()
382 f = SkHalfToFloat(h); in unittest_half()
387 f = SkHalfToFloat(h); in unittest_half()
392 f = SkHalfToFloat(h); in unittest_half()
/external/skia/src/core/
DSkColor.cpp138 SkHalfToFloat(half[0]), in FromF16()
139 SkHalfToFloat(half[1]), in FromF16()
140 SkHalfToFloat(half[2]), in FromF16()
141 SkHalfToFloat(half[3]) in FromF16()
DSkHalf.cpp72 float SkHalfToFloat(SkHalf h) { in SkHalfToFloat() function
DSkHalf.h29 float SkHalfToFloat(SkHalf h);
DSkConvertPixels.cpp262 dst[x] = (uint8_t) (255.0f * SkHalfToFloat(src64[x] >> 48)); in convert_to_alpha8()