/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ |
H A D | convolve5x5.fs | 40 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0] 41 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1] 42 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2] 43 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3] 44 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4]; 46 float4 p1 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5] 47 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6] 48 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7] 49 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8] 50 + convert_float4(rsGetElementAt_uchar [all...] |
H A D | convolve3x3.fs | 33 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)); 34 float4 p01 = convert_float4(rsGetElementAt_uchar4(gIn, x, y1)); 35 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)); 36 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y)); 37 float4 p11 = convert_float4(rsGetElementAt_uchar4(gIn, x, y)); 38 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y)); 39 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)); 40 float4 p21 = convert_float4(rsGetElementAt_uchar4(gIn, x, y2)); 41 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y2));
|
H A D | levels.rsh | 26 float3 pixel = convert_float4(in).rgb; 38 float4 pixel = convert_float4(in);
|
H A D | colormatrix.fs | 33 float4 f = convert_float4(in);
|
H A D | vignette.rsh | 49 const float4 fin = convert_float4(in);
|
H A D | vignette_approx.rsh | 49 const float4 fin = convert_float4(in);
|
H A D | grain.fs | 80 float4 ip = convert_float4(in);
|
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/ |
H A D | convolve5x5.rs | 40 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0] 41 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y0)) * gCoeffs[1] 42 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y0)) * gCoeffs[2] 43 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y0)) * gCoeffs[3] 44 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y0)) * gCoeffs[4]; 46 float4 p1 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5] 47 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[6] 48 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)) * gCoeffs[7] 49 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y1)) * gCoeffs[8] 50 + convert_float4(rsGetElementAt_uchar [all...] |
H A D | convolve3x3.rs | 33 float4 p00 = convert_float4(((uchar4 *)rsGetElementAt(gIn, x1, y1))[0]); 34 float4 p01 = convert_float4(((uchar4 *)rsGetElementAt(gIn, x, y1))[0]); 35 float4 p02 = convert_float4(((uchar4 *)rsGetElementAt(gIn, x2, y1))[0]); 36 float4 p10 = convert_float4(((uchar4 *)rsGetElementAt(gIn, x1, y))[0]); 37 float4 p11 = convert_float4(((uchar4 *)rsGetElementAt(gIn, x, y))[0]); 38 float4 p12 = convert_float4(((uchar4 *)rsGetElementAt(gIn, x2, y))[0]); 39 float4 p20 = convert_float4(((uchar4 *)rsGetElementAt(gIn, x1, y2))[0]); 40 float4 p21 = convert_float4(((uchar4 *)rsGetElementAt(gIn, x, y2))[0]); 41 float4 p22 = convert_float4(((uchar4 *)rsGetElementAt(gIn, x2, y2))[0]);
|
H A D | levels.rsh | 25 float3 pixel = convert_float4(in[0]).rgb; 36 float4 pixel = convert_float4(in[0]);
|
H A D | colormatrix.rs | 33 float4 f = convert_float4(*in);
|
H A D | vignette.rsh | 49 const float4 fin = convert_float4(*in);
|
H A D | vignette_approx.rsh | 49 const float4 fin = convert_float4(*in);
|
H A D | grain.rs | 80 float4 ip = convert_float4(*in);
|
/frameworks/rs/driver/ |
H A D | rsdIntrinsicConvolve5x5.cpp | 62 float4 px = convert_float4(py0[x0]) * coeff[0] + 63 convert_float4(py0[x1]) * coeff[1] + 64 convert_float4(py0[x2]) * coeff[2] + 65 convert_float4(py0[x3]) * coeff[3] + 66 convert_float4(py0[x4]) * coeff[4] + 68 convert_float4(py1[x0]) * coeff[5] + 69 convert_float4(py1[x1]) * coeff[6] + 70 convert_float4(py1[x2]) * coeff[7] + 71 convert_float4(py1[x3]) * coeff[8] + 72 convert_float4(py [all...] |
H A D | rsdIntrinsicConvolve3x3.cpp | 61 float4 px = convert_float4(py0[x1]) * coeff[0] + 62 convert_float4(py0[x]) * coeff[1] + 63 convert_float4(py0[x2]) * coeff[2] + 64 convert_float4(py1[x1]) * coeff[3] + 65 convert_float4(py1[x]) * coeff[4] + 66 convert_float4(py1[x2]) * coeff[5] + 67 convert_float4(py2[x1]) * coeff[6] + 68 convert_float4(py2[x]) * coeff[7] + 69 convert_float4(py2[x2]) * coeff[8];
|
H A D | rsdIntrinsicInlines.h | 65 static inline float4 convert_float4(uchar4 i) { function
|
H A D | rsdIntrinsicBlur.cpp | 104 float4 pf = convert_float4(pvy[0]); 136 float4 pf = convert_float4(((const uchar4 *)pi)[0]);
|
H A D | rsdIntrinsicColorMatrix.cpp | 63 float4 i = convert_float4(py[0]);
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdIntrinsicConvolve5x5.cpp | 62 float4 px = convert_float4(py0[x0]) * coeff[0] + 63 convert_float4(py0[x1]) * coeff[1] + 64 convert_float4(py0[x2]) * coeff[2] + 65 convert_float4(py0[x3]) * coeff[3] + 66 convert_float4(py0[x4]) * coeff[4] + 68 convert_float4(py1[x0]) * coeff[5] + 69 convert_float4(py1[x1]) * coeff[6] + 70 convert_float4(py1[x2]) * coeff[7] + 71 convert_float4(py1[x3]) * coeff[8] + 72 convert_float4(py [all...] |
H A D | rsdIntrinsicConvolve3x3.cpp | 61 float4 px = convert_float4(py0[x1]) * coeff[0] + 62 convert_float4(py0[x]) * coeff[1] + 63 convert_float4(py0[x2]) * coeff[2] + 64 convert_float4(py1[x1]) * coeff[3] + 65 convert_float4(py1[x]) * coeff[4] + 66 convert_float4(py1[x2]) * coeff[5] + 67 convert_float4(py2[x1]) * coeff[6] + 68 convert_float4(py2[x]) * coeff[7] + 69 convert_float4(py2[x2]) * coeff[8];
|
H A D | rsdIntrinsicBlur.cpp | 102 float4 pf = convert_float4(pvy[0]); 134 float4 pf = convert_float4(((const uchar4 *)pi)[0]);
|
H A D | rsdIntrinsicInlines.h | 65 static inline float4 convert_float4(uchar4 i) { function
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
H A D | rs_core.c | 6 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c); 51 ret *= convert_float4(c);
|
H A D | rs_sample.c | 122 SAMPLE_1D_FUNC(4, uchar4, float4, convert_float4) 128 SAMPLE_2D_FUNC(4, uchar4, float4, convert_float4) 226 result = convert_float4(*((uchar4*)getElementAt(a, iPixel, lod))); \
|