Simd icon indicating copy to clipboard operation
Simd copied to clipboard

Legacy removing

Open ermig1979 opened this issue 3 years ago • 4 comments

Simd is being developing about 12 years. And some of its components are not actual now. I think that I can remove some of functionality that are not updated for many years. This list is not full and may be updated:

1. Support of PPC architecture. 
2. Data tests (they were developed for PPC porting).
3. AVX-512F optimizations (merge them to AVX-512BW optimizations). 
4. SSE2 optimizations (merge them to SSE4.1 optimizations). 
5. AVX optimizations (merge them to AVX2 optimizations). 
6. EdgeBackground functions.
7. SvmSumLinear function.
8. Interference functions.

ermig1979 avatar Jun 29 '22 11:06 ermig1979

I have no problems with this. Another way of cleaning up is to remove YUV420P functions if there is a similar YUV422P version.

mikeversteeg avatar Jul 04 '22 08:07 mikeversteeg

I want to note that YUV420P is not the same as YUV422P.

ermig1979 avatar Jul 04 '22 09:07 ermig1979

Can't you convert 422 to 420 by doubling the U & V stride?

mikeversteeg avatar Jul 04 '22 09:07 mikeversteeg

Oh no, that's to make a 420 from a 422. What we need here is to tell stride to increment at half speed. The rest of the code can remain the same. I'd definitely want 422 supported.

mikeversteeg avatar Jul 04 '22 20:07 mikeversteeg