Frank Barchard 1c85f98846 Scale down by 2 linear use 'half add' to average pixels.
Use ld2 to load even and odd pixels into different registers
and hadd to half add them to each other.

Previously used paired and shift.

TBR=kjellander@chromium.org
BUG=libyuv:723
TEST=ScaleDownBy2_Linear

Change-Id: I3ec72bcf7d4c746837217496c301eb4e4ad963cf
Reviewed-on: https://chromium-review.googlesource.com/644113
Reviewed-by: Cheng Wang <wangcheng@google.com>
2017-08-30 22:10:32 +00:00
..
compare_common.cc Optimize Hamming Distance C code to do 64 bits at a time. 2017-05-12 17:53:52 +00:00
compare_gcc.cc Remove volatile from variables to improve performance 2017-05-09 18:14:21 +00:00
compare_neon64.cc scale float samples and return max value 2017-08-04 23:34:30 +00:00
compare_neon.cc scale float samples and return max value 2017-08-04 23:34:30 +00:00
compare_win.cc Fix data races in libyuv::TestCpuFlag(). 2017-05-24 02:09:03 +00:00
compare.cc Optimize Hamming Distance C code to do 64 bits at a time. 2017-05-12 17:53:52 +00:00
convert_argb.cc Add MSA optimized I444/I400/J400/YUY2/UYVY to ARGB row functions 2017-02-21 23:22:07 +00:00
convert_from_argb.cc Add MSA optimized Interpolate/MergeUV/Misc functions 2017-02-23 01:42:22 +00:00
convert_from.cc Add I422ToRGB565 2017-04-17 17:51:17 +00:00
convert_jpeg.cc clang-format libyuv 2016-11-07 17:37:23 -08:00
convert_to_argb.cc add Intel Code Analyst markers 2017-01-13 15:50:24 -08:00
convert_to_i420.cc clang-format libyuv 2016-11-07 17:37:23 -08:00
convert.cc lint cleanup for convert RGB24ToI420 2017-03-09 10:32:23 +00:00
cpu_id.cc lint warning fixes for CpuID 2017-05-25 22:00:17 +00:00
mjpeg_decoder.cc Revert "include <new> header for benefit of new clang builds" 2017-08-03 22:03:47 +00:00
mjpeg_validate.cc clang-format libyuv 2016-11-07 17:37:23 -08:00
planar_functions.cc Add MSA optimized HalfFloatRow function 2017-08-29 18:40:08 +00:00
rotate_any.cc Add MSA optimized rotate functions (used 16x16 transpose) 2017-01-13 15:50:02 +05:30
rotate_argb.cc clang-format 5.0 applied to libyuv 2017-03-08 18:50:12 +00:00
rotate_common.cc clang-format 5.0 applied to libyuv 2017-03-08 18:50:12 +00:00
rotate_dspr2.cc clang-format 5.0 applied to libyuv 2017-03-08 18:50:12 +00:00
rotate_gcc.cc clang-format 5.0 applied to libyuv 2017-03-08 18:50:12 +00:00
rotate_msa.cc Add MSA optimized rotate functions (used 16x16 transpose) 2017-01-13 15:50:02 +05:30
rotate_neon64.cc scale float samples and return max value 2017-08-04 23:34:30 +00:00
rotate_neon.cc Remove ARM NaCL macros from source 2017-06-09 22:22:07 +00:00
rotate_win.cc scale float samples and return max value 2017-08-04 23:34:30 +00:00
rotate.cc Add MSA optimized SplitUV, Set, MirrorUV, SobelX and SobelY row functions. 2017-08-17 18:39:22 +00:00
row_any.cc Add MSA optimized HalfFloatRow function 2017-08-29 18:40:08 +00:00
row_common.cc GaussRow_NEON from int to short 2017-08-24 01:09:23 +00:00
row_dspr2.cc mips switch sgtu to sltu for clang in ndk r14 2017-05-02 21:34:13 +00:00
row_gcc.cc HalfFloat SSE2/AVX2 optimized port scheduling. 2017-02-11 01:02:06 +00:00
row_msa.cc Add MSA optimized HalfFloatRow function 2017-08-29 18:40:08 +00:00
row_neon64.cc Gaussian reorder for benefit of A73 2017-08-25 19:00:05 +00:00
row_neon.cc Remove ARM NaCL macros from source 2017-06-09 22:22:07 +00:00
row_win.cc scale float samples and return max value 2017-08-04 23:34:30 +00:00
scale_any.cc Add MSA optimized ScaleFilterCols, ScaleARGBCols, ScaleARGBFilterCols and ScaleRowDown34 functions 2017-08-18 17:23:27 +00:00
scale_argb.cc Add MSA optimized ScaleFilterCols, ScaleARGBCols, ScaleARGBFilterCols and ScaleRowDown34 functions 2017-08-18 17:23:27 +00:00
scale_common.cc clang-format 5.0 applied to libyuv 2017-03-08 18:50:12 +00:00
scale_dspr2.cc Rename mips source files to dspr2. 2017-01-27 23:11:43 +00:00
scale_gcc.cc scale warning fixes for unused parameters 2017-02-15 21:38:59 +00:00
scale_msa.cc Add MSA optimized ScaleFilterCols, ScaleARGBCols, ScaleARGBFilterCols and ScaleRowDown34 functions 2017-08-18 17:23:27 +00:00
scale_neon64.cc Scale Down by 2 use ld2 and urhadd 2017-08-30 01:18:11 +00:00
scale_neon.cc Scale down by 2 linear use 'half add' to average pixels. 2017-08-30 22:10:32 +00:00
scale_win.cc scale float samples and return max value 2017-08-04 23:34:30 +00:00
scale.cc Add MSA optimized ScaleFilterCols, ScaleARGBCols, ScaleARGBFilterCols and ScaleRowDown34 functions 2017-08-18 17:23:27 +00:00
video_common.cc clang-format libyuv 2016-11-07 17:37:23 -08:00