/frameworks/rs/toolkit/ |
D | ColorMatrix.cpp | 173 int16_t mIp[16]; member in android::renderscript::ColorMatrixTask 278 if (mIp[i] != 0) { 289 if ((mIp[0] == mIp[1]) && (mIp[0] == mIp[2]) && 290 (mIp[4] == mIp[5]) && (mIp[4] == mIp[6]) && 291 (mIp[8] == mIp[9]) && (mIp[8] == mIp[10]) && 292 (mIp[12] == mIp[13]) && (mIp[12] == mIp[14])) { 298 if (!(key.u.coeffMask & 0x0888) && (mIp[15] == 256) && !(key.u.addMask & 0x8)) { 786 mIp[ct] = (int16_t)(mFp[ct] * 256.f + 0.5f); 924 mOptKernel(out, in, mIp, len >> 2); 942 rsdIntrinsicColorMatrix_int_K(out, in, len, &mFnTab, mIp, mIpa);
|
D | Blur.cpp | 45 uint16_t mIp[104]; member in android::renderscript::BlurTask 90 memset(mIp, 0, sizeof(mIp)); in ComputeGaussianWeights() 126 mIp[r + mIradius] = (uint16_t)(mFp[r + mIradius] * 65536.0f + 0.5f); in ComputeGaussianWeights() 386 stride, x1, currentY, x2 - x1, mIradius, mIp + mIradius); in kernelU4() 460 stride, x1, currentY, x2 - x1, mIradius, mIp + mIradius); in kernelU1()
|
D | Convolve3x3.cpp | 37 int16_t mIp[16]; member in android::renderscript::Convolve3x3Task 55 mIp[ct] = (int16_t)(mFp[ct] * 256.f + 0.5f); 57 mIp[ct] = (int16_t)(mFp[ct] * 256.f - 0.5f); 154 rsdIntrinsicConvolve3x3_K(out, &py0[x1 - 1], &py1[x1 - 1], &py2[x1 - 1], mIp, len); in kernelU4()
|
D | Convolve5x5.cpp | 38 int16_t mIp[28]; member in android::renderscript::Convolve5x5Task 56 mIp[ct] = (int16_t)(mFp[ct] * 256.f + 0.5f); 58 mIp[ct] = (int16_t)(mFp[ct] * 256.f - 0.5f); 172 py4 + x1 - 2, mIp, len); in kernelU4() 182 py4 + x1 - 2, mIp, len); in kernelU4()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicConvolve3x3.cpp | 38 int16_t mIp[16]; member in android::renderscript::RsdCpuScriptIntrinsicConvolve3x3 73 mIp[ct] = (int16_t)(mFp[ct] * 256.f + 0.5f); in setGlobalVar() 75 mIp[ct] = (int16_t)(mFp[ct] * 256.f - 0.5f); in setGlobalVar() 211 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU4() 257 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU2() 302 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU1() 347 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelF4() 392 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelF2() 436 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelF1() 483 mIp[ct] = (int16_t)(mFp[ct] * 256.f + 0.5f); in RsdCpuScriptIntrinsicConvolve3x3()
|
D | rsCpuIntrinsicBlur.cpp | 40 uint16_t mIp[104]; member in android::renderscript::RsdCpuScriptIntrinsicBlur 59 memset(mIp, 0, sizeof(mIp)); 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() 385 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); in kernelU1()
|
D | rsCpuIntrinsicConvolve5x5.cpp | 38 int16_t mIp[28]; member in android::renderscript::RsdCpuScriptIntrinsicConvolve5x5 75 mIp[ct] = (int16_t)(mFp[ct] * 256.f + 0.5f); in setGlobalVar() 77 mIp[ct] = (int16_t)(mFp[ct] * 256.f - 0.5f); in setGlobalVar() 381 …olve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); in kernelU4() 390 …olve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); in kernelU4() 681 mIp[ct] = (int16_t)(mFp[ct] * 256.f); in RsdCpuScriptIntrinsicConvolve5x5()
|