• Frank Barchard's avatar
    bug fix for odd width 16/24 bit to i420 · 90335f60
    Frank Barchard authored
    A bug was introduced on arm when the code for 'any' width switch to
    a temporary stack buffer and simd.
    The C version handles odd width by doing 1 pixel, instead of averaging 2.
    But the SIMD any version is supposed to replicate the last pixel, then
    the subsampling in Neon will average the pixel with itself, producing
    the same result.
    The previous version did this, but only for ARGB 32 bit, which was to
    avoid introducing issues with subsampled YUY2 source.  This CL adds
    replication for RGB 16 bit values.
    
    TBR=harryjin@google.com
    BUG=libyuv:510
    
    Review URL: https://codereview.chromium.org/1418983003 .
    90335f60
Name
Last commit
Last update
chromium Loading commit data...
include Loading commit data...
source Loading commit data...
third_party/gflags Loading commit data...
tools Loading commit data...
unit_test Loading commit data...
util Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
Android.mk Loading commit data...
BUILD.gn 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...
all.gyp Loading commit data...
codereview.settings Loading commit data...
download_vs_toolchain.py Loading commit data...
drover.properties Loading commit data...
gyp_libyuv Loading commit data...
gyp_libyuv.py 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...
setup_links.py Loading commit data...
sync_chromium.py Loading commit data...
winarm.mk Loading commit data...