Searched refs:float4 (Results 26 - 50 of 89) sorted by relevance

1234

/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
H A Dmono.rs23 float4 f4 = rsUnpackColor8888(*v_in);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
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;
H A Dcolorcube.rs33 float4 m = (float4)(1.f / 255.f) * convert_float4(gDims - 1);
34 gCoordMul = convert_int4(m * (float4)0x10000);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
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;
H A Dcolorcube.rs33 float4 m = (float4)(1.f / 255.f) * convert_float4(gDims - 1);
34 gCoordMul = convert_int4(m * (float4)0x10000);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
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/scriptc/
H A Drs_vector_math.rsh49 extern float4 __attribute__((const, overloadable))
50 cross(float4 left_vector, float4 right_vector);
79 distance(float4 left_vector, float4 right_vector);
116 dot(float4 left_vector, float4 right_vector);
165 fast_distance(float4 left_vector, float4 right_vector);
195 fast_length(float4
[all...]
H A Drs_math.rsh215 extern float4 __attribute__((const, overloadable))
216 acos(float4 v);
254 extern float4 __attribute__((const, overloadable))
255 acosh(float4 v);
295 extern float4 __attribute__((const, overloadable))
296 acospi(float4 v);
334 extern float4 __attribute__((const, overloadable))
335 asin(float4 v);
373 extern float4 __attribute__((const, overloadable))
374 asinh(float4
[all...]
/frameworks/rs/driver/runtime/
H A Drs_cl.c6 extern float4 __attribute__((overloadable)) convert_float4(int4 c);
10 extern int4 __attribute__((overloadable)) convert_int4(float4 c);
16 extern float4 __attribute__((overloadable)) fmin(float4 v, float v2);
21 extern float4 __attribute__((overloadable)) fmax(float4 v, float v2);
39 extern float4 __attribute__((overloadable)) fnc(float4 v) { \
40 float4 r; \
62 extern int4 __attribute__((overloadable)) fnc(float4
[all...]
H A Drs_matrix.c5 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c);
214 extern float4 __attribute__((overloadable))
215 rsMatrixMultiply(rs_matrix4x4 *m, float4 in) {
219 extern float4 __attribute__((overloadable))
224 extern float4 __attribute__((overloadable))
321 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top,
322 float4* bottom, float4* nea
[all...]
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dshadows_f.rs51 static ushort3 rgb2hsv( float4 rgb)
98 static float4 hsv2rgb(ushort3 hsv)
170 float4 rgb;
186 float4 RS_KERNEL shadowsKernel(float4 in) {
H A Dfisheye_approx_f.rsh47 float4 __attribute__((kernel)) fisheye(uint32_t x, uint32_t y) {
57 // TODO: rsSample does not work with element type float4.
58 const float4 fout = rsSample(in_alloc, sampler, new_coord);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp78 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) {
103 float4 p0 = cubicInterpolate(convert_float4(yp0[xs0]),
108 float4 p1 = cubicInterpolate(convert_float4(yp1[xs0]),
113 float4 p2 = cubicInterpolate(convert_float4(yp2[xs0]),
118 float4 p3 = cubicInterpolate(convert_float4(yp3[xs0]),
123 float4
[all...]
/frameworks/rs/api/
H A Drs_matrix.spec52 arg: float4* left, "Left plane."
53 arg: float4* right, "Right plane."
54 arg: float4* top, "Top plane."
55 arg: float4* bottom, "Bottom plane."
56 arg: float4* near, "Near plane."
57 arg: float4* far, "Far plane."
113 arg: float4* left
114 arg: float4* righ
115 arg: float4* top
116 arg: float4* botto
[all...]
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c22 extern uchar4 __attribute__((overloadable)) convert_uchar4(float4);
23 extern float4 __attribute__((overloadable)) convert_float4(uchar4);
94 extern float4 __attribute__((overloadable)) clamp(float4 amount, float4 low, float4 high);
97 extern float4 __attribute__((overloadable)) clamp(float4 amount, float low, float high);
137 extern float4 __attribute__((overloadable)) fmax(float4 v
[all...]
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A Dfind_region.rs56 static int4 padRegionRect(float4 rec) {
69 static float4 gcalcBounds(rs_allocation xy) {
79 float4 out = {min_xy.x, min_xy.y, max_xy.x, max_xy.y};
84 float4 r = gcalcBounds(xy);

Completed in 378 milliseconds

1234