Fix overflow in temporal_filter_apply_sse2().
authorRonald S. Bultje <rbultje@google.com>
Thu, 21 Apr 2011 20:35:02 +0000 (16:35 -0400)
committerRonald S. Bultje <rbultje@google.com>
Fri, 22 Apr 2011 14:00:38 +0000 (10:00 -0400)
commit496bcbb0de8ac77eff532f64a6816b6d021f1027
tree63ec538bf75338d28ba3517d14dc41951d97e335
parent73c3d327058b1850da4fbfc9819d1265be70965a
Fix overflow in temporal_filter_apply_sse2().

The accumulator array is an integer array, so use paddd instead of paddw
to add values to it. Fixes overflows when using large --arnr-maxframes
(>8) values.

Change-Id: Iad83794caa02400a65f3ab5760f2517e082d66ae
vp8/encoder/x86/temporal_filter_apply_sse2.asm