Searched refs:SkHalfToFloat (Results 1 – 7 of 7) sorted by relevance
115 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()
24 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()
350 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()
138 SkHalfToFloat(half[0]), in FromF16()139 SkHalfToFloat(half[1]), in FromF16()140 SkHalfToFloat(half[2]), in FromF16()141 SkHalfToFloat(half[3]) in FromF16()
72 float SkHalfToFloat(SkHalf h) { in SkHalfToFloat() function
29 float SkHalfToFloat(SkHalf h);
262 dst[x] = (uint8_t) (255.0f * SkHalfToFloat(src64[x] >> 48)); in convert_to_alpha8()