• Frank Barchard's avatar
    H010ToAR30 optimized to 2 step conversion · 9d2cd6a3
    Frank Barchard authored
    Previously H010ToAR30 was done in a 3 step conversion:
    H010ToH420, H420ToARGB, ARGBToAR30.
    This CL merges the first 2 steps into H010ToARGB, to
    improve performance.
    Caveat - only 10 bit YUV is supported at this time.
    Previously the low level code supported different numbers
    of bits - 9, 10, 12 or 16.
    
    Was 3 step conversion:
    LibYUVConvertTest.H010ToAR30_Any (1263 ms)
    LibYUVConvertTest.H010ToAR30_Unaligned (951 ms)
    LibYUVConvertTest.H010ToAR30_Invert (913 ms)
    LibYUVConvertTest.H010ToAR30_Opt (901 ms)
    
    Now 2 step conversion:
    LibYUVConvertTest.H010ToAR30_Any (853 ms)
    LibYUVConvertTest.H010ToAR30_Unaligned (811 ms)
    LibYUVConvertTest.H010ToAR30_Invert (781 ms)
    LibYUVConvertTest.H010ToAR30_Opt (755 ms)
    
    Bug: libyuv:751
    Test: LibYUVConvertTest.H010ToAR30_Opt
    Change-Id: Ica7574040401cd57145a4827acdf3c0e58346a2a
    Reviewed-on: https://chromium-review.googlesource.com/853288Reviewed-by: 's avatarFrank Barchard <fbarchard@chromium.org>
    Reviewed-by: 's avatarMiguel Casas <mcasas@chromium.org>
    9d2cd6a3
Name
Last commit
Last update
build_overrides Loading commit data...
docs Loading commit data...
include Loading commit data...
infra/config Loading commit data...
source Loading commit data...
tools_libyuv Loading commit data...
unit_test Loading commit data...
util Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
AUTHORS Loading commit data...
Android.bp Loading commit data...
Android.mk Loading commit data...
BUILD.gn Loading commit data...
CM_linux_packages.cmake Loading commit data...
CMakeLists.txt Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE_THIRD_PARTY Loading commit data...
OWNERS Loading commit data...
PATENTS Loading commit data...
PRESUBMIT.py Loading commit data...
README.chromium Loading commit data...
README.md Loading commit data...
all.gyp Loading commit data...
cleanup_links.py Loading commit data...
codereview.settings Loading commit data...
download_vs_toolchain.py Loading commit data...
gyp_libyuv Loading commit data...
gyp_libyuv.py Loading commit data...
libyuv.gni Loading commit data...
libyuv.gyp Loading commit data...
libyuv.gypi Loading commit data...
libyuv_nacl.gyp Loading commit data...
libyuv_test.gyp Loading commit data...
linux.mk Loading commit data...
public.mk Loading commit data...
pylintrc Loading commit data...
winarm.mk Loading commit data...