Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/effects/generated/
DGrOverrideInputFragmentProcessor.cpp71 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()
/third_party/flutter/skia/tests/
DMathTest.cpp208 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()
DFloat16Test.cpp55 uint16_t expected = SkFloatToHalf(f);
/third_party/flutter/skia/src/gpu/
DGrDataUtils.cpp249 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()
/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/flutter/skia/include/private/
DSkHalf.h26 SkHalf SkFloatToHalf(float f);
/third_party/skia/include/private/
DSkHalf.h26 SkHalf SkFloatToHalf(float f);
/third_party/flutter/skia/src/core/
DSkHalf.cpp30 SkHalf SkFloatToHalf(float f) { in SkFloatToHalf() function
/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()