Home
last modified time | relevance | path

Searched refs:SkFloatToHalf (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/tests/
DMathTest.cpp206 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()
DFloat16Test.cpp55 uint16_t expected = SkFloatToHalf(f);
/third_party/skia/include/private/
DSkHalf.h26 SkHalf SkFloatToHalf(float f);
/third_party/skia/src/core/
DSkHalf.cpp30 SkHalf SkFloatToHalf(float f) { in SkFloatToHalf() function
DSkVM.cpp1144 if (float X; this->allImm(x.id,&X)) { return splat((int)SkFloatToHalf(X)); } in to_fp16()
/third_party/skia/gm/
Dwacky_yuv_formats.cpp636 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()
/third_party/skia/src/gpu/
DGrUniformDataManager.cpp48 *halfBits++ = SkFloatToHalf(*floatBits++); in copyUniforms()
/third_party/skia/experimental/graphite/src/
DUniformManager.cpp165 *halfBits++ = SkFloatToHalf(*floatBits++); in CopyUniforms()
/third_party/skia/src/gpu/effects/
DGrMatrixConvolutionEffect.cpp119 *bm.getAddr16(i, 0) = SkFloatToHalf(values[i]); in Make()