HomeSort by relevance Sort by last modified time
    Searched refs:int4 (Results 1 - 25 of 157) sorted by null

1 2 3 4 5 6 7

  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
double.rs 19 int4 RS_KERNEL doubleKernel(int4 in)
increment.rs 19 int4 RS_KERNEL increment(int4 in)
addup.rs 22 int4 RS_KERNEL add(uint x)
increment2.rs 21 void RS_KERNEL increment2(int4 in, int x)
int4.rs 21 int4 gi4 = {2, 2, 2, 2};
25 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
  /external/clang/test/Sema/
conversion-64-32.c 9 typedef int int4 __attribute__ ((vector_size(16))); typedef
12 int4 test1(long2 a) {
13 int4 v127 = a; // no warning.
ext_vector_comparisons.c 3 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
5 static int4 test1() {
6 int4 vec, rv;
20 static int4 test2() {
typedef-retain.c 4 typedef int int4 __attribute__((vector_size(16))); typedef
5 typedef int4* int4p;
7 void test1(float4 a, int4 *result, int i) {
8 result[i] = a; // expected-error {{assigning to 'int4' (vector of 4 'int' values) from incompatible type 'float4' (vector of 4 'float' values)}}
12 result[i] = a; // expected-error {{assigning to 'int4' (vector of 4 'int' values) from incompatible type 'float4' (vector of 4 'float' values)}}
ext_vector_casts.c 7 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
19 int4 ivec4;
33 ivec4 = (int4)5.0f;
34 ivec4 = (int4)5;
35 ivec4 = (int4)vec4_3;
37 i = (int)ivec4; // expected-error {{invalid conversion between vector type 'int4' (vector of 4 'int' values) and integer type 'int' of different size}}
38 i = ivec4; // expected-error {{assigning to 'int' from incompatible type 'int4' (vector of 4 'int' values)}}
40 ivec4 = (int4)ptr; // expected-error {{invalid conversion between vector type 'int4' (vector of 4 'int' values) and scalar type 'int *'}}
49 ivec4 += vec4; // expected-error {{cannot convert between vector values of different size ('int4' (vector of 4 'int' values) and 'float4' (vector of 4 'float' values))}
    [all...]
transparent-union.c 68 typedef int int4 __attribute__((ext_vector_type(4))); typedef
70 int4 vec; // expected-warning{{first field of a transparent union cannot have vector type 'int4' (vector of 4 'int' values); transparent_union attribute ignored}}
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
double.rs 20 int4 __attribute__((kernel)) doubleKernel(int4 in)
increment.rs 20 int4 __attribute__((kernel)) increment(int4 in)
reduction.rs 23 int4 __attribute__((kernel)) add(uint x)
28 int4 __attribute__((kernel)) add2(uint x)
  /external/clang/test/CodeGenCXX/
vector-splat-conversion.cpp 20 typedef __attribute__((__ext_vector_type__(4))) int int4;
27 int4 intsT = (int4)true;
29 int4 intsF = (int4)false;
40 constexpr int4 cIntsT = (int4)true;
42 constexpr int4 cIntsF = (int4)false;
  /external/clang/test/CodeGen/
palignr.c 5 typedef __attribute__((vector_size(16))) int int4; typedef
8 int4 align1(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 15); }
12 int4 align2(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 16); }
14 int4 align3(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 17);
    [all...]
ext-vector.c 5 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
119 int4 cmp;
130 void test7(int4 *ap, int4 *bp, int c) {
131 int4 a = *ap;
132 int4 b = *bp;
186 int4 cmp;
207 int4 cmp;
218 int test9(int4 V) {
225 int test10(int4 V)
    [all...]
  /frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
colorcube.rs 22 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;
  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
colorcube.rs 22 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;
  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
colorcube.rs 22 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;
  /frameworks/rs/cpu_ref/
rsCpuIntrinsic3DLUT.cpp 66 int4 dims = {
73 const int4 coordMul = convert_int4(m * (float4)0x8000);
94 int4 baseCoord = convert_int4(*in) * coordMul;
95 int4 coord1 = baseCoord >> (int4)15;
96 //int4 coord2 = min(coord1 + 1, gDims - 1);
98 int4 weight2 = baseCoord & 0x7fff;
99 int4 weight1 = (int4)0x8000 - weight2;
117 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)7
    [all...]
  /frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
find_region.rs 71 static int4 padRegionRect_ss(float4 rec) {
77 int4 out = {(int)(rec.x - 1), (int)(rec.y - 1), mWidth + (int)(rec.x - 1),
82 static int4 calcSearchRange_ss(int4 roiBounds, int imgWidth, int imgHeight,
87 return (int4){minr.x, minr.y, maxr.x, maxr.y};
105 static int2 gfindMin_ss(rs_allocation fit, int4 regionInSearch) {
130 static int width(int4 rec) { return rec.z - rec.x; }
131 static int height(int4 rec) { return rec.w - rec.y; }
146 int4 roiBounds = padRegionRect_ss(bounds);
148 int4 searchRange = calcSearchRange_ss(roiBounds, imgWidth, imgHeight, 2)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestIlogb.rs 35 int4 __attribute__((kernel)) testIlogbFloat4Int4(float4 inV) {
TestPown.rs 40 int4 inExponent = rsGetElementAt_int4(gAllocInExponent, x);
60 int4 inExponent = rsGetElementAt_int4(gAllocInExponent, x);
TestNativeRootn.rs 40 int4 inN = rsGetElementAt_int4(gAllocInN, x);
  /frameworks/rs/tests/lldb/tests/harness/
RS_funs.py 40 uint4 abs(int4 v);
130 int4 clamp(int4 value, int min_value, int max_value);
131 int4 clamp(int4 value, int4 min_value, int4 max_value);
182 int4 clz(int4 value);
299 float4 frexp(float4 v, int4* exponent)
    [all...]

Completed in 654 milliseconds

1 2 3 4 5 6 7