Searched refs:int4 (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A Ddouble.rs19 int4 RS_KERNEL doubleKernel(int4 in)
H A Dincrement.rs19 int4 RS_KERNEL increment(int4 in)
H A Daddup.rs22 int4 RS_KERNEL add(uint x)
H A Dincrement2.rs21 void RS_KERNEL increment2(int4 in, int x)
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A Ddouble.rs20 int4 RS_KERNEL doubleKernel(int4 in)
H A Dincrement.rs20 int4 RS_KERNEL increment(int4 in)
H A Dincrement2.rs22 void RS_KERNEL increment2(int4 in, int x)
H A Daddup.rs23 int4 RS_KERNEL add(uint x)
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dcolorcube.rs22 static int4 gDims;
23 static int4 gCoordMul;
38 int4 baseCoord = convert_int4(in) * gCoordMul;
39 int4 coord1 = baseCoord >> (int4)16;
40 int4 coord2 = min(coord1 + 1, gDims - 1);
42 int4 weight2 = baseCoord & 0xffff;
43 int4 weight1 = (int4)0x10000 - weight2;
H A Dwbalance.rs29 int4 hv = rsGetElementAt_int4(histogramValues, i);
56 int4 hv = rsGetElementAt_int4(histogramValues, i);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dcolorcube.rs22 static int4 gDims;
23 static int4 gCoordMul;
38 int4 baseCoord = convert_int4(in) * gCoordMul;
39 int4 coord1 = baseCoord >> (int4)16;
40 int4 coord2 = min(coord1 + 1, gDims - 1);
42 int4 weight2 = baseCoord & 0xffff;
43 int4 weight1 = (int4)0x10000 - weight2;
H A Dwbalance.rs29 int4 hv = rsGetElementAt_int4(histogramValues, i);
56 int4 hv = rsGetElementAt_int4(histogramValues, i);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dcolorcube.rs22 static int4 gDims;
23 static int4 gCoordMul;
38 int4 baseCoord = convert_int4(in) * gCoordMul;
39 int4 coord1 = baseCoord >> (int4)16;
40 int4 coord2 = min(coord1 + 1, gDims - 1);
42 int4 weight2 = baseCoord & 0xffff;
43 int4 weight1 = (int4)0x10000 - weight2;
H A Dwbalance.rs29 int4 hv = rsGetElementAt_int4(histogramValues, i);
56 int4 hv = rsGetElementAt_int4(histogramValues, i);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic3DLUT.cpp73 int4 dims = {
80 const int4 coordMul = convert_int4(m * (float4)0x8000);
101 int4 baseCoord = convert_int4(*in) * coordMul;
102 int4 coord1 = baseCoord >> (int4)15;
103 //int4 coord2 = min(coord1 + 1, gDims - 1);
105 int4 weight2 = baseCoord & 0x7fff;
106 int4 weight1 = (int4)0x8000 - weight2;
124 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)
[all...]
H A DrsCpuIntrinsicInlines.h43 typedef int int4 __attribute__((ext_vector_type(4))); typedef
85 static inline int4 clamp(int4 amount, int low, int high) {
86 int4 r;
/frameworks/rs/tests/typecheck/
H A Dkernels.rs64 int4 i4;
65 int4 i4i = {1, 2, 3, 4};
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A Dfocus_peak.rs57 int4 rgb;
/frameworks/rs/scriptc/
H A Drs_convert.rsh95 convert_float4(int4 v);
158 convert_char4(int4 v);
221 convert_uchar4(int4 v);
284 convert_short4(int4 v);
347 convert_ushort4(int4 v);
364 extern int4 __attribute__((const, overloadable))
373 extern int4 __attribute__((const, overloadable))
382 extern int4 __attribute__((const, overloadable))
391 extern int4 __attribute__((const, overloadable))
400 extern int4 __attribute_
[all...]
H A Drs_value_types.rsh48 * For example, with int4 myVar; the following are equivalent:
467 * int4: Four 32 bit signed integers
472 typedef int __attribute__((ext_vector_type(4))) int4;
H A Drs_math.rsh197 abs(int4 v);
857 extern int4 __attribute__((const, overloadable))
858 clamp(int4 value, int4 min_value, int4 max_value);
992 extern int4 __attribute__((const, overloadable))
993 clamp(int4 value, int min_value, int max_value);
1140 extern int4 __attribute__((const, overloadable))
1141 clz(int4 value);
2048 frexp(float4 v, int4* exponen
[all...]
H A Drs_allocation_data.rsh124 * For example, when calling rsAllocationVLoadX_int4(a, 20, 30), an int4 composed
244 extern int4 __attribute__((overloadable))
394 extern int4 __attribute__((overloadable))
544 extern int4 __attribute__((overloadable))
725 rsAllocationVStoreX_int4(rs_allocation a, int4 val, uint32_t x);
875 rsAllocationVStoreX_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y);
1025 rsAllocationVStoreX_int4(rs_allocation a, int4 val, uint32_t x, uint32_t y, uint32_t z);
1285 static inline int4 __attribute__((overloadable))
1287 return ((int4 *)rsGetElementAt(a, x))[0];
1565 static inline int4 __attribute_
[all...]
/frameworks/rs/api/
H A Drs_value_types.spec46 For example, with <code>int4 myVar;</code> the following are equivalent:<code><br/>
495 type: int4
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c306 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) {
307 int4 r;
507 extern int4 __attribute__((overloadable)) min(int4 v1, int4 v2) {
508 int4 r;
/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);
62 extern int4 __attribute__((overloadable)) fnc(float4 v) { \
63 int4 r; \
131 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 v2) { \
222 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 *v2) { \
286 fnc(float4 v1, float4 v2, int4 *v3) { \
1291 int4 iv = convert_int4(v);
1292 int4 x = iv + (iv >> (int4)3
[all...]

Completed in 3782 milliseconds

12