SCREEN 306 libavfilter/vf_blend.c DEFINE_BLEND8(screen, SCREEN(1, A, B)) SCREEN 307 libavfilter/vf_blend.c DEFINE_BLEND8(overlay, (A < 128) ? MULTIPLY(2, A, B) : SCREEN(2, A, B)) SCREEN 308 libavfilter/vf_blend.c DEFINE_BLEND8(hardlight, (B < 128) ? MULTIPLY(2, B, A) : SCREEN(2, B, A)) SCREEN 330 libavfilter/vf_blend.c #undef SCREEN SCREEN 335 libavfilter/vf_blend.c #define SCREEN(x, a, b) (65535 - (x) * ((65535 - (a)) * (65535 - (b)) / 65535)) SCREEN 349 libavfilter/vf_blend.c DEFINE_BLEND16(screen, SCREEN(1, A, B), 16) SCREEN 350 libavfilter/vf_blend.c DEFINE_BLEND16(overlay, (A < 32768) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 16) SCREEN 351 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight, (B < 32768) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 16) SCREEN 373 libavfilter/vf_blend.c #undef SCREEN SCREEN 378 libavfilter/vf_blend.c #define SCREEN(x, a, b) (1023 - (x) * ((1023 - (a)) * (1023 - (b)) / 1023)) SCREEN 392 libavfilter/vf_blend.c DEFINE_BLEND16(screen, SCREEN(1, A, B), 10) SCREEN 393 libavfilter/vf_blend.c DEFINE_BLEND16(overlay, (A < 512) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 10) SCREEN 394 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight, (B < 512) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 10) SCREEN 416 libavfilter/vf_blend.c #undef SCREEN SCREEN 421 libavfilter/vf_blend.c #define SCREEN(x, a, b) (4095 - (x) * ((4095 - (a)) * (4095 - (b)) / 4095)) SCREEN 435 libavfilter/vf_blend.c DEFINE_BLEND16(screen, SCREEN(1, A, B), 12) SCREEN 436 libavfilter/vf_blend.c DEFINE_BLEND16(overlay, (A < 2048) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 12) SCREEN 437 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight, (B < 2048) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 12) SCREEN 459 libavfilter/vf_blend.c #undef SCREEN SCREEN 464 libavfilter/vf_blend.c #define SCREEN(x, a, b) (511 - (x) * ((511 - (a)) * (511 - (b)) / 511)) SCREEN 478 libavfilter/vf_blend.c DEFINE_BLEND16(screen, SCREEN(1, A, B), 9) SCREEN 479 libavfilter/vf_blend.c DEFINE_BLEND16(overlay, (A < 256) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 9) SCREEN 480 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight, (B < 256) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 9) SCREEN 502 libavfilter/vf_blend.c #undef SCREEN SCREEN 507 libavfilter/vf_blend.c #define SCREEN(x, a, b) (1.0 - (x) * ((1.0 - (a)) * (1.0 - (b)) / 1.0)) SCREEN 521 libavfilter/vf_blend.c DEFINE_BLEND32(screen, SCREEN(1, A, B), 32) SCREEN 522 libavfilter/vf_blend.c DEFINE_BLEND32(overlay, (A < 0.5) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 32) SCREEN 523 libavfilter/vf_blend.c DEFINE_BLEND32(hardlight, (B < 0.5) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 32)