[FFmpeg-devel] avcodec/utvideoenc : add SIMD (SSSE3) for sub_left_pred

Michael Niedermayer michael at niedermayer.cc
Fri Jan 12 05:22:00 EET 2018


On Thu, Jan 11, 2018 at 09:45:07PM +0100, Martin Vignali wrote:
> Hello,
> 
> in attach patch to add SIMD for sub_left_pred in utvideoenc
> 
> 001 : add SIMD for utvideoenc
> 002 : add checkasm for llviddspenc (diff bytes and sub_left_pred)
> 
> Encoding result :
> ./ffmpeg -i utvideo_file.avi -c:v utvideo -pred left res.avi
> 
> Without
> 
> frame= 3316 fps=194 q=-0.0 Lsize= 3613675kB time=00:02:12.64
> bitrate=223184.8kbits/s speed=7.74x
> 
> With
> frame= 3316 fps=206 q=-0.0 Lsize= 3613675kB time=00:02:12.64
> bitrate=223184.8kbits/s speed=8.24x
> 
> 
> Checkasm result :
> sub_left_predict_c: 2497.2
> sub_left_predict_ssse3: 455.7
> 
> 
> pass fate test for me (os X, x86_64)

this changes the output:
make -j12 && ./ffmpeg -i ~/videos/matrixbench_mpeg2.mpg -an -vcodec utvideo -t 1 -pix_fmt yuv420p -pred left  -t 1 test2.avi

-rw-r----- 1 michael michael 3744402 Jan 12 04:20 test2.avi
-rw-r----- 1 michael michael 3753358 Jan 12 04:19 test.avi


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180112/53f2c270/attachment.sig>


More information about the ffmpeg-devel mailing list