consolidate block_error functions
authorJohann <johannkoenig@google.com>
Fri, 17 Feb 2017 01:57:44 +0000 (17:57 -0800)
committerJohann Koenig <johannkoenig@google.com>
Fri, 24 Feb 2017 05:25:26 +0000 (05:25 +0000)
commit904b957ae965bd3d67f15a75cd9db7954f810d33
tree3d3db25d9600a19e32d105bf9a149429478f3782
parentaa911e8b41733a950dfe96866dbf8118940bc996
consolidate block_error functions

vp9_highbd_block_error_8bit_c was a very simple wrapper around
vp9_block_error_c. The SSE2 implemention was practically identical to
the non-HBD one. It was missing some minor improvements which only
went into the original version.

In quick speed tests, the AVX implementation showed minimal
improvement over SSE2 when it does not detect overflow. However, when
overflow is detected the function is run a second time. The
OperationCheck test seems to trigger this case and reverses any
speed benefits by running ~60% slower. AVX2 on the other hand is
always 30-40% faster.

Change-Id: I9fcb9afbcb560f234c7ae1b13ddb69eca3988ba1
test/avg_test.cc
test/test.mk
test/vp9_block_error_test.cc [moved from test/vp9_error_block_test.cc with 72% similarity]
vp9/common/vp9_rtcd_defs.pl
vp9/encoder/vp9_rdopt.c
vp9/encoder/x86/vp9_highbd_error_avx.asm [deleted file]
vp9/encoder/x86/vp9_highbd_error_sse2.asm [deleted file]
vp9/vp9cx.mk