BURN 316 libavfilter/vf_blend.c DEFINE_BLEND8(burn, BURN(A, B)) BURN 326 libavfilter/vf_blend.c DEFINE_BLEND8(vividlight, (A < 128) ? BURN(2 * A, B) : DODGE(2 * (A - 128), B)) BURN 331 libavfilter/vf_blend.c #undef BURN BURN 336 libavfilter/vf_blend.c #define BURN(a, b) (((a) == 0) ? (a) : FFMAX(0, 65535 - ((65535 - (b)) << 16) / (a))) BURN 359 libavfilter/vf_blend.c DEFINE_BLEND16(burn, BURN(A, B), 16) BURN 369 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 32768) ? BURN(2 * A, B) : DODGE(2 * (A - 32768), B), 16) BURN 374 libavfilter/vf_blend.c #undef BURN BURN 379 libavfilter/vf_blend.c #define BURN(a, b) (((a) == 0) ? (a) : FFMAX(0, 1023 - ((1023 - (b)) << 10) / (a))) BURN 402 libavfilter/vf_blend.c DEFINE_BLEND16(burn, BURN(A, B), 10) BURN 412 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 512) ? BURN(2 * A, B) : DODGE(2 * (A - 512), B), 10) BURN 417 libavfilter/vf_blend.c #undef BURN BURN 422 libavfilter/vf_blend.c #define BURN(a, b) (((a) == 0) ? (a) : FFMAX(0, 4095 - ((4095 - (b)) << 12) / (a))) BURN 445 libavfilter/vf_blend.c DEFINE_BLEND16(burn, BURN(A, B), 12) BURN 455 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 2048) ? BURN(2 * A, B) : DODGE(2 * (A - 2048), B), 12) BURN 460 libavfilter/vf_blend.c #undef BURN BURN 465 libavfilter/vf_blend.c #define BURN(a, b) (((a) == 0) ? (a) : FFMAX(0, 511 - ((511 - (b)) << 9) / (a))) BURN 488 libavfilter/vf_blend.c DEFINE_BLEND16(burn, BURN(A, B), 9) BURN 498 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 256) ? BURN(2 * A, B) : DODGE(2 * (A - 256), B), 9) BURN 503 libavfilter/vf_blend.c #undef BURN BURN 508 libavfilter/vf_blend.c #define BURN(a, b) (((a) <= 0.0) ? (a) : FFMAX(0.0, 1.0 - (1.0 - (b)) / (a))) BURN 531 libavfilter/vf_blend.c DEFINE_BLEND32(burn, BURN(A, B), 32) BURN 541 libavfilter/vf_blend.c DEFINE_BLEND32(vividlight, (A < 0.5) ? BURN(2 * A, B) : DODGE(2 * (A - 0.5), B), 32)