[FFmpeg-devel] [PATCH v2] libswscale/x86/yuv2rgb: Add missing EMMS

Ramiro Polla ramiro.polla at gmail.com
Fri Jul 5 11:46:36 EEST 2024


Hi,

On Thu, Jul 4, 2024 at 7:52 PM Mario Hros <k3x-devel at outlook.com> wrote:
> It is possible that removal would be faster, though I haven't benchmarked that. I think that Kodi only uses this function for UI textures, so nothing performance-intensive. My main point was that the current MMX code without EMMS is basically broken (it breaks fmod() function and other code using x87 FPU). So, either my patch or yours will fix my problem.

I ended up pushing the change to remove mmx/mmxext code, but thank you
for sending the patch. Don't hesitate to send more if you come across
other similar issues.

Ramiro


More information about the ffmpeg-devel mailing list