/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 64 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys0)); 65 float4 p01 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys0)); 66 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys0)); 67 float4 p03 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys0)); 68 float4 p [all...] |
H A D | greyscale.rs | 23 float4 f4 = rsUnpackColor8888(v_in); 30 float4 f4 = convert_float4(v_in);
|
H A D | threshold.rs | 73 float4 RS_KERNEL copyIn(uchar4 in) { 83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) { 100 float4 blurredPixel = 0; 104 float4 i = rsGetElementAt_float4(ScratchPixel1, x + r, y); 111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
|
H A D | colormatrix.rs | 31 float4 f = convert_float4(in);
|
H A D | artistic1.rs | 47 float4 v1 = rsUnpackColor8888(in); 48 float4 v2 = rsUnpackColor8888(rsGetElementAt_uchar4(gBlur, x, y));
|
H A D | vignette.rsh | 49 const float4 fin = convert_float4(in); 54 float4 fout;
|
H A D | vignette_approx.rsh | 49 const float4 fin = convert_float4(in); 54 float4 fout;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 64 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys0)); 65 float4 p01 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys0)); 66 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys0)); 67 float4 p03 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys0)); 68 float4 p [all...] |
H A D | greyscale.rs | 23 float4 f4 = rsUnpackColor8888(v_in); 30 float4 f4 = convert_float4(v_in);
|
H A D | threshold.rs | 73 float4 RS_KERNEL copyIn(uchar4 in) { 83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) { 100 float4 blurredPixel = 0; 104 float4 i = rsGetElementAt_float4(ScratchPixel1, x + r, y); 111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
|
H A D | colormatrix.rs | 31 float4 f = convert_float4(in);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | ip2_convolve3x3.rs | 31 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)); 32 float4 p01 = convert_float4(rsGetElementAt_uchar4(gIn, x, y1)); 33 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y1)); 34 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y)); 35 float4 p11 = convert_float4(rsGetElementAt_uchar4(gIn, x, y)); 36 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y)); 37 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)); 38 float4 p21 = convert_float4(rsGetElementAt_uchar4(gIn, x, y2)); 39 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, x2, y2));
|
H A D | greyscale.fs | 22 float4 f4 = rsUnpackColor8888(v_in); 29 float4 f4 = convert_float4(v_in);
|
H A D | threshold.fs | 73 float4 RS_KERNEL copyIn(uchar4 in) { 83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) { 100 float4 blurredPixel = 0; 104 float4 i = rsGetElementAt_float4(ScratchPixel1, x + r, y); 111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
|
H A D | colormatrix.fs | 30 float4 f = convert_float4(in);
|
H A D | convolve5x5.fs | 38 float4 p0 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y0)) * gCoeffs[0] 44 float4 p1 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y1)) * gCoeffs[5] 50 float4 p2 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 56 float4 p3 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15] 62 float4 p4 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y4)) * gCoeffs[20]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | copy_test.rs | 37 float4 __attribute((kernel)) copyFloat4(float4 i) {
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | copy_test.rs | 37 float4 __attribute((kernel)) copyFloat4(float4 i) {
|
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 103 float4 *left, float4 *right, 104 float4 *top, float4 *bottom, 105 float4 *near, float4 *far) { 153 * @param sphere float4 representing the sphere 162 rsIsSphereInFrustum(float4 *sphere, 163 float4 *left, float4 *righ [all...] |
H A D | rs_core_math.rsh | 162 extern float4 __attribute__((const, overloadable))acos(float4 v); 198 extern float4 __attribute__((const, overloadable))acosh(float4); 234 extern float4 __attribute__((const, overloadable))acospi(float4 v); 270 extern float4 __attribute__((const, overloadable))asin(float4 v); 306 extern float4 __attribute__((const, overloadable))asinh(float4); [all...] |
H A D | rs_matrix.rsh | 416 _RS_RUNTIME float4 __attribute__((overloadable)) 417 rsMatrixMultiply(rs_matrix4x4 *m, float4 in); 422 _RS_RUNTIME float4 __attribute__((overloadable)) 428 _RS_RUNTIME float4 __attribute__((overloadable)) 462 _RS_RUNTIME float4 __attribute__((overloadable)) 463 rsMatrixMultiply(const rs_matrix4x4 *m, float4 in); 468 _RS_RUNTIME float4 __attribute__((overloadable)) 474 _RS_RUNTIME float4 __attribute__((overloadable))
|
/frameworks/rs/driver/runtime/ |
H A D | rs_sample.c | 69 static inline float4 __attribute__((overloadable)) 106 static inline float4 __attribute__((overloadable)) 110 float4 r = {p[x], p[x+1], p[x+2], p[x+3]}; 126 static float4 __attribute__((overloadable)) 133 float4 ret = {0.f, 0.f, 0.f, r}; 136 static float4 __attribute__((overloadable)) 143 float4 ret = {r, r, r, 1.f}; 146 static float4 __attribute__((overloadable)) 153 float4 ret = {r.x, r.x, r.x, r.y}; 156 static float4 __attribute_ [all...] |
H A D | rs_cl.c | 5 extern float4 __attribute__((overloadable)) convert_float4(int4 c); 9 extern int4 __attribute__((overloadable)) convert_int4(float4 c); 15 extern float4 __attribute__((overloadable)) fmin(float4 v, float v2); 20 extern float4 __attribute__((overloadable)) fmax(float4 v, float v2); 38 extern float4 __attribute__((overloadable)) fnc(float4 v) { \ 39 float4 r; \ 61 extern int4 __attribute__((overloadable)) fnc(float4 [all...] |
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/ |
H A D | mono.rs | 23 float4 f4 = rsUnpackColor8888(*v_in);
|
/frameworks/rs/driver/runtime/arch/ |
H A D | generic.c | 22 extern uchar4 __attribute__((overloadable)) convert_uchar4(float4); 23 extern float4 __attribute__((overloadable)) convert_float4(uchar4); 91 extern float4 __attribute__((overloadable)) clamp(float4 amount, float4 low, float4 high); 94 extern float4 __attribute__((overloadable)) clamp(float4 amount, float low, float high); 133 extern float4 __attribute__((overloadable)) fmax(float4 v [all...] |