Searched refs:float3 (Results 1 - 25 of 56) sorted by relevance

123

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A Dbugdroid.rs29 static float pillDistance(float3 p1, float3 p2, float3 img) {
37 static short pill(float3 p1, float3 p2, float rad, short max, float3 img) {
41 static short cogPill(float3 p1, float3 p2, float rad, short max, float3 img) {
42 float3 ve
[all...]
H A Dmandelbulb.rs26 static float3 nylander(float3 p, int n) {
27 float3 out;
42 static float3 nylander3(float3 p) {
43 float3 out = (float3){0.f, 0.f, 0.f};
58 float3 c = (float3) {(float) x, (float) y, (float) z};
62 float3
[all...]
H A Dvr.rs25 float3 s;
26 float3 dx;
27 float3 dy;
28 float3 dz;
33 static float3 mLight;
47 s = rsMatrixMultiply(&matrix4, (float3) {0.5f, 0.5f, 0.5f}).xyz;
48 dx = rsMatrixMultiply(&matrix3, (float3) {1.f, 0.f, 0.f});
49 dy = rsMatrixMultiply(&matrix3, (float3) {0.f, 1.f, 0.f});
50 dz = rsMatrixMultiply(&matrix3, (float3) {0.f, 0.f, 1.f});
58 float3 mLightRelitvePo
[all...]
H A Drasterize.rs41 triangleSetup(float3 f1, float3 f2, float3 f3) {
43 float3 tmp = f1;
78 float3 f1;
79 float3 f2;
80 float3 f3;
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
H A Dmono.rs20 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
25 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A Dcopy_test.rs33 float3 __attribute((kernel)) copyFloat3(float3 i) {
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A Dcopy_test.rs33 float3 __attribute((kernel)) copyFloat3(float3 i) {
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A Dcopy_test.rs33 float3 __attribute((kernel)) copyFloat3(float3 i) {
/frameworks/av/cmds/stagefright/filters/
H A Dnightvision.rs21 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
22 const static float3 gNightVisionMult = {0.5f, 1.f, 0.5f};
29 float3 rgb = {v_in->y * 0.003921569f, v_in->z * 0.003921569f,
33 float3 result = dot(rgb, gMonoMult) * gNightVisionMult;
H A Dsaturation.rs21 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
30 float3 rgb = {v_in->y * 0.003921569f, v_in->z * 0.003921569f,
34 float3 result = dot(rgb, gMonoMult);
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A Dhealing.rs71 static float3 getF32_3(AllocationF32_3 in,uint32_t x,uint32_t y) {
77 float3 __attribute__((kernel)) laplacian( uint32_t x, uint32_t y) {
78 float3 out = 4 * getF32_3(src, x, y);
87 AllocationF32_3 laplace; // float3
88 AllocationF32_3 dest1; // float3
89 AllocationF32_3 dest2; // float3
91 float3 __attribute__((kernel)) convert_to_f(uchar4 in) {
95 float3 __attribute__((kernel)) copyMasked(uchar in, uint32_t x, uint32_t y) {
99 uchar4 __attribute__((kernel)) convert_to_uc(float3 in) {
112 float3 __attribute_
[all...]
/frameworks/av/media/libstagefright/filters/
H A DsaturationARGB.rs21 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
30 float3 rgb = {v_in->y * 0.003921569f, v_in->z * 0.003921569f,
34 float3 result = dot(rgb, gMonoMult);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dgreyscale.rs20 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
25 float3 mono = dot(f4.rgb, gMonoMult);
H A Dexposure.rs29 float3 t = convert_float3(in.rgb);
H A Dcontrast.rs29 float3 v = convert_float3(in.rgb) * brightM + brightC;
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dgreyscale.rs20 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
25 float3 mono = dot(f4.rgb, gMonoMult);
H A Dcontrast.rs29 float3 v = convert_float3(in.rgb) * brightM + brightC;
H A Dposterize.rs25 const static float3 mono = {0.299f, 0.587f, 0.114f};
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dgreyscale.rs20 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
25 float3 mono = dot(f4.rgb, gMonoMult);
H A Dexposure.rs29 float3 t = convert_float3(in.rgb);
H A Dcontrast.rs29 float3 v = convert_float3(in.rgb) * brightM + brightC;
H A Dposterize.rs25 const static float3 mono = {0.299f, 0.587f, 0.114f};
/frameworks/rs/scriptc/
H A Drs_vector_math.rsh46 extern float3 __attribute__((const, overloadable))
47 cross(float3 left_vector, float3 right_vector);
76 distance(float3 left_vector, float3 right_vector);
113 dot(float3 left_vector, float3 right_vector);
160 fast_distance(float3 left_vector, float3 right_vector);
190 fast_length(float3
[all...]
H A Drs_math.rsh26 * float3 a, b;
212 extern float3 __attribute__((const, overloadable))
213 acos(float3 v);
251 extern float3 __attribute__((const, overloadable))
252 acosh(float3 v);
292 extern float3 __attribute__((const, overloadable))
293 acospi(float3 v);
331 extern float3 __attribute__((const, overloadable))
332 asin(float3 v);
370 extern float3 __attribute_
[all...]
/frameworks/rs/driver/runtime/
H A Drs_cl.c5 extern float3 __attribute__((overloadable)) convert_float3(int3 c);
9 extern int3 __attribute__((overloadable)) convert_int3(float3 c);
15 extern float3 __attribute__((overloadable)) fmin(float3 v, float v2);
20 extern float3 __attribute__((overloadable)) fmax(float3 v, float v2);
32 extern float3 __attribute__((overloadable)) fnc(float3 v) { \
33 float3 r; \
55 extern int3 __attribute__((overloadable)) fnc(float3
[all...]

Completed in 869 milliseconds

123