Home
last modified time | relevance | path

Searched refs:float3 (Results 1 – 25 of 90) 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.c38 static float3 getFrom565(uint16_t color) { in getFrom565()
39 float3 result; in getFrom565()
62 static inline float3 __attribute__((overloadable))
65 float3 r = {p[x], p[x+1], p[x+2]}; in getElementAt3()
76 static inline float3 __attribute__((overloadable))
79 float3 r = getFrom565(((const uint16_t *)p)[0]); in getElementAt565()
98 static inline float3 __attribute__((overloadable))
102 float3 r = {p[x], p[x+1], p[x+2]}; in getElementAt3()
114 static inline float3 __attribute__((overloadable))
118 float3 r = getFrom565(((const uint16_t *)p)[0]); in getElementAt565()
[all …]
/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_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/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/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/rs/scriptc/
Drs_core_math.rsh153 extern float3 __attribute__((const, overloadable))acos(float3 v);
189 extern float3 __attribute__((const, overloadable))acosh(float3);
225 extern float3 __attribute__((const, overloadable))acospi(float3 v);
261 extern float3 __attribute__((const, overloadable))asin(float3 v);
297 extern float3 __attribute__((const, overloadable))asinh(float3);
333 extern float3 __attribute__((const, overloadable))asinpi(float3 v);
369 extern float3 __attribute__((const, overloadable))atan(float3 v);
405 extern float3 __attribute__((const, overloadable))atan2(float3 y, float3 x);
441 extern float3 __attribute__((const, overloadable))atan2pi(float3 y, float3 x);
477 extern float3 __attribute__((const, overloadable))atanh(float3 v);
[all …]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
Dsimplemodel.rs36 float3 bBoxMin;
37 float3 bBoxMax;
42 static float3 gLookAt; variable
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; constant
60 static float3 toFloat3(float x, float y, float z) { constant
61 float3 f;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dgreyscale.rs20 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f}; variable
25 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dgreyscale.rs20 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f}; variable
25 float3 mono = dot(f4.rgb, gMonoMult);
Dwbalance.rs21 static float3 scale; constant
105 float3 t = convert_float3(in.rgb);
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
Dfbotest.rs37 float3 bBoxMin;
38 float3 bBoxMax;
43 static float3 gLookAt; variable
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; variable
108 info->bBoxMin = (float3){minX, minY, minZ};
109 info->bBoxMax = (float3){maxX, maxY, maxZ};
/frameworks/rs/tests/cppbasic-shared/
Dmono.rs25 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f}; variable
54 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/rs/tests/cppbasic/
Dmono.rs25 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f}; variable
54 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/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
/frameworks/rs/tests/typecheck/
Dkernels.rs98 float3 f3;
99 float3 f3i = {1.f, 2.f, 3.f};

1234