Searched refs:approx_scale (Results 1 - 3 of 3) sorted by relevance
/third_party/skia/tests/ |
H A D | SkVxTest.cpp | 139 uint8_t got = skvx::approx_scale(skvx::Vec<8,uint8_t>(x), in DEF_TEST()
|
/third_party/skia/src/core/ |
H A D | SkBlitter_ARGB32.cpp | 1190 U8x4 s_aa = skvx::approx_scale(s, c), in blend_row_A8() 1192 return s_aa + skvx::approx_scale(d, 255 - alpha); in blend_row_A8()
|
/third_party/skia/include/private/ |
H A D | SkVx.h | 695 // approx_scale(x,y) approximates div255(cast<uint16_t>(x)*cast<uint16_t>(y)) within a bit, 697 SIN Vec<N,uint8_t> approx_scale(const Vec<N,uint8_t>& x, const Vec<N,uint8_t>& y) { in approx_scale() function
|
Completed in 7 milliseconds