]> granicus.if.org Git - libvpx/commit
Fix decoder mismatch with ssse3 enabled
authorYunqing Wang <yunqingwang@google.com>
Tue, 19 Nov 2013 22:29:25 +0000 (14:29 -0800)
committerJohann <johannkoenig@google.com>
Thu, 21 Nov 2013 20:57:32 +0000 (12:57 -0800)
commit2b55cfcfbde240beb22911af412ddd2a2c13024e
treec50bf46c97ce5fe9f317e30b16d672c3e07d726e
parente4f3b970ad10718fc3276eb3e514dbdf149e37bf
Fix decoder mismatch with ssse3 enabled

This patch fixed issue 661: "Decoder produces mismatched outputs
with ssse3 enabled and disabled." In sub-pixel filters, a pixel
value was multiplied by a filter coefficient, and the results
were added up. The order of adding up these multiplications had to
be arranged carefully to prevent incorrect overflowing.

Change-Id: Ia78663dfe74a2d46900f1c6fb07c21fac273892f
vp9/common/x86/vp9_subpixel_8t_ssse3.asm