HomeSort by relevance Sort by last modified time
    Searched refs:to_4b (Results 1 - 2 of 2) sorted by null

  /external/skia/src/core/
SkPM4fPriv.h 21 static inline uint32_t to_4b(const Sk4f& f4) { function
50 return to_4b(x4 * Sk4f(255) + Sk4f(0.5f));
54 return to_4b(linear_to_srgb(x4) * Sk4f(255) + Sk4f(0.5f));
SkXfermode4f.cpp 291 dst[i] = to_4b(s4_255 + d4 * dst_scale);
315 dst[i] = to_4b(linear_unit_to_srgb_255f(r4));
333 dst[i] = to_4b(linear_unit_to_srgb_255f(s4 + d4 * dst_scale));
400 dst[i] = to_4b(lerp(s4bias, d4bias, lcd16_to_unit_4f(rgb))) | (SK_A32_MASK << SK_A32_SHIFT);

Completed in 346 milliseconds