Home
last modified time | relevance | path

Searched refs:float3 (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/rs/driver/runtime/
Drs_cl.c4 extern float3 __attribute__((overloadable)) convert_float3(int3 c);
8 extern int3 __attribute__((overloadable)) convert_int3(float3 c);
14 extern float3 __attribute__((overloadable)) fmin(float3 v, float v2);
19 extern float3 __attribute__((overloadable)) fmax(float3 v, float v2);
31 extern float3 __attribute__((overloadable)) fnc(float3 v) { \
32 float3 r; \
54 extern int3 __attribute__((overloadable)) fnc(float3 v) { \
77 extern float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2) { \
78 float3 r; \
100 extern float3 __attribute__((overloadable)) fnc(float3 v1, float v2) { \
[all …]
Drs_sample.c39 static float3 getFrom565(uint16_t color) { in getFrom565()
40 float3 result; in getFrom565()
63 static inline float3 __attribute__((overloadable))
66 float3 r = {p[x], p[x+1], p[x+2]}; in getElementAt3()
77 static inline float3 __attribute__((overloadable))
80 float3 r = getFrom565(((const uint16_t *)p)[0]); in getElementAt565()
99 static inline float3 __attribute__((overloadable))
103 float3 r = {p[x], p[x+1], p[x+2]}; in getElementAt3()
115 static inline float3 __attribute__((overloadable))
119 float3 r = getFrom565(((const uint16_t *)p)[0]); in getElementAt565()
[all …]
/frameworks/rs/scriptc/
Drs_cl.rsh116 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v); \
121 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float3 v); \
126 _RS_RUNTIME int3 __attribute__((const, overloadable)) fnc(float3 v); \
131 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v1, float3 v2); \
136 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float3 v1, float3 v2); \
141 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v1, float v2); \
146 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v1, int3 v2); \
151 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v1, int v2); \
157 _RS_RUNTIME float3 __attribute__((pure, overloadable)) \
158 fnc(float3 v1, float3 *v2); \
[all …]
Drs_matrix.rsh283 rsMatrixMultiply(rs_matrix4x4 *m, float3 in);
294 _RS_RUNTIME float3 __attribute__((overloadable))
295 rsMatrixMultiply(rs_matrix3x3 *m, float3 in);
300 _RS_RUNTIME float3 __attribute__((overloadable))
320 rsMatrixMultiply(const rs_matrix4x4 *m, float3 in);
331 _RS_RUNTIME float3 __attribute__((overloadable))
332 rsMatrixMultiply(const rs_matrix3x3 *m, float3 in);
337 _RS_RUNTIME float3 __attribute__((overloadable))
/frameworks/compile/slang/tests/P_float3/
Dfloat3.rs4 float3 f;
5 float3 f1[1];
8 float3 f; field
9 float3 f1[1];
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dclamp.rs15 float3 src3 = { 2.0f, 2.0f, 1.0f};
16 float3 min3 = { 0.5f, -3.0f, 3.0f};
17 float3 max3 = { 1.0f, 9.0f, 4.0f};
19 float3 res3 = clamp(src3, min3, max3);
Dcopy_test.rs33 float3 __attribute((kernel)) copyFloat3(float3 i) {
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dclamp.rs15 float3 src3 = { 2.0f, 2.0f, 1.0f};
16 float3 min3 = { 0.5f, -3.0f, 3.0f};
17 float3 max3 = { 1.0f, 9.0f, 4.0f};
19 float3 res3 = clamp(src3, min3, max3);
Dcopy_test.rs33 float3 __attribute((kernel)) copyFloat3(float3 i) {
/frameworks/rs/driver/runtime/arch/
Dgeneric.c90 extern float3 __attribute__((overloadable)) clamp(float3 amount, float3 low, float3 high);
93 extern float3 __attribute__((overloadable)) clamp(float3 amount, float low, float high);
125 extern float3 __attribute__((overloadable)) fmax(float3 v1, float3 v2) { in fmax()
126 float3 r; in fmax()
149 extern float3 __attribute__((overloadable)) fmax(float3 v1, float v2) { in fmax()
150 float3 r; in fmax()
181 extern float3 __attribute__((overloadable)) fmin(float3 v1, float3 v2) { in fmin()
182 float3 r; in fmin()
205 extern float3 __attribute__((overloadable)) fmin(float3 v1, float v2) { in fmin()
206 float3 r; in fmin()
[all …]
/frameworks/ex/carousel/java/com/android/ex/carousel/
Dcarousel.rs44 float3 position; field
45 float3 direction;
49 float3 point; field
50 float3 normal;
55 float3 center; // center of a y-axis-aligned infinite cylinder field
60 float3 from; field
61 float3 at;
62 float3 up;
154 static const float3 SELECTED_SCALE_FACTOR = { 0.1f, 0.1f, 0.1f }; // increase by this % constant
263 static const float3 cardVertices[4] = { constant
[all …]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
Dsimplemodel.rs36 float3 bBoxMin;
37 float3 bBoxMax;
42 static float3 gLookAt; constant
51 static float3 toFloat3(float x, float y, float z) { variable
52 float3 f;
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
Dmono.rs20 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f}; variable
25 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
Dshaderstest.rs46 float3 bBoxMin;
47 float3 bBoxMax;
51 static float3 gLookAt; variable
60 static float3 toFloat3(float x, float y, float z) { variable
61 float3 f;
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
Dfbotest.rs37 float3 bBoxMin;
38 float3 bBoxMax;
43 static float3 gLookAt; constant
107 info->bBoxMin = (float3){minX, minY, minZ};
108 info->bBoxMax = (float3){maxX, maxY, maxZ};
Dfbosync.rs38 float3 bBoxMin;
39 float3 bBoxMax;
44 static float3 gLookAt; constant
108 info->bBoxMin = (float3){minX, minY, minZ};
109 info->bBoxMax = (float3){maxX, maxY, maxZ};
/frameworks/rs/tests/cppbasic/
Dmono.rs25 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f}; variable
48 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dgreyscale.fs19 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
24 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dgreyscale.fs19 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
24 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dgreyscale.fs19 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
24 float3 mono = dot(f4.rgb, gMonoMult);
Dwbalance.rs21 static float3 scale; constant
105 float3 t = convert_float3(in.rgb);
/frameworks/compile/slang/tests/F_float3_v13/
Dfloat3_v13.rs6 float3 f; field
/frameworks/compile/slang/tests/F_float3_array/
Dfloat3_array.rs4 float3 f[2];
/frameworks/compile/slang/tests/F_struct_float3_array/
Dstruct_float3_array.rs5 float3 f[2]; field
/frameworks/compile/slang/tests/P_static_struct/
Dstatic_struct.rs6 float3 point; field

1234