Adrian Grange 3f10831308 Fix bug in convolution functions (filter selection)
(In response to Issue 604:
 https://code.google.com/p/webm/issues/detail?id=604)

There were bugs in the convolution code for two cases:

1. Where the filter table was assumed to be aligned to a
   256 byte boundary. The offset of the pixel in the
   source buffer was computed incorrectly.

2. Where no such alignment assumption was made. An
   incorrect address for the filter table base was used.

To fix both problems, I now assume that the filter table is
256-byte aligned and modify the pixel offset calculation to
match.

A later patch should remove the restriction that the filter
table is aligned to a 256-byte boundary.

There was also a bug in the ConvolveTest unit test
(convolve_test.cc).

(Bug & initial fix suggestion submitted by Tero Rintaluoma
and Sami Pietilä).

Change-Id: I71985551e62846e55e40de9e7e3959d4805baa82
2013-08-23 11:16:08 -07:00
..
2013-07-08 14:54:04 -07:00
2013-08-14 12:47:52 +01:00
2013-08-08 21:12:34 -07:00
2013-08-22 14:45:24 -07:00
2013-07-25 14:13:48 -07:00
2013-05-16 11:56:00 -07:00
2013-08-01 15:06:34 -07:00
2013-08-20 08:14:52 -07:00
2013-08-03 20:25:55 -07:00
2013-07-23 12:09:04 +01:00
2013-08-14 12:47:52 +01:00
2013-03-05 14:12:16 -08:00
2013-08-21 11:24:47 -07:00
2013-08-22 14:04:59 -07:00
2012-11-27 14:12:30 -08:00
2013-02-22 11:03:14 -08:00
2013-02-22 11:03:14 -08:00
2013-07-16 14:47:15 -07:00