Searched refs:float4 (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dconvolve3x3.fs31 float4 result;
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 p2
[all...]
H A Dgreyscale.fs22 float4 f4 = rsUnpackColor8888(v_in);
29 float4 f4 = convert_float4(v_in);
H A Dthreshold.fs73 float4 __attribute__((kernel)) copyIn(uchar4 in) {
83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r);
89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH);
99 float4 __attribute__((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 Dcolormatrix.fs30 float4 f = convert_float4(in);
H A Dconvolve5x5.fs38 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]
H A Dartistic1.rs47 float4 v1 = rsUnpackColor8888(in);
48 float4 v2 = rsUnpackColor8888(rsGetElementAt_uchar4(gBlur, x, y));
H A Dvignette.rsh49 const float4 fin = convert_float4(in);
54 float4 fout;
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dip2_convolve3x3.rs31 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 Dgreyscale.fs22 float4 f4 = rsUnpackColor8888(v_in);
29 float4 f4 = convert_float4(v_in);
H A Dthreshold.fs73 float4 __attribute__((kernel)) copyIn(uchar4 in) {
83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r);
89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH);
99 float4 __attribute__((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 Dcolormatrix.fs30 float4 f = convert_float4(in);
H A Dconvolve5x5.fs38 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/ImageProcessing_jb/src/com/android/rs/image/
H A Dconvolve3x3.fs31 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 Dgreyscale.fs22 float4 f4 = rsUnpackColor8888(v_in);
29 float4 f4 = convert_float4(v_in);
H A Dthreshold.fs73 float4 __attribute__((kernel)) copyIn(uchar4 in) {
83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r);
89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH);
99 float4 __attribute__((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 Dcolormatrix.fs30 float4 f = convert_float4(in);
H A Dconvolve5x5.fs38 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 Dcopy_test.rs37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A Dcopy_test.rs37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/scriptc/
H A Drs_math.rsh103 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 Drs_cl.rsh117 _RS_RUNTIME float4 __attribute__((const, overloadable)) fnc(float4 v);
122 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float4 v);
127 _RS_RUNTIME int4 __attribute__((const, overloadable)) fnc(float4 v);
132 _RS_RUNTIME float4 __attribute__((const, overloadable)) fnc(float4 v1, float4 v2);
137 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float4 v1, float4 v2);
142 _RS_RUNTIME float4 __attribute_
[all...]
H A Drs_matrix.rsh276 _RS_RUNTIME float4 __attribute__((overloadable))
277 rsMatrixMultiply(rs_matrix4x4 *m, float4 in);
282 _RS_RUNTIME float4 __attribute__((overloadable))
288 _RS_RUNTIME float4 __attribute__((overloadable))
313 _RS_RUNTIME float4 __attribute__((overloadable))
314 rsMatrixMultiply(const rs_matrix4x4 *m, float4 in);
319 _RS_RUNTIME float4 __attribute__((overloadable))
325 _RS_RUNTIME float4 __attribute__((overloadable))
/frameworks/rs/driver/runtime/
H A Drs_cl.c5 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...]
H A Drs_sample.c70 static inline float4 __attribute__((overloadable))
107 static inline float4 __attribute__((overloadable))
111 float4 r = {p[x], p[x+1], p[x+2], p[x+3]};
127 static float4 __attribute__((overloadable))
134 float4 ret = {0.f, 0.f, 0.f, r};
137 static float4 __attribute__((overloadable))
144 float4 ret = {r, r, r, 1.f};
147 static float4 __attribute__((overloadable))
154 float4 ret = {r.x, r.x, r.x, r.y};
157 static float4 __attribute_
[all...]
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
H A Dmono.rs23 float4 f4 = rsUnpackColor8888(*v_in);

Completed in 770 milliseconds

123