| commit | c859de1556dc9ac5c6f5647298bb5c685c5d2bb0 | [log] [tgz] |
|---|---|---|
| author | Jason Sams <jsams@google.com> | Mon Dec 02 14:34:19 2013 -0800 |
| committer | Jason Sams <jsams@google.com> | Mon Dec 02 23:16:47 2013 +0000 |
| tree | 4a73fd28738fb1c601f7fe77ca74230e95c9e880 | |
| parent | 5fe615c44e57de96f568f309876e6daaac77ac9d [diff] [blame] |
Fix bug in blur when processing odd widths Change-Id: I10537cb623cf230636f191fd2b84b050d0f42700
diff --git a/cpu_ref/rsCpuIntrinsicBlur.cpp b/cpu_ref/rsCpuIntrinsicBlur.cpp index b2bd3ce..52e31f9 100644 --- a/cpu_ref/rsCpuIntrinsicBlur.cpp +++ b/cpu_ref/rsCpuIntrinsicBlur.cpp
@@ -161,8 +161,10 @@ t &= ~1; if(t) { rsdIntrinsicBlurVFU4_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t); + x1 += t; + ptrIn += t << 2; + out += t; } - x1 += t; } #endif