• Frank Barchard's avatar
    I420ToI010 for 8 to 10 bit YUV conversion. · 2ed2402f
    Frank Barchard authored
    Convert planar 8 bit formats to planar 16 bit formats.
    
    Includes msan fix for Convert8To16Row_Opt unittest.
    
    I420 is YUV bt.601 8 bits per channel with 420 subsampling.
    I010 is YUV bt.601 10 bits per channel with 420 subsampling.
    I is color space - bt.601.  The function does no color space
     conversion so H420ToI010 is aliased to this function as well.
    0 = 420 subsampling.  The chroma channels are half width / height.
    10 = 10 bits per channel, stored in low 10 bits of 16 bit samples.
    
    For SSSE3 version:
    out/Release/libyuv_unittest --gtest_filter=*LibYUVConvertTest.I420ToI010_Opt --libyuv_width=1280 --libyuv_height=720 --libyuv_repeat=999 --libyuv_flags=-1 --libyuv_cpu_info=-1
    [ RUN      ] LibYUVConvertTest.I420ToI010_Opt
    [       OK ] LibYUVConvertTest.I420ToI010_Opt (276 ms)
    
    Bug: libyuv:751
    Test: LibYUVConvertTest.I420ToI010_Opt
    Change-Id: I072876ee4fd74a2b74f459b628838bc808f9bdd2
    Reviewed-on: https://chromium-review.googlesource.com/846421Reviewed-by: 's avatarMiguel Casas <mcasas@chromium.org>
    Commit-Queue: Frank Barchard <fbarchard@chromium.org>
    2ed2402f
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...