[FFmpeg-devel] [PATCH 3/4] swscale/x86/rgb2rgb: remove rgb24toyv12_mmxext
Ramiro Polla
ramiro.polla at gmail.com
Thu Aug 29 03:00:38 EEST 2024
On Wed, Aug 28, 2024 at 10:43 PM Ramiro Polla <ramiro.polla at gmail.com> wrote:
>
> The mmxext implementation is slower than the C version.
>
> rgb24toyv12_16_200_c: 14812.6 ( 1.00x)
> rgb24toyv12_16_200_mmxext: 17400.4 ( 0.85x)
> rgb24toyv12_128_60_c: 35616.9 ( 1.00x)
> rgb24toyv12_128_60_mmxext: 39610.4 ( 0.90x)
> rgb24toyv12_512_16_c: 37209.4 ( 1.00x)
> rgb24toyv12_512_16_mmxext: 41136.2 ( 0.90x)
> rgb24toyv12_1920_4_c: 34737.4 ( 1.00x)
> rgb24toyv12_1920_4_mmxext: 34818.9 ( 1.00x)
> rgb24toyv12_1920_4_negstride_c: 34855.2 ( 1.00x)
> rgb24toyv12_1920_4_negstride_mmxext: 34773.7 ( 1.00x)
> ---
> libswscale/x86/rgb2rgb.c | 207 ---------------------------------------
> 1 file changed, 207 deletions(-)
It's actually still faster under x86_32. New patch attached only
disables it for x86_64 instead of removing it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0003-swscale-x86-rgb2rgb-disable-rgb24toyv12_mmxext-fo.patch
Type: text/x-patch
Size: 1986 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240829/1ecc37d6/attachment.bin>
More information about the ffmpeg-devel
mailing list