myrao / libyuv

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

Subtract images #179

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Like add and multiply, but subtract, for ARGB images.

Original issue reported on code.google.com by fbarch...@chromium.org on 24 Jan 2013 at 8:46

GoogleCodeExporter commented 9 years ago
Fixed in r551.
Supports Neon, GCC and Visual C
Optimized for aligned.  Unaligned uses C.
d:\src\libyuv\trunk>out\release\libyuv_unittest --gtest_filter=*Subtract*   | 
sed "s/\(.*(\)\([0-9]*\)\( ms)\)/\2 - \1\2\3/g"   | c:\cygwin\bin\sort -rn   | 
grep ms
16660 - [       OK ] libyuvTest.ARGBSubtract_Unaligned (16660 ms)
543 - [       OK ] libyuvTest.ARGBSubtract_Any (543 ms)
510 - [       OK ] libyuvTest.ARGBSubtract_Opt (510 ms)
510 - [       OK ] libyuvTest.ARGBSubtract_Invert (510 ms)
[==========] 4 tests from 1 test case ran. (18223 ms total)
[----------] 4 tests from libyuvTest (18223 ms total)
d:\src\libyuv\trunk>

Original comment by fbarch...@chromium.org on 25 Jan 2013 at 7:58