/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_convolve5x5.rs | 24 float gCoeffs[25]; 39 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0] 40 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1] 41 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2] 42 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3] 43 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4]; 45 float4 p1 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5] 46 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6] 47 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7] 48 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8 [all...] |
intrinsic_convolve3x3.rs | 23 float gCoeffs[9]; 40 p00 *= gCoeffs[0]; 41 p01 *= gCoeffs[1]; 42 p02 *= gCoeffs[2]; 43 p10 *= gCoeffs[3]; 44 p11 *= gCoeffs[4]; 45 p12 *= gCoeffs[5]; 46 p20 *= gCoeffs[6]; 47 p21 *= gCoeffs[7]; 48 p22 *= gCoeffs[8] [all...] |
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
convolve5x5.rs | 24 float gCoeffs[25]; 39 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0] 40 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1] 41 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2] 42 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3] 43 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4] 45 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5] 46 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6] 47 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7] 48 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8 [all...] |
convolve3x3.rs | 24 float gCoeffs[9]; 32 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[0]; 33 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y1)) * gCoeffs[1]; 34 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[2]; 35 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y)) * gCoeffs[3]; 36 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y)) * gCoeffs[4]; 37 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y)) * gCoeffs[5]; 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8] [all...] |
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
convolve5x5.rs | 24 float gCoeffs[25]; 39 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0] 40 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1] 41 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2] 42 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3] 43 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4] 45 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5] 46 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6] 47 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7] 48 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8 [all...] |
convolve3x3.rs | 24 float gCoeffs[9]; 32 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[0]; 33 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y1)) * gCoeffs[1]; 34 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[2]; 35 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y)) * gCoeffs[3]; 36 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y)) * gCoeffs[4]; 37 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y)) * gCoeffs[5]; 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8] [all...] |
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
convolve5x5.rs | 24 float gCoeffs[25]; 39 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0] 40 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1] 41 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2] 42 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3] 43 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4] 45 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5] 46 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6] 47 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7] 48 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8 [all...] |
convolve3x3.rs | 24 float gCoeffs[9]; 32 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[0]; 33 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y1)) * gCoeffs[1]; 34 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[2]; 35 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y)) * gCoeffs[3]; 36 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y)) * gCoeffs[4]; 37 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y)) * gCoeffs[5]; 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8] [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
convolve3x3.rs | 26 float gCoeffs[9]; 44 p00 *= gCoeffs[0]; 45 p01 *= gCoeffs[1]; 46 p02 *= gCoeffs[2]; 47 p10 *= gCoeffs[3]; 48 p11 *= gCoeffs[4]; 49 p12 *= gCoeffs[5]; 50 p20 *= gCoeffs[6]; 51 p21 *= gCoeffs[7]; 52 p22 *= gCoeffs[8] [all...] |
/external/skia/src/core/ |
SkBlendMode.cpp | 32 const CoeffRec gCoeffs[] = { 56 *src = gCoeffs[static_cast<int>(mode)].fSrc; 59 *dst = gCoeffs[static_cast<int>(mode)].fDst;
|