Searched refs:SkHalfToFloat (Results 1 – 12 of 12) sorted by relevance
209 float f = SkHalfToFloat(h); in unittest_half()221 float f = SkHalfToFloat(h); in unittest_half()226 f = SkHalfToFloat(h); in unittest_half()231 f = SkHalfToFloat(h); in unittest_half()236 f = SkHalfToFloat(h); in unittest_half()241 f = SkHalfToFloat(h); in unittest_half()246 f = SkHalfToFloat(h); in unittest_half()251 f = SkHalfToFloat(h); in unittest_half()
35 float expected = SkHalfToFloat(h), in DEF_TEST()
207 float f = SkHalfToFloat(h); in unittest_half()219 float f = SkHalfToFloat(h); in unittest_half()224 f = SkHalfToFloat(h); in unittest_half()229 f = SkHalfToFloat(h); in unittest_half()234 f = SkHalfToFloat(h); in unittest_half()239 f = SkHalfToFloat(h); in unittest_half()244 f = SkHalfToFloat(h); in unittest_half()249 f = SkHalfToFloat(h); in unittest_half()
121 value = SkHalfToFloat(half); in getAlphaf()288 return SkColorSetA(0, 255 * SkHalfToFloat(value)); in getColor()312 uint32_t r = 255 * SkHalfToFloat((value >> 0) & 0xffff); in getColor()313 uint32_t g = 255 * SkHalfToFloat((value >> 16) & 0xffff); in getColor()
158 dst[x] = (uint8_t) (255.0f * SkHalfToFloat(src64[x] >> 48)); in convert_to_alpha8()182 dst[x] = (uint8_t) (255.0f * SkHalfToFloat(srcF16[x])); in convert_to_alpha8()
72 float SkHalfToFloat(SkHalf h) { in SkHalfToFloat() function
1148 if (int X; this->allImm(x.id,&X)) { return splat(SkHalfToFloat(X)); } in from_fp16()
25 float SkHalfToFloat(SkHalf h);
140 dst[x] = (uint8_t) (255.0f * SkHalfToFloat(src64[x] >> 48)); in convert_to_alpha8()