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

Martin Vignali martin.vignali at gmail.com
Sat Dec 2 19:59:09 EET 2017


>
> requiring FFMIN() to be evaluated per iteration could be slower
> if the compiler fails to factor it out
>
>
>
> New patchs in attach :

001 : unchanged
002 : add "int min_width = FFMIN(w, 32)" at the start of the func
003 : add "int min_width = FFMIN(w, 8)" at the start of the func


Pass fate test for me.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-huffyuvenc-increase-scalar-loop-count.patch
Type: application/octet-stream
Size: 1160 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171202/bbb324a8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-avcodec-huffyuvenc-remove-code-duplication-in.patch
Type: application/octet-stream
Size: 2750 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171202/bbb324a8/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: 1345 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171202/bbb324a8/attachment-0002.obj>


More information about the ffmpeg-devel mailing list