summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuIntrinsicBlur.cpp
diff options
context:
space:
mode:
authorYong Chen <yong.a.chen@intel.com>2014-09-01 13:20:26 +0800
committerYong Chen <yong.a.chen@intel.com>2014-09-03 21:41:30 +0800
commita0cdfe05905a5a4d2e494665809c8af9d040c116 (patch)
tree75b5a675b40ff34ae9c66ee412e0ef1d0eadfc5d /cpu_ref/rsCpuIntrinsicBlur.cpp
parent3e4e505367ac289429183dc4998fa6c3b734930d (diff)
downloadrs-a0cdfe05905a5a4d2e494665809c8af9d040c116.tar.gz
Fix bugs for x86 platform
- Fix incorrect input/output pointer for blur intrinsic - Avoid the negative value for length function in bc lib Change-Id: If173662b63d7aba906a75bb50856d8d50c04639f Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Diffstat (limited to 'cpu_ref/rsCpuIntrinsicBlur.cpp')
-rw-r--r--cpu_ref/rsCpuIntrinsicBlur.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuIntrinsicBlur.cpp b/cpu_ref/rsCpuIntrinsicBlur.cpp
index ebbb036d..4a78d6e8 100644
--- a/cpu_ref/rsCpuIntrinsicBlur.cpp
+++ b/cpu_ref/rsCpuIntrinsicBlur.cpp
@@ -171,6 +171,8 @@ static void OneVFU4(float4 *out,
rsdIntrinsicBlurVFU4_K(out, ptrIn, iStride, gPtr, ct, x1, x1 + t);
}
x1 += t;
+ out += t;
+ ptrIn += t << 2;
}
#endif
while(x2 > x1) {