mannuray / libyuv

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

Add I444ToABGR color space support for SkCanvasVideoRenderer. #490

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Required for this function:
https://code.google.com/p/chromium/codesearch#chromium/src/media/blink/skcanvas_
video_renderer.cc&l=492

Original issue reported on code.google.com by fbarch...@chromium.org on 10 Sep 2015 at 9:59

GoogleCodeExporter commented 9 years ago
Implemented for Visual C, but unoptimized on arm and gcc linux.

LIBYUV_WIDTH=640 LIBYUV_HEIGHT=360 LIBYUV_REPEAT=4000 
out/Release/libyuv_unittest --gtest_filter=*I444ToA* | grep ms | sed 
's/\(.*(\)\([0-9]*\)\( ms)\)/\2 - \1\2\3/g' | sort -rn | sed 's/.*- \(
/g'
[       OK ] libyuvTest.I444ToABGR_Invert (3521 ms)
[       OK ] libyuvTest.I444ToABGR_Opt (3485 ms)
[       OK ] libyuvTest.I444ToABGR_Unaligned (3472 ms)
[       OK ] libyuvTest.I444ToABGR_Any (3459 ms)
[       OK ] libyuvTest.I444ToARGB_Any (433 ms)
[       OK ] libyuvTest.I444ToARGB_Unaligned (426 ms)
[       OK ] libyuvTest.I444ToARGB_Invert (419 ms)
[       OK ] libyuvTest.I444ToARGB_Opt (413 ms)
[----------] 8 tests from libyuvTest (15628 ms total)

Original comment by phthor...@gmail.com on 18 Sep 2015 at 6:59