Lines Matching refs:c3

300 static inline uint32_t JOIN(uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3)  in JOIN()  argument
302 return (c0 << 24 | c1 << 16 | c2 << 8 | c3); in JOIN()
379 auto c3 = (C3(s) > C3(d)) ? (C3(s) - C3(d)) : (C3(d) - C3(s)); in opBlendDifference() local
380 return JOIN(255, c1, c2, c3); in opBlendDifference()
388 auto c3 = std::min(255, C3(s) + C3(d) - std::min(255, (C3(s) * C3(d)) << 1)); in opBlendExclusion() local
389 return JOIN(255, c1, c2, c3); in opBlendExclusion()
397 auto c3 = std::min(C3(s) + C3(d), 255); in opBlendAdd() local
398 return JOIN(255, c1, c2, c3); in opBlendAdd()
406 auto c3 = C3(s) + C3(d) - MULTIPLY(C3(s), C3(d)); in opBlendScreen() local
407 return JOIN(255, c1, c2, c3); in opBlendScreen()
415 auto c3 = MULTIPLY(C3(s), C3(d)); in opBlendMultiply() local
416 return JOIN(255, c1, c2, c3); in opBlendMultiply()
425 …auto c3 = (C3(d) < 128) ? std::min(255, 2 * MULTIPLY(C3(s), C3(d))) : (255 - std::min(255, 2 * MUL… in opBlendOverlay() local
426 return JOIN(255, c1, c2, c3); in opBlendOverlay()
434 auto c3 = std::min(C3(s), C3(d)); in opBlendDarken() local
435 return JOIN(255, c1, c2, c3); in opBlendDarken()
443 auto c3 = std::max(C3(s), C3(d)); in opBlendLighten() local
444 return JOIN(255, c1, c2, c3); in opBlendLighten()
453 auto c3 = (C3(is) > 0) ? (C3(d) / C3(is)) : C3(d); in opBlendColorDodge() local
454 return JOIN(255, c1, c2, c3); in opBlendColorDodge()
463 auto c3 = 255 - ((C3(s) > 0) ? (C3(id) / C3(s)) : C3(id)); in opBlendColorBurn() local
464 return JOIN(255, c1, c2, c3); in opBlendColorBurn()
471 …auto c3 = (C3(s) < 128) ? std::min(255, 2 * MULTIPLY(C3(s), C3(d))) : (255 - std::min(255, 2 * MUL… in opBlendHardLight() local
472 return JOIN(255, c1, c2, c3); in opBlendHardLight()
480 …auto c3 = std::min(255, MULTIPLY(255 - std::min(255, 2 * C3(s)), MULTIPLY(C3(d), C3(d))) + 2 * MUL… in opBlendSoftLight() local
481 return JOIN(255, c1, c2, c3); in opBlendSoftLight()