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

123

/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dresize.rs38 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 Dgreyscale.rs23 float4 f4 = rsUnpackColor8888(v_in);
30 float4 f4 = convert_float4(v_in);
H A Dthreshold.rs73 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 Dcolormatrix.rs31 float4 f = convert_float4(in);
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;
H A Dvignette_approx.rsh49 const float4 fin = convert_float4(in);
54 float4 fout;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dresize.rs38 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 Dgreyscale.rs23 float4 f4 = rsUnpackColor8888(v_in);
30 float4 f4 = convert_float4(v_in);
H A Dthreshold.rs73 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 Dcolormatrix.rs31 float4 f = convert_float4(in);
/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 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 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_core_math.rsh162 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 Drs_matrix.rsh416 _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 Drs_sample.c69 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 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...]
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
H A Dmono.rs23 float4 f4 = rsUnpackColor8888(*v_in);
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c22 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...]

Completed in 143 milliseconds

123