Lines Matching refs:C3
346 static inline uint8_t C3(uint32_t c) in C3() function
379 auto c3 = (C3(s) > C3(d)) ? (C3(s) - C3(d)) : (C3(d) - C3(s)); in opBlendDifference()
388 auto c3 = std::min(255, C3(s) + C3(d) - std::min(255, (C3(s) * C3(d)) << 1)); in opBlendExclusion()
397 auto c3 = std::min(C3(s) + C3(d), 255); in opBlendAdd()
406 auto c3 = C3(s) + C3(d) - MULTIPLY(C3(s), C3(d)); in opBlendScreen()
415 auto c3 = MULTIPLY(C3(s), C3(d)); 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()
434 auto c3 = std::min(C3(s), C3(d)); in opBlendDarken()
443 auto c3 = std::max(C3(s), C3(d)); in opBlendLighten()
453 auto c3 = (C3(is) > 0) ? (C3(d) / C3(is)) : C3(d); in opBlendColorDodge()
463 auto c3 = 255 - ((C3(s) > 0) ? (C3(id) / C3(s)) : C3(id)); 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()
480 … std::min(255, MULTIPLY(255 - std::min(255, 2 * C3(s)), MULTIPLY(C3(d), C3(d))) + 2 * MULTIPLY(C3(… in opBlendSoftLight()