[FFmpeg-devel] [PATCH V8 2/2] libswscale/x86/yuv2rgb: add ssse3 version

Fu, Ting ting.fu at intel.com
Mon Feb 10 11:53:41 EET 2020



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Paul
> B Mahol
> Sent: Monday, February 10, 2020 04:56 PM
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH V8 2/2] libswscale/x86/yuv2rgb: add
> ssse3 version
> 
> Does this pass fate?
> If yes i will apply.

Hi Paul,

It has passed the fate.

Thank you,
Ting Fu

> 
> On 2/10/20, Fu, Ting <ting.fu at intel.com> wrote:
> >
> >
> >> -----Original Message-----
> >> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> >> Ting Fu
> >> Sent: Sunday, January 19, 2020 11:51 AM
> >> To: ffmpeg-devel at 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.fu at 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 at ffmpeg.org
> >> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >>
> >> To unsubscribe, visit link above, or email
> >> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email ffmpeg-devel-request at ffmpeg.org
> with subject "unsubscribe".


More information about the ffmpeg-devel mailing list