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

12

/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/src/com/android/rs/test/
H A Dcopy_test.rs33 float3 __attribute((kernel)) copyFloat3(float3 i) {
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dgreyscale.fs19 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
24 float3 mono = dot(f4.rgb, gMonoMult);
H A Dcontrast.rs30 float3 v = convert_float3(in->rgb) * brightM + brightC;
H A Dexposure.rs29 float3 t = convert_float3(in.rgb);
H A Dlevels.rsh26 float3 pixel = convert_float4(in).rgb;
H A Dwbalance.rs21 static float3 scale;
105 float3 t = convert_float3(in.rgb);
H A Dthreshold.fs78 float3 blurredPixel = 0;
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dgreyscale.fs19 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
24 float3 mono = dot(f4.rgb, gMonoMult);
H A Dcontrast.rs34 float3 v = convert_float3(in->rgb) * brightM + brightC;
H A Dlevels.rsh26 float3 pixel = convert_float4(in).rgb;
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dgreyscale.fs19 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
24 float3 mono = dot(f4.rgb, gMonoMult);
H A Dcontrast.rs34 float3 v = convert_float3(in->rgb) * brightM + brightC;
H A Dlevels.rsh26 float3 pixel = convert_float4(in).rgb;
/frameworks/rs/driver/runtime/
H A 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
[all...]
H A Drs_sample.c39 static float3 getFrom565(uint16_t color) {
40 float3 result;
63 static inline float3 __attribute__((overloadable))
66 float3 r = {p[x], p[x+1], p[x+2]};
77 static inline float3 __attribute__((overloadable))
80 float3 r = getFrom565(((const uint16_t *)p)[0]);
99 static inline float3 __attribute__((overloadable))
103 float3 r = {p[x], p[x+1], p[x+2]};
115 static inline float3 __attribute__((overloadable))
119 float3
[all...]
H A Drs_matrix.c221 rsMatrixMultiply(rs_matrix4x4 *m, float3 in) {
230 extern float3 __attribute__((overloadable))
231 rsMatrixMultiply(rs_matrix3x3 *m, float3 in) {
235 extern float3 __attribute__((overloadable))
/frameworks/rs/scriptc/
H A 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_
[all...]
H A 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))
H A Drs_graphics.rsh409 rsgMeshComputeBoundingBox(rs_mesh mesh, float3 *bBoxMin, float3 *bBoxMax) {
/frameworks/rs/tests/cppbasic/
H A Dmono.rs25 const static float3 gMonoMult = {0.299f, 0.587f, 0.114f};
48 float3 mono = dot(f4.rgb, gMonoMult);
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs44 float3 position;
45 float3 direction;
49 float3 point;
50 float3 normal;
55 float3 center; // center of a y-axis-aligned infinite cylinder
60 float3 from;
61 float3 at;
62 float3 up;
154 static const float3 SELECTED_SCALE_FACTOR = { 0.1f, 0.1f, 0.1f }; // increase by this %
263 static const float3 cardVertice
[all...]
/frameworks/rs/driver/runtime/arch/
H A 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) {
126 float3
[all...]
/frameworks/rs/tests/typecheck/
H A Dkernels.rs98 float3 f3;
99 float3 f3i = {1.f, 2.f, 3.f};

Completed in 553 milliseconds

12