DEFINE_BLEND16    339 libavfilter/vf_blend.c DEFINE_BLEND16(addition,   FFMIN(65535, A + B), 16)
DEFINE_BLEND16    340 libavfilter/vf_blend.c DEFINE_BLEND16(grainmerge, av_clip_uint16(A + B - 32768), 16)
DEFINE_BLEND16    341 libavfilter/vf_blend.c DEFINE_BLEND16(average,    (A + B) / 2, 16)
DEFINE_BLEND16    342 libavfilter/vf_blend.c DEFINE_BLEND16(subtract,   FFMAX(0, A - B), 16)
DEFINE_BLEND16    343 libavfilter/vf_blend.c DEFINE_BLEND16(multiply,   MULTIPLY(1, A, B), 16)
DEFINE_BLEND16    344 libavfilter/vf_blend.c DEFINE_BLEND16(multiply128, av_clip_uint16((A - 32768) * B / 8192. + 32768), 16)
DEFINE_BLEND16    345 libavfilter/vf_blend.c DEFINE_BLEND16(negation,   65535 - FFABS(65535 - A - B), 16)
DEFINE_BLEND16    346 libavfilter/vf_blend.c DEFINE_BLEND16(extremity,  FFABS(65535 - A - B), 16)
DEFINE_BLEND16    347 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 16)
DEFINE_BLEND16    348 libavfilter/vf_blend.c DEFINE_BLEND16(grainextract, av_clip_uint16(32768 + A - B), 16)
DEFINE_BLEND16    349 libavfilter/vf_blend.c DEFINE_BLEND16(screen,     SCREEN(1, A, B), 16)
DEFINE_BLEND16    350 libavfilter/vf_blend.c DEFINE_BLEND16(overlay,    (A < 32768) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 16)
DEFINE_BLEND16    351 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight,  (B < 32768) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 16)
DEFINE_BLEND16    352 libavfilter/vf_blend.c DEFINE_BLEND16(hardmix,    (A < (65535 - B)) ? 0: 65535, 16)
DEFINE_BLEND16    353 libavfilter/vf_blend.c DEFINE_BLEND16(heat,       (A == 0) ? 0 : 65535 - FFMIN(((65535 - B) * (65535 - B)) / A, 65535), 16)
DEFINE_BLEND16    354 libavfilter/vf_blend.c DEFINE_BLEND16(freeze,     (B == 0) ? 0 : 65535 - FFMIN(((65535 - A) * (65535 - A)) / B, 65535), 16)
DEFINE_BLEND16    355 libavfilter/vf_blend.c DEFINE_BLEND16(darken,     FFMIN(A, B), 16)
DEFINE_BLEND16    356 libavfilter/vf_blend.c DEFINE_BLEND16(lighten,    FFMAX(A, B), 16)
DEFINE_BLEND16    357 libavfilter/vf_blend.c DEFINE_BLEND16(divide,     av_clip_uint16(B == 0 ? 65535 : 65535 * A / B), 16)
DEFINE_BLEND16    358 libavfilter/vf_blend.c DEFINE_BLEND16(dodge,      DODGE(A, B), 16)
DEFINE_BLEND16    359 libavfilter/vf_blend.c DEFINE_BLEND16(burn,       BURN(A, B), 16)
DEFINE_BLEND16    360 libavfilter/vf_blend.c DEFINE_BLEND16(softlight,  (A > 32767) ? B + (65535 - B) * (A - 32767.5) / 32767.5 * (0.5 - fabs(B - 32767.5) / 65535): B - B * ((32767.5 - A) / 32767.5) * (0.5 - fabs(B - 32767.5)/65535), 16)
DEFINE_BLEND16    361 libavfilter/vf_blend.c DEFINE_BLEND16(exclusion,  A + B - 2 * A * B / 65535, 16)
DEFINE_BLEND16    362 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 32768) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 32768)), 16)
DEFINE_BLEND16    363 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 65535, 16)
DEFINE_BLEND16    364 libavfilter/vf_blend.c DEFINE_BLEND16(reflect,    (B == 65535) ? B : FFMIN(65535, (A * A / (65535 - B))), 16)
DEFINE_BLEND16    365 libavfilter/vf_blend.c DEFINE_BLEND16(glow,       (A == 65535) ? A : FFMIN(65535, (B * B / (65535 - A))), 16)
DEFINE_BLEND16    366 libavfilter/vf_blend.c DEFINE_BLEND16(and,        A & B, 16)
DEFINE_BLEND16    367 libavfilter/vf_blend.c DEFINE_BLEND16(or,         A | B, 16)
DEFINE_BLEND16    368 libavfilter/vf_blend.c DEFINE_BLEND16(xor,        A ^ B, 16)
DEFINE_BLEND16    369 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 32768) ? BURN(2 * A, B) : DODGE(2 * (A - 32768), B), 16)
DEFINE_BLEND16    370 libavfilter/vf_blend.c DEFINE_BLEND16(linearlight,av_clip_uint16((B < 32768) ? B + 2 * A - 65535 : B + 2 * (A - 32768)), 16)
DEFINE_BLEND16    382 libavfilter/vf_blend.c DEFINE_BLEND16(addition,   FFMIN(1023, A + B), 10)
DEFINE_BLEND16    383 libavfilter/vf_blend.c DEFINE_BLEND16(grainmerge, (int)av_clip_uintp2(A + B - 512, 10), 10)
DEFINE_BLEND16    384 libavfilter/vf_blend.c DEFINE_BLEND16(average,    (A + B) / 2, 10)
DEFINE_BLEND16    385 libavfilter/vf_blend.c DEFINE_BLEND16(subtract,   FFMAX(0, A - B), 10)
DEFINE_BLEND16    386 libavfilter/vf_blend.c DEFINE_BLEND16(multiply,   MULTIPLY(1, A, B), 10)
DEFINE_BLEND16    387 libavfilter/vf_blend.c DEFINE_BLEND16(multiply128, (int)av_clip_uintp2((A - 512) * B / 128. + 512, 10), 10)
DEFINE_BLEND16    388 libavfilter/vf_blend.c DEFINE_BLEND16(negation,   1023 - FFABS(1023 - A - B), 10)
DEFINE_BLEND16    389 libavfilter/vf_blend.c DEFINE_BLEND16(extremity,  FFABS(1023 - A - B), 10)
DEFINE_BLEND16    390 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 10)
DEFINE_BLEND16    391 libavfilter/vf_blend.c DEFINE_BLEND16(grainextract, (int)av_clip_uintp2(512 + A - B, 10), 10)
DEFINE_BLEND16    392 libavfilter/vf_blend.c DEFINE_BLEND16(screen,     SCREEN(1, A, B), 10)
DEFINE_BLEND16    393 libavfilter/vf_blend.c DEFINE_BLEND16(overlay,    (A < 512) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 10)
DEFINE_BLEND16    394 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight,  (B < 512) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 10)
DEFINE_BLEND16    395 libavfilter/vf_blend.c DEFINE_BLEND16(hardmix,    (A < (1023 - B)) ? 0: 1023, 10)
DEFINE_BLEND16    396 libavfilter/vf_blend.c DEFINE_BLEND16(heat,       (A == 0) ? 0 : 1023 - FFMIN(((1023 - B) * (1023 - B)) / A, 1023), 10)
DEFINE_BLEND16    397 libavfilter/vf_blend.c DEFINE_BLEND16(freeze,     (B == 0) ? 0 : 1023 - FFMIN(((1023 - A) * (1023 - A)) / B, 1023), 10)
DEFINE_BLEND16    398 libavfilter/vf_blend.c DEFINE_BLEND16(darken,     FFMIN(A, B), 10)
DEFINE_BLEND16    399 libavfilter/vf_blend.c DEFINE_BLEND16(lighten,    FFMAX(A, B), 10)
DEFINE_BLEND16    400 libavfilter/vf_blend.c DEFINE_BLEND16(divide,     (int)av_clip_uintp2(B == 0 ? 1023 : 1023 * A / B, 10), 10)
DEFINE_BLEND16    401 libavfilter/vf_blend.c DEFINE_BLEND16(dodge,      DODGE(A, B), 10)
DEFINE_BLEND16    402 libavfilter/vf_blend.c DEFINE_BLEND16(burn,       BURN(A, B), 10)
DEFINE_BLEND16    403 libavfilter/vf_blend.c DEFINE_BLEND16(softlight,  (A > 511) ? B + (1023 - B) * (A - 511.5) / 511.5 * (0.5 - fabs(B - 511.5) / 1023): B - B * ((511.5 - A) / 511.5) * (0.5 - fabs(B - 511.5)/1023), 10)
DEFINE_BLEND16    404 libavfilter/vf_blend.c DEFINE_BLEND16(exclusion,  A + B - 2 * A * B / 1023, 10)
DEFINE_BLEND16    405 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 512) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 512)), 10)
DEFINE_BLEND16    406 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 1023, 10)
DEFINE_BLEND16    407 libavfilter/vf_blend.c DEFINE_BLEND16(reflect,    (B == 1023) ? B : FFMIN(1023, (A * A / (1023 - B))), 10)
DEFINE_BLEND16    408 libavfilter/vf_blend.c DEFINE_BLEND16(glow,       (A == 1023) ? A : FFMIN(1023, (B * B / (1023 - A))), 10)
DEFINE_BLEND16    409 libavfilter/vf_blend.c DEFINE_BLEND16(and,        A & B, 10)
DEFINE_BLEND16    410 libavfilter/vf_blend.c DEFINE_BLEND16(or,         A | B, 10)
DEFINE_BLEND16    411 libavfilter/vf_blend.c DEFINE_BLEND16(xor,        A ^ B, 10)
DEFINE_BLEND16    412 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 512) ? BURN(2 * A, B) : DODGE(2 * (A - 512), B), 10)
DEFINE_BLEND16    413 libavfilter/vf_blend.c DEFINE_BLEND16(linearlight,(int)av_clip_uintp2((B < 512) ? B + 2 * A - 1023 : B + 2 * (A - 512), 10), 10)
DEFINE_BLEND16    425 libavfilter/vf_blend.c DEFINE_BLEND16(addition,   FFMIN(4095, A + B), 12)
DEFINE_BLEND16    426 libavfilter/vf_blend.c DEFINE_BLEND16(grainmerge, (int)av_clip_uintp2(A + B - 2048, 12), 12)
DEFINE_BLEND16    427 libavfilter/vf_blend.c DEFINE_BLEND16(average,    (A + B) / 2, 12)
DEFINE_BLEND16    428 libavfilter/vf_blend.c DEFINE_BLEND16(subtract,   FFMAX(0, A - B), 12)
DEFINE_BLEND16    429 libavfilter/vf_blend.c DEFINE_BLEND16(multiply,   MULTIPLY(1, A, B), 12)
DEFINE_BLEND16    430 libavfilter/vf_blend.c DEFINE_BLEND16(multiply128, (int)av_clip_uintp2((A - 2048) * B / 512. + 2048, 12), 12)
DEFINE_BLEND16    431 libavfilter/vf_blend.c DEFINE_BLEND16(negation,   4095 - FFABS(4095 - A - B), 12)
DEFINE_BLEND16    432 libavfilter/vf_blend.c DEFINE_BLEND16(extremity,  FFABS(4095 - A - B), 12)
DEFINE_BLEND16    433 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 12)
DEFINE_BLEND16    434 libavfilter/vf_blend.c DEFINE_BLEND16(grainextract, (int)av_clip_uintp2(2048 + A - B, 12), 12)
DEFINE_BLEND16    435 libavfilter/vf_blend.c DEFINE_BLEND16(screen,     SCREEN(1, A, B), 12)
DEFINE_BLEND16    436 libavfilter/vf_blend.c DEFINE_BLEND16(overlay,    (A < 2048) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 12)
DEFINE_BLEND16    437 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight,  (B < 2048) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 12)
DEFINE_BLEND16    438 libavfilter/vf_blend.c DEFINE_BLEND16(hardmix,    (A < (4095 - B)) ? 0: 4095, 12)
DEFINE_BLEND16    439 libavfilter/vf_blend.c DEFINE_BLEND16(heat,       (A == 0) ? 0 : 4095 - FFMIN(((4095 - B) * (4095 - B)) / A, 4095), 12)
DEFINE_BLEND16    440 libavfilter/vf_blend.c DEFINE_BLEND16(freeze,     (B == 0) ? 0 : 4095 - FFMIN(((4095 - A) * (4095 - A)) / B, 4095), 12)
DEFINE_BLEND16    441 libavfilter/vf_blend.c DEFINE_BLEND16(darken,     FFMIN(A, B), 12)
DEFINE_BLEND16    442 libavfilter/vf_blend.c DEFINE_BLEND16(lighten,    FFMAX(A, B), 12)
DEFINE_BLEND16    443 libavfilter/vf_blend.c DEFINE_BLEND16(divide,     (int)av_clip_uintp2(B == 0 ? 4095 : 4095 * A / B, 12), 12)
DEFINE_BLEND16    444 libavfilter/vf_blend.c DEFINE_BLEND16(dodge,      DODGE(A, B), 12)
DEFINE_BLEND16    445 libavfilter/vf_blend.c DEFINE_BLEND16(burn,       BURN(A, B), 12)
DEFINE_BLEND16    446 libavfilter/vf_blend.c DEFINE_BLEND16(softlight,  (A > 2047) ? B + (4095 - B) * (A - 2047.5) / 2047.5 * (0.5 - fabs(B - 2047.5) / 4095): B - B * ((2047.5 - A) / 2047.5) * (0.5 - fabs(B - 2047.5)/4095), 12)
DEFINE_BLEND16    447 libavfilter/vf_blend.c DEFINE_BLEND16(exclusion,  A + B - 2 * A * B / 4095, 12)
DEFINE_BLEND16    448 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 2048) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 2048)), 12)
DEFINE_BLEND16    449 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 4095, 12)
DEFINE_BLEND16    450 libavfilter/vf_blend.c DEFINE_BLEND16(reflect,    (B == 4095) ? B : FFMIN(4095, (A * A / (4095 - B))), 12)
DEFINE_BLEND16    451 libavfilter/vf_blend.c DEFINE_BLEND16(glow,       (A == 4095) ? A : FFMIN(4095, (B * B / (4095 - A))), 12)
DEFINE_BLEND16    452 libavfilter/vf_blend.c DEFINE_BLEND16(and,        A & B, 12)
DEFINE_BLEND16    453 libavfilter/vf_blend.c DEFINE_BLEND16(or,         A | B, 12)
DEFINE_BLEND16    454 libavfilter/vf_blend.c DEFINE_BLEND16(xor,        A ^ B, 12)
DEFINE_BLEND16    455 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 2048) ? BURN(2 * A, B) : DODGE(2 * (A - 2048), B), 12)
DEFINE_BLEND16    456 libavfilter/vf_blend.c DEFINE_BLEND16(linearlight,(int)av_clip_uintp2((B < 2048) ? B + 2 * A - 4095 : B + 2 * (A - 2048), 12), 12)
DEFINE_BLEND16    468 libavfilter/vf_blend.c DEFINE_BLEND16(addition,   FFMIN(511, A + B), 9)
DEFINE_BLEND16    469 libavfilter/vf_blend.c DEFINE_BLEND16(grainmerge, (int)av_clip_uintp2(A + B - 256, 9), 9)
DEFINE_BLEND16    470 libavfilter/vf_blend.c DEFINE_BLEND16(average,    (A + B) / 2, 9)
DEFINE_BLEND16    471 libavfilter/vf_blend.c DEFINE_BLEND16(subtract,   FFMAX(0, A - B), 9)
DEFINE_BLEND16    472 libavfilter/vf_blend.c DEFINE_BLEND16(multiply,   MULTIPLY(1, A, B), 9)
DEFINE_BLEND16    473 libavfilter/vf_blend.c DEFINE_BLEND16(multiply128, (int)av_clip_uintp2((A - 256) * B / 64. + 256, 9), 9)
DEFINE_BLEND16    474 libavfilter/vf_blend.c DEFINE_BLEND16(negation,   511 - FFABS(511 - A - B), 9)
DEFINE_BLEND16    475 libavfilter/vf_blend.c DEFINE_BLEND16(extremity,  FFABS(511 - A - B), 9)
DEFINE_BLEND16    476 libavfilter/vf_blend.c DEFINE_BLEND16(difference, FFABS(A - B), 9)
DEFINE_BLEND16    477 libavfilter/vf_blend.c DEFINE_BLEND16(grainextract, (int)av_clip_uintp2(256 + A - B, 9), 9)
DEFINE_BLEND16    478 libavfilter/vf_blend.c DEFINE_BLEND16(screen,     SCREEN(1, A, B), 9)
DEFINE_BLEND16    479 libavfilter/vf_blend.c DEFINE_BLEND16(overlay,    (A < 256) ? MULTIPLY(2, A, B) : SCREEN(2, A, B), 9)
DEFINE_BLEND16    480 libavfilter/vf_blend.c DEFINE_BLEND16(hardlight,  (B < 256) ? MULTIPLY(2, B, A) : SCREEN(2, B, A), 9)
DEFINE_BLEND16    481 libavfilter/vf_blend.c DEFINE_BLEND16(hardmix,    (A < (511 - B)) ? 0: 511, 9)
DEFINE_BLEND16    482 libavfilter/vf_blend.c DEFINE_BLEND16(heat,       (A == 0) ? 0 : 511 - FFMIN(((511 - B) * (511 - B)) / A, 511), 9)
DEFINE_BLEND16    483 libavfilter/vf_blend.c DEFINE_BLEND16(freeze,     (B == 0) ? 0 : 511 - FFMIN(((511 - A) * (511 - A)) / B, 511), 9)
DEFINE_BLEND16    484 libavfilter/vf_blend.c DEFINE_BLEND16(darken,     FFMIN(A, B), 9)
DEFINE_BLEND16    485 libavfilter/vf_blend.c DEFINE_BLEND16(lighten,    FFMAX(A, B), 9)
DEFINE_BLEND16    486 libavfilter/vf_blend.c DEFINE_BLEND16(divide,     (int)av_clip_uintp2(B == 0 ? 511 : 511 * A / B, 9), 9)
DEFINE_BLEND16    487 libavfilter/vf_blend.c DEFINE_BLEND16(dodge,      DODGE(A, B), 9)
DEFINE_BLEND16    488 libavfilter/vf_blend.c DEFINE_BLEND16(burn,       BURN(A, B), 9)
DEFINE_BLEND16    489 libavfilter/vf_blend.c DEFINE_BLEND16(softlight,  (A > 511) ? B + (511 - B) * (A - 511.5) / 511.5 * (0.5 - fabs(B - 511.5) / 511): B - B * ((511.5 - A) / 511.5) * (0.5 - fabs(B - 511.5)/511), 9)
DEFINE_BLEND16    490 libavfilter/vf_blend.c DEFINE_BLEND16(exclusion,  A + B - 2 * A * B / 511, 9)
DEFINE_BLEND16    491 libavfilter/vf_blend.c DEFINE_BLEND16(pinlight,   (B < 256) ? FFMIN(A, 2 * B) : FFMAX(A, 2 * (B - 256)), 9)
DEFINE_BLEND16    492 libavfilter/vf_blend.c DEFINE_BLEND16(phoenix,    FFMIN(A, B) - FFMAX(A, B) + 511, 9)
DEFINE_BLEND16    493 libavfilter/vf_blend.c DEFINE_BLEND16(reflect,    (B == 511) ? B : FFMIN(511, (A * A / (511 - B))), 9)
DEFINE_BLEND16    494 libavfilter/vf_blend.c DEFINE_BLEND16(glow,       (A == 511) ? A : FFMIN(511, (B * B / (511 - A))), 9)
DEFINE_BLEND16    495 libavfilter/vf_blend.c DEFINE_BLEND16(and,        A & B, 9)
DEFINE_BLEND16    496 libavfilter/vf_blend.c DEFINE_BLEND16(or,         A | B, 9)
DEFINE_BLEND16    497 libavfilter/vf_blend.c DEFINE_BLEND16(xor,        A ^ B, 9)
DEFINE_BLEND16    498 libavfilter/vf_blend.c DEFINE_BLEND16(vividlight, (A < 256) ? BURN(2 * A, B) : DODGE(2 * (A - 256), B), 9)
DEFINE_BLEND16    499 libavfilter/vf_blend.c DEFINE_BLEND16(linearlight,(int)av_clip_uintp2((B < 256) ? B + 2 * A - 511 : B + 2 * (A - 256), 9), 9)