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

/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dcolorcube.rs22 static int4 gDims;
23 static int4 gCoordMul;
43 int4 baseCoord = convert_int4(*in) * gCoordMul;
44 int4 coord1 = baseCoord >> (int4)16;
45 int4 coord2 = min(coord1 + 1, gDims - 1);
47 int4 weight2 = baseCoord & 0xffff;
48 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;
43 int4 baseCoord = convert_int4(*in) * gCoordMul;
44 int4 coord1 = baseCoord >> (int4)16;
45 int4 coord2 = min(coord1 + 1, gDims - 1);
47 int4 weight2 = baseCoord & 0xffff;
48 int4 weight1 = (int4)0x10000 - weight2;
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic3DLUT.cpp72 int4 dims = {
79 const int4 coordMul = convert_int4(m * (float4)0x8000);
105 int4 baseCoord = convert_int4(*in) * coordMul;
106 int4 coord1 = baseCoord >> (int4)15;
107 //int4 coord2 = min(coord1 + 1, gDims - 1);
109 int4 weight2 = baseCoord & 0x7fff;
110 int4 weight1 = (int4)0x8000 - weight2;
128 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)
[all...]
H A DrsCpuIntrinsicInlines.h43 typedef int int4 __attribute__((ext_vector_type(4))); typedef
87 static inline int4 clamp(int4 amount, int low, int high) {
88 int4 r;
H A DrsCpuRuntimeStubs.cpp49 typedef int32_t int4 __attribute__((ext_vector_type(4))); typedef
162 static void SC_debugI4(const char *s, const int4 *i) {
163 ALOGD("int4 %s {%d, %d, %d, %d} 0x%x 0x%x 0x%x 0x%x", s, i->x, i->y, i->z, i->w, i->x, i->y, i->z, i->w);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_int4.java27 super(rstc, "int4", ctx);
33 ScriptC_int4 s = new ScriptC_int4(pRS, mRes, R.raw.int4);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_int4.java27 super(rstc, "int4", ctx);
33 ScriptC_int4 s = new ScriptC_int4(pRS, mRes, R.raw.int4);
/frameworks/rs/tests/typecheck/
H A Dkernels.rs64 int4 i4;
65 int4 i4i = {1, 2, 3, 4};
/frameworks/rs/scriptc/
H A Drs_debug.rsh216 rsDebug(const char *, int4);
H A Drs_allocation.rsh193 GET_ELEMENT_AT(int4)
328 SET_ELEMENT_AT(int4)
H A Drs_cl.rsh127 _RS_RUNTIME int4 __attribute__((const, overloadable)) fnc(float4 v);
147 _RS_RUNTIME float4 __attribute__((const, overloadable)) fnc(float4 v1, int4 v2);
165 _RS_RUNTIME float4 __attribute__((pure, overloadable)) fnc(float4 v1, int4 *v2);
197 fnc(float4 v1, float4 v2, int4 *v3);
H A Drs_types.rsh334 typedef int int4 __attribute__((ext_vector_type(4)));
/frameworks/rs/driver/runtime/
H A Drs_cl.c5 extern float4 __attribute__((overloadable)) convert_float4(int4 c);
9 extern int4 __attribute__((overloadable)) convert_int4(float4 c);
61 extern int4 __attribute__((overloadable)) fnc(float4 v) { \
62 int4 r; \
130 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 v2) { \
221 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 *v2) { \
285 fnc(float4 v1, float4 v2, int4 *v3) { \
526 extern float4 __attribute__((overloadable)) pown(float4 v, int4 p) {
1083 int4 iv = convert_int4(v);
1084 int4
[all...]
H A Drs_core.c148 PRIM_DEBUG(int4)
H A Drs_allocation.c235 ELEMENT_AT(int4)
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c302 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) {
303 int4 r;
559 extern int4 __attribute__((overloadable)) min(int4 v1, int4 v2) {
560 int4 r;
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp57 typedef int32_t int4 __attribute__((ext_vector_type(4))); typedef
759 ELEMENT_AT(int4, RS_TYPE_SIGNED_32, 4)
1384 static void SC_debugI4(const char *s, int4 i) {
1549 void rsDebug(const char *s, const int4 *c) {

Completed in 1701 milliseconds