• Frank Barchard's avatar
    I422ToRGB565 fix for odd widths · 8cab2e31
    Frank Barchard authored
    I422ToRGB565Row_Any_AVX2 uses 2 step row conversion that calls
    I422ToARGBRow_AVX2 and then ARGBToRGB565.
    I422ToARGBRow_AVX2 expects multiple of 16 pixels.
    Adjust the I422ToRGB565Row_Any_AVX2 to do multiple of 16 with AVX2
    and then remainder in a buffer.
    
    Bug: libyuv: 657
    Test: out/Release/libyuv_unittest --gtest_filter=*Convert*I*To* --libyuv_width=1280 --libyuv_height=720
    Change-Id: Ice1cb6c7ff6b2295513e8b4a9f77522e1c659810
    Reviewed-on: https://chromium-review.googlesource.com/474232
    Commit-Queue: Frank Barchard <fbarchard@google.com>
    Reviewed-by: 's avatarHenrik Kjellander <kjellander@chromium.org>
    8cab2e31
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...
AUTHORS 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...