Searched refs:pun_to_I32 (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/src/core/ |
D | SkColorSpaceXformSteps.cpp | 145 skvm::I32 bits = pun_to_I32(v), in sk_program_transfer_fn() 178 return pun_to_F32(sign | pun_to_I32(v)); in sk_program_transfer_fn()
|
D | SkVM.h | 631 void assert_true(I32 cond, F32 debug) { assert_true(cond, pun_to_I32(debug)); } in assert_true() 646 void storeF (Ptr ptr, F32 val) { store32(ptr, pun_to_I32(val)); } in storeF() 794 F32 abs(F32 x) { return pun_to_F32(bit_and(pun_to_I32(x), 0x7fff'ffff)); } in abs() 1238 SI I32 pun_to_I32(F32 x) { return x-> pun_to_I32(x); } in pun_to_I32() function
|
D | SkVM.cpp | 818 F32 e = mul(to_F32(pun_to_I32(x)), splat(1.0f / (1<<23))); in approx_log2() 821 F32 m = pun_to_F32(bit_or(bit_and(pun_to_I32(x), 0x007fffff), in approx_log2() 1421 store128(ptr, pun_to_I32(c.r), pun_to_I32(c.g), pun_to_I32(c.b), pun_to_I32(c.a)); in store()
|
/third_party/skia/src/shaders/ |
D | SkImageShader.cpp | 817 c.r = pun_to_F32(p->bit_and(mask, pun_to_I32(c.r))); in makeProgram() 818 c.g = pun_to_F32(p->bit_and(mask, pun_to_I32(c.g))); in makeProgram() 819 c.b = pun_to_F32(p->bit_and(mask, pun_to_I32(c.b))); in makeProgram() 820 c.a = pun_to_F32(p->bit_and(mask, pun_to_I32(c.a))); in makeProgram()
|
/third_party/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 596 pun_to_F32(mask & pun_to_I32(color.r)), in onProgram() 597 pun_to_F32(mask & pun_to_I32(color.g)), in onProgram() 598 pun_to_F32(mask & pun_to_I32(color.b)), in onProgram() 599 pun_to_F32(mask & pun_to_I32(color.a)), in onProgram()
|