> -----Original Message----- > From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of Ting > Fu > Sent: Sunday, January 19, 2020 11:51 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH V8 2/2] libswscale/x86/yuv2rgb: add ssse3 > version > > Tested using this command: > /ffmpeg -pix_fmt yuv420p -s 1920*1080 -i ArashRawYuv420.yuv \ -vcodec > rawvideo -s 1920*1080 -pix_fmt rgb24 -f null /dev/null > > The fps increase from 389 to 640 on Intel(R) Core(TM) i7-8700K CPU @ > 3.70GHz > > Signed-off-by: Ting Fu <ting...@intel.com> > --- > libswscale/x86/yuv2rgb.c | 38 +++++++++ > libswscale/x86/yuv_2_rgb.asm | 145 +++++++++++++++++++++++++++++++-- > -- > [...] > + > +INIT_XMM ssse3 > +yuv2rgb_fn yuv, rgb, 24 > +yuv2rgb_fn yuv, bgr, 24 > +yuv2rgb_fn yuv, rgb, 32 > +yuv2rgb_fn yuv, bgr, 32 > +yuv2rgb_fn yuva, rgb, 32 > +yuv2rgb_fn yuva, bgr, 32 > +yuv2rgb_fn yuv, rgb, 15 > +yuv2rgb_fn yuv, rgb, 16 > -- > 2.17.1
Hi all, Any further comment for this single patch? This version has only changed a little compared with V4 (reviewed by Paul), which is that the check of SIMD has been moved from the wrapper function (in libswscale/x86/yuv2rgb_template.c) to format check (in libswscale/x86/yuv2rgb.c). While assembly code is exactly same with the V4. Thank you, Ting Fu. > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org > with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".