Re: [FFmpeg-devel] [PATCH] swresample/resample: Properly empty MMX state

2022-06-12 Thread Andreas Rheinhardt
Andreas Rheinhardt: > There is a x86-32 MMXEXT implementation for resampling > planar 16bit data. multiple_resample() therefore calls > emms_c() if it thinks that this needed. And this is bad: > > 1. It is a maintenance nightmare because changes to the > x86 resample DSP code would necessitate cha

[FFmpeg-devel] [PATCH] swresample/resample: Properly empty MMX state

2022-06-11 Thread Andreas Rheinhardt
There is a x86-32 MMXEXT implementation for resampling planar 16bit data. multiple_resample() therefore calls emms_c() if it thinks that this needed. And this is bad: 1. It is a maintenance nightmare because changes to the x86 resample DSP code would necessitate changes to the check whether to cal