[FFmpeg-devel] yuv420_bgr24_mmxext conversion taking significant time
cand at gmx.com
Sat Jun 8 09:20:07 EEST 2019
On Fri, 7 Jun 2019 08:38:35 -0700
Adrian Tong <adriantong1024 at gmail.com> wrote:
> I have a workload which spends a significant amount of time (~10%) in
> the yuv420_bgr24_mmxext function in FFMEPG.
> I looked at the assembly and profile and see MMX (64 bit) registers are
> used. I wonder whether we can have a SSE2 version which has a register bit
> width of 128.
> I am very interested in implementing such support if it is possible.
I'm not well versed in x86 vectors, so I can't say if SSE2 is enough or
some other SSE version would be needed, but certainly YUV to RGB
conversion can be done faster than with MMX. Please do send a patch.
More information about the ffmpeg-devel