[FFmpeg-devel] avcodec/huffyuvenc : try to call dsp with aligned data, and remove code duplication

Martin Vignali martin.vignali at gmail.com
Sun Nov 26 20:07:41 EET 2017


Hello,

in attach patchs

0001-avcodec-huffyuvenc-increase-scalar-loop-count
and
0003-avcodec-huffyuvenc-sub_left_prediction_bgr32-call-ds

like diff_bytes and diff_bytes16, have AVX2 version, increase the scalar
loop
to call the aligned version in most case



0002-avcodec-huffyuvenc-remove-code-duplication-in
remove some code duplication, for width < 32 and for the initial scalar loop


pass fate test for me (x86_64, mac os 10.12)

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-huffyuvenc-increase-scalar-loop-count.patch
Type: application/octet-stream
Size: 1161 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171126/2aaafeb7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-avcodec-huffyuvenc-remove-code-duplication-in.patch
Type: application/octet-stream
Size: 2642 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171126/2aaafeb7/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-avcodec-huffyuvenc-sub_left_prediction_bgr32-call-ds.patch
Type: application/octet-stream
Size: 1296 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171126/2aaafeb7/attachment-0002.obj>


More information about the ffmpeg-devel mailing list