skufog / libyuv

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

RGB565ToI420_Neon is slow #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
sudo LIBYUV_REPEAT=1000 nice --5 ./libyuv_unittest --gtest_filter=*Opt | sed 
's/\(.*(\)\([0-9]*\)\( ms)\)/\2 - \1\2\3/g' | sort -rn | grep ms

NEON
18557 - [       OK ] libyuvTest.RGB565ToI420_Opt (18557 ms)
18544 - [       OK ] libyuvTest.ARGB1555ToI420_Opt (18544 ms)
16574 - [       OK ] libyuvTest.ARGB4444ToI420_Opt (16574 ms)

SSSE3
1099 - [       OK ] libyuvTest.ARGB1555ToI420_Opt (1099 ms)
1037 - [       OK ] libyuvTest.RGB565ToI420_Opt (1037 ms)
844 - [       OK ] libyuvTest.ARGB4444ToI420_Opt (844 ms)

Original issue reported on code.google.com by fbarch...@chromium.org on 4 Nov 2012 at 4:43

GoogleCodeExporter commented 9 years ago
RGB565 to ARGB is also slow:
RGB565ToARGB_Opt (8447 ms)
ARGB1555ToARGB_Opt (8277 ms)
ARGB4444ToARGB_Opt (6548 ms)

Original comment by fbarch...@chromium.org on 4 Nov 2012 at 4:42

GoogleCodeExporter commented 9 years ago
Fixed in r474
ARGB1555ToI420_Opt (6821 ms)
RGB565ToI420_Opt (6756 ms)
ARGB4444ToI420_Opt (6635 ms)
ARGB1555ToARGB_Opt (1873 ms)
RGB565ToARGB_Opt (1777 ms)
ARGB4444ToARGB_Opt (1709 ms)

Original comment by fbarch...@chromium.org on 6 Nov 2012 at 6:24