katepanping / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

C match SIMD exactly #447

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently C and SIMD dont exactly match for some functions/cpus.
Functions that do odd width use a combination of C and SIMD and can show a 
subtle artifact.   See this chromoting bug 
https://code.google.com/p/chromium/issues/detail?id=493914

For this use case, its important that C and SIMD match.
Neither needs to be accurate, and different platforms can be different.  But 
the C needs to exactly match the SIMD.

Reduce tolerance in unittests to zero.
Change C to mimic SIMD, even if performance is substantially worse for C.

Original issue reported on code.google.com by fbarch...@chromium.org on 3 Jun 2015 at 10:37