• Manojkumar Bhosale's avatar
    Add MSA optimized ARGB scaling functions · 56b5bbb0
    Manojkumar Bhosale authored
    R=fbarchard@google.com
    BUG=libyuv:634
    
    Performance Gain (vs C vectorized)
    ScaleARGBRowDown2_MSA           - ~2.6x
    ScaleARGBRowDown2Linear_MSA     - ~7.9x
    ScaleARGBRowDown2Box_MSA        - ~3.7x
    ScaleARGBRowDownEven_MSA        - ~1.2x
    ScaleARGBRowDownEvenBox_MSA     - ~3.5x
    
    ScaleARGBRowDown2_Any_MSA       - ~2.6x
    ScaleARGBRowDown2Linear_Any_MSA - ~7.9x
    ScaleARGBRowDown2Box_Any_MSA    - ~3.6x
    ScaleARGBRowDownEven_Any_MSA    - ~1.2x
    ScaleARGBRowDownEvenBox_Any_MSA - ~3.5x
    
    Performance Gain (vs C non-vectorized)
    ScaleARGBRowDown2_MSA           - 2.6x
    ScaleARGBRowDown2Linear_MSA     - 13.5x
    ScaleARGBRowDown2Box_MSA        - 5.8x
    ScaleARGBRowDownEven_MSA        - 1.2x
    ScaleARGBRowDownEvenBox_MSA     - 3.7x
    
    ScaleARGBRowDown2_Any_MSA       - 2.6x
    ScaleARGBRowDown2Linear_Any_MSA - 13.5x
    ScaleARGBRowDown2Box_Any_MSA    - 5.3x
    ScaleARGBRowDownEven_Any_MSA    - 1.2x
    ScaleARGBRowDownEvenBox_Any_MSA - 3.7x
    
    Review URL: https://codereview.chromium.org/2527983002 .
    56b5bbb0
Name
Last commit
Last update
build_overrides Loading commit data...
chromium Loading commit data...
docs 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...
.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...
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...
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...
setup_links.py Loading commit data...
sync_chromium.py Loading commit data...
winarm.mk Loading commit data...