|
|
@ -42,7 +42,9 @@ BLEND_FUNC(or, sse2) |
|
|
|
BLEND_FUNC(phoenix, sse2) |
|
|
|
BLEND_FUNC(phoenix, sse2) |
|
|
|
BLEND_FUNC(subtract, sse2) |
|
|
|
BLEND_FUNC(subtract, sse2) |
|
|
|
BLEND_FUNC(xor, sse2) |
|
|
|
BLEND_FUNC(xor, sse2) |
|
|
|
|
|
|
|
BLEND_FUNC(difference, sse2) |
|
|
|
BLEND_FUNC(difference, ssse3) |
|
|
|
BLEND_FUNC(difference, ssse3) |
|
|
|
|
|
|
|
BLEND_FUNC(negation, sse2) |
|
|
|
BLEND_FUNC(negation, ssse3) |
|
|
|
BLEND_FUNC(negation, ssse3) |
|
|
|
|
|
|
|
|
|
|
|
av_cold void ff_blend_init_x86(FilterParams *param, int is_16bit) |
|
|
|
av_cold void ff_blend_init_x86(FilterParams *param, int is_16bit) |
|
|
@ -63,6 +65,8 @@ av_cold void ff_blend_init_x86(FilterParams *param, int is_16bit) |
|
|
|
case BLEND_PHOENIX: param->blend = ff_blend_phoenix_sse2; break; |
|
|
|
case BLEND_PHOENIX: param->blend = ff_blend_phoenix_sse2; break; |
|
|
|
case BLEND_SUBTRACT: param->blend = ff_blend_subtract_sse2; break; |
|
|
|
case BLEND_SUBTRACT: param->blend = ff_blend_subtract_sse2; break; |
|
|
|
case BLEND_XOR: param->blend = ff_blend_xor_sse2; break; |
|
|
|
case BLEND_XOR: param->blend = ff_blend_xor_sse2; break; |
|
|
|
|
|
|
|
case BLEND_DIFFERENCE: param->blend = ff_blend_difference_sse2; break; |
|
|
|
|
|
|
|
case BLEND_NEGATION: param->blend = ff_blend_negation_sse2; break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (EXTERNAL_SSSE3(cpu_flags) && param->opacity == 1 && !is_16bit) { |
|
|
|
if (EXTERNAL_SSSE3(cpu_flags) && param->opacity == 1 && !is_16bit) { |
|
|
|