Implement SSE2 block_error.
authorRonald S. Bultje <rbultje@google.com>
Fri, 21 Jun 2013 19:54:52 +0000 (12:54 -0700)
committerRonald S. Bultje <rbultje@google.com>
Fri, 21 Jun 2013 19:54:52 +0000 (12:54 -0700)
commit54b2a59623b42c517010e4be9b13a41c41d21d66
tree92c83d937588b38f3cbe87742237ed33c56502cd
parent7756e9892b312e668fc3134bad2513806d609f73
Implement SSE2 block_error.

Change vp9_block_error() to return a 64bit error variable, change all
callers to expect a 64bit return value (this will prevent overflows,
which we basically don't check for at all right now). Remove duplicate
block_error() function, which fixed that through truncation. Remove
old (incompatible) mmx/sse2 block_error SIMD versions and replace with
a new one that returns a 64bit value.

Encoding time of first 50 frames of bus @ 1500kbps goes from 3min29 to
3min23, i.e. a 3% overall speedup.

Change-Id: Ib71ac5508b5ee8a80f1753cd85d72df1629abe68
vp9/common/vp9_rtcd_defs.sh
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_rdopt.h
vp9/encoder/x86/vp9_encodeopt.asm [deleted file]
vp9/encoder/x86/vp9_error_sse2.asm [new file with mode: 0644]
vp9/vp9cx.mk