Searched refs:SkNf_round (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/opts/ |
D | SkRasterPipeline_opts.h | 272 SI SkNi SkNf_round(const SkNf& x, const SkNf& scale) { in SkNf_round() function 521 store(tail, SkNx_cast<uint8_t>(SkNf_round(255.0f, a)), ptr); in STAGE_CTX() 537 store(tail, SkNx_cast<uint16_t>( SkNf_round(r, SK_R16_MASK) << SK_R16_SHIFT in STAGE_CTX() 538 | SkNf_round(g, SK_G16_MASK) << SK_G16_SHIFT in STAGE_CTX() 539 | SkNf_round(b, SK_B16_MASK) << SK_B16_SHIFT), ptr); in STAGE_CTX() 548 store(tail, SkNx_cast<uint16_t>( SkNf_round(r, 0xF) << SK_R4444_SHIFT in STAGE_CTX() 549 | SkNf_round(g, 0xF) << SK_G4444_SHIFT in STAGE_CTX() 550 | SkNf_round(b, 0xF) << SK_B4444_SHIFT in STAGE_CTX() 551 | SkNf_round(a, 0xF) << SK_A4444_SHIFT), ptr); in STAGE_CTX() 1140 r = SkNf_from_byte(gather(tail, tables->r, SkNf_round(255.0f, r))); in STAGE_CTX() [all …]
|