Searched refs:SkFloatToHalf (Results 1 – 9 of 9) sorted by relevance
206 SkHalf h = SkFloatToHalf(gFloats[i]); in unittest_half()218 SkHalf h = SkFloatToHalf(largestPositiveHalf.fF); in unittest_half()223 h = SkFloatToHalf(largestNegativeHalf.fF); in unittest_half()228 h = SkFloatToHalf(smallestPositiveHalf.fF); in unittest_half()233 h = SkFloatToHalf(overflowHalf.fF); in unittest_half()238 h = SkFloatToHalf(underflowHalf.fF); in unittest_half()243 h = SkFloatToHalf(inf32.fF); in unittest_half()248 h = SkFloatToHalf(nan32.fF); in unittest_half()
55 uint16_t expected = SkFloatToHalf(f);
26 SkHalf SkFloatToHalf(float f);
30 SkHalf SkFloatToHalf(float f) { in SkFloatToHalf() function
1144 if (float X; this->allImm(x.id,&X)) { return splat((int)SkFloatToHalf(X)); } in to_fp16()
636 dstPixel[0] = SkFloatToHalf(srcPixel[0]); in create_YUV()640 dstPixel[0] = SkFloatToHalf(srcPixel[1]); in create_YUV()641 dstPixel[1] = SkFloatToHalf(srcPixel[2]); in create_YUV()646 dstPixel[0] = SkFloatToHalf(srcPixel[3]); in create_YUV()
48 *halfBits++ = SkFloatToHalf(*floatBits++); in copyUniforms()
165 *halfBits++ = SkFloatToHalf(*floatBits++); in CopyUniforms()
119 *bm.getAddr16(i, 0) = SkFloatToHalf(values[i]); in Make()