Searched refs:SkFloatToHalf (Results 1 – 15 of 15) sorted by relevance
71 uint16_t red = SkFloatToHalf(literalColor.fR); in onGetGLSLProcessorKey()72 uint16_t green = SkFloatToHalf(literalColor.fG); in onGetGLSLProcessorKey()73 uint16_t blue = SkFloatToHalf(literalColor.fB); in onGetGLSLProcessorKey()74 uint16_t alpha = SkFloatToHalf(literalColor.fA); in onGetGLSLProcessorKey()
208 SkHalf h = SkFloatToHalf(gFloats[i]); in unittest_half()220 SkHalf h = SkFloatToHalf(largestPositiveHalf.fF); in unittest_half()225 h = SkFloatToHalf(largestNegativeHalf.fF); in unittest_half()230 h = SkFloatToHalf(smallestPositiveHalf.fF); in unittest_half()235 h = SkFloatToHalf(overflowHalf.fF); in unittest_half()240 h = SkFloatToHalf(underflowHalf.fF); in unittest_half()245 h = SkFloatToHalf(inf32.fF); in unittest_half()250 h = SkFloatToHalf(nan32.fF); in unittest_half()
55 uint16_t expected = SkFloatToHalf(f);
249 SkHalf alphaHalf = SkFloatToHalf(colorf.fA); in fill_buffer_with_color()256 uint64_t rHalf = SkFloatToHalf(colorf.fR); in fill_buffer_with_color()257 uint64_t gHalf = SkFloatToHalf(colorf.fG); in fill_buffer_with_color()258 uint64_t bHalf = SkFloatToHalf(colorf.fB); in fill_buffer_with_color()259 uint64_t aHalf = SkFloatToHalf(colorf.fA); in fill_buffer_with_color()292 uint32_t rHalf = SkFloatToHalf(colorf.fR); in fill_buffer_with_color()293 uint32_t gHalf = SkFloatToHalf(colorf.fG); in fill_buffer_with_color()
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()
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()