[FFmpeg-devel] avfilter/vf_blend : add 16 bit simd version for basic blend mode

Martin Vignali martin.vignali at gmail.com
Tue Feb 6 19:25:21 EET 2018


Hello,

Patchs in attach add SIMD (SSE and AVX2), for some blending mode of
vf_blend in 16 bit

Checkasm result :
addition_16_c: 7921.6
addition_16_sse2: 485.1
addition_16_avx2: 280.6
and_16_c: 6821.1
and_16_sse2: 443.4
and_16_avx2: 429.4
darken_16_c: 8454.6
darken_16_sse4: 492.9
darken_16_avx2: 288.9
difference_16_c: 8146.6
difference_16_sse4: 969.1
difference_16_avx2: 546.1
lighten_16_c: 8422.9
lighten_16_sse4: 440.4
lighten_16_avx2: 220.9
or_16_c: 6796.4
or_16_sse2: 489.4
or_16_avx2: 235.6
phoenix_16_c: 22790.9
phoenix_16_sse4: 586.6
phoenix_16_avx2: 434.1
subtract_16_c: 7363.6
subtract_16_sse2: 439.9
subtract_16_avx2: 418.6
xor_16_c: 7354.6
xor_16_sse2: 446.4
xor_16_avx2: 405.6


Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-avfilter-x86-vf_blend-reorganize-init-in-order-to-ad.patch
Type: application/octet-stream
Size: 2199 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180206/402c89e2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-avfilter-x86-vf_blend-indent.patch
Type: application/octet-stream
Size: 7811 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180206/402c89e2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-avfilter-x86-vf_blend-add-16-bit-version-for-BLEND_S.patch
Type: application/octet-stream
Size: 4860 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180206/402c89e2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-checkasm-vf_blend-add-test-for-blend_simple-16bit-fu.patch
Type: application/octet-stream
Size: 1026 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180206/402c89e2/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-avfilter-x86-vf_blend-add-16-bit-version-for-phoenix.patch
Type: application/octet-stream
Size: 5600 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180206/402c89e2/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-checkasm-vf_blend-add-test-for-phoenix_16-and-differ.patch
Type: application/octet-stream
Size: 1017 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180206/402c89e2/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-checkasm-vf_blend-add-depth-param-in-order-to-add-te.patch
Type: application/octet-stream
Size: 5776 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180206/402c89e2/attachment-0006.obj>


More information about the ffmpeg-devel mailing list