Home
last modified time | relevance | path

Searched refs:mIradius (Results 1 – 1 of 1) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp44 int mIradius; member in android::renderscript::RsdCpuScriptIntrinsicBlur
85 mIradius = (float)ceil(mRadius) + 0.5f; in ComputeGaussianWeights()
86 for (r = -mIradius; r <= mIradius; r ++) { in ComputeGaussianWeights()
88 mFp[r + mIradius] = coeff1 * powf(e, floatR * floatR * coeff2); in ComputeGaussianWeights()
89 normalizeFactor += mFp[r + mIradius]; in ComputeGaussianWeights()
94 for (r = -mIradius; r <= mIradius; r ++) { in ComputeGaussianWeights()
95 mFp[r + mIradius] *= normalizeFactor; in ComputeGaussianWeights()
96 mIp[r + mIradius] = (uint16_t)(mFp[r + mIradius] * 65536.0f + 0.5f); in ComputeGaussianWeights()
311 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); in kernelU4()
327 if ((y > cp->mIradius) && (y < ((int)info->dim.y - cp->mIradius))) { in kernelU4()
[all …]