Lines Matching defs:c2
300 static inline uint32_t JOIN(uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3) in JOIN()
378 auto c2 = (C2(s) > C2(d)) ? (C2(s) - C2(d)) : (C2(d) - C2(s)); in opBlendDifference() local
387 auto c2 = std::min(255, C2(s) + C2(d) - std::min(255, (C2(s) * C2(d)) << 1)); in opBlendExclusion() local
396 auto c2 = std::min(C2(s) + C2(d), 255); in opBlendAdd() local
405 auto c2 = C2(s) + C2(d) - MULTIPLY(C2(s), C2(d)); in opBlendScreen() local
414 auto c2 = MULTIPLY(C2(s), C2(d)); in opBlendMultiply() local
424 …auto c2 = (C2(d) < 128) ? std::min(255, 2 * MULTIPLY(C2(s), C2(d))) : (255 - std::min(255, 2 * MUL… in opBlendOverlay() local
433 auto c2 = std::min(C2(s), C2(d)); in opBlendDarken() local
442 auto c2 = std::max(C2(s), C2(d)); in opBlendLighten() local
452 auto c2 = (C2(is) > 0) ? (C2(d) / C2(is)) : C2(d); in opBlendColorDodge() local
462 auto c2 = 255 - ((C2(s) > 0) ? (C2(id) / C2(s)) : C2(id)); in opBlendColorBurn() local
470 …auto c2 = (C2(s) < 128) ? std::min(255, 2 * MULTIPLY(C2(s), C2(d))) : (255 - std::min(255, 2 * MUL… in opBlendHardLight() local
479 …auto c2 = std::min(255, MULTIPLY(255 - std::min(255, 2 * C2(s)), MULTIPLY(C2(d), C2(d))) + 2 * MUL… in opBlendSoftLight() local