]> granicus.if.org Git - libvpx/commit
convolve: support larger blocks, fix asm saturation bug
authorJohn Koleszar <jkoleszar@google.com>
Thu, 18 Apr 2013 20:05:38 +0000 (13:05 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 18 Apr 2013 20:57:59 +0000 (13:57 -0700)
commita9ebbcc33836d8666f98de7a6d416a6dcd0cae9a
tree466865fec91567c8c72481c194ad9b1c6b8d5db8
parentff3f93639c147fa9b8dcf6d014b3c80bf3b7c8ef
convolve: support larger blocks, fix asm saturation bug

Updates the common convoloution code to support blocks larger than
16x16, and rectangular blocks. This uncovered a bug in the SSSE3
filtering routines due to the order of application of saturation.
This commit fixes that bug, adjusts the unit test to bias its
random values towards the extremes, and adds a test to ensure that
all filters conform to the expected pairwise addition structure.

Change-Id: I81f69668b1de0de5a8ed43f0643845641525c8f0
test/acm_random.h
test/convolve_test.cc
vp9/common/vp9_convolve.c
vp9/common/x86/vp9_asm_stubs.c
vp9/common/x86/vp9_subpixel_8t_ssse3.asm