• Home
  • Raw
  • Download

Lines Matching refs:sk_bit_cast

386             return sk_bit_cast<U64>(parts);
925 return sk_bit_cast<V>(if_then_else(c, sk_bit_cast<F>(t), sk_bit_cast<F>(e))); in if_then_else()
945 F e = cast(sk_bit_cast<U32>(x)) * (1.0f / (1<<23)); in approx_log2()
948 F m = sk_bit_cast<F>((sk_bit_cast<U32>(x) & 0x007fffff) | 0x3f000000); in approx_log2()
962 return sk_bit_cast<F>(round(1.0f * (1<<23), in approx_pow2()
995 , sk_bit_cast<F>( (s<<16) + (em<<13) + ((127-15)<<23) )); in from_half()
1009 U32 sem = sk_bit_cast<U32>(f), in to_half()
1228 F inclusive = sk_bit_cast<F>( sk_bit_cast<U32>(limit) - 1 ); // Exclusive -> inclusive. in clamp()
1659 float inf = sk_bit_cast<float>(0x7f800000); in STAGE()
1820 U32 bits = sk_bit_cast<U32>(x); in strip_sign()
1822 return sk_bit_cast<F>(bits ^ *sign); in strip_sign()
1826 return sk_bit_cast<F>(sign | sk_bit_cast<U32>(x)); in apply_sign()
2318 r = sk_bit_cast<F>(sk_bit_cast<U32>(r) & mask); in STAGE()
2319 g = sk_bit_cast<F>(sk_bit_cast<U32>(g) & mask); in STAGE()
2320 b = sk_bit_cast<F>(sk_bit_cast<U32>(b) & mask); in STAGE()
2321 a = sk_bit_cast<F>(sk_bit_cast<U32>(a) & mask); in STAGE()
2546 r = sk_bit_cast<F>(sk_bit_cast<U32>(r) & mask); in STAGE()
2547 g = sk_bit_cast<F>(sk_bit_cast<U32>(g) & mask); in STAGE()
2548 b = sk_bit_cast<F>(sk_bit_cast<U32>(b) & mask); in STAGE()
2549 a = sk_bit_cast<F>(sk_bit_cast<U32>(a) & mask); in STAGE()
3094 return sk_bit_cast<F>( (sk_bit_cast<I32>(t) & c) | (sk_bit_cast<I32>(e) & ~c) );
3181 SI F abs_(F x) { return sk_bit_cast<F>( sk_bit_cast<I32>(x) & 0x7fffffff ); }
3356 const F w = sk_bit_cast<float>( sk_bit_cast<uint32_t>(ctx->width ) - 1),
3357 h = sk_bit_cast<float>( sk_bit_cast<uint32_t>(ctx->height) - 1);