Home
last modified time | relevance | path

Searched refs:i4 (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dint4.rs9 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
10 i4 *= gi4;
12 rsDebug("i4.x", i4.x);
13 rsDebug("i4.y", i4.y);
14 rsDebug("i4.z", i4.z);
15 rsDebug("i4.w", i4.w);
17 _RS_ASSERT(i4.x == 8);
18 _RS_ASSERT(i4.y == 8);
19 _RS_ASSERT(i4.z == 8);
20 _RS_ASSERT(i4.w == 8);
Dmath.rs13 volatile int4 i4;
194 f4 = fnc(f4, i4);
222 f4 = fnc(f4, (int4*) &i4);
229 f4 = fnc(f4, f4, (int4*) &i4);
236 i4 = fnc(f4);
/frameworks/rs/
DrsUtils.h102 static inline uint16_t rsBoxFilter565(uint16_t i1, uint16_t i2, uint16_t i3, uint16_t i4) { in rsBoxFilter565() argument
103 uint32_t r = ((i1 & 0x1f) + (i2 & 0x1f) + (i3 & 0x1f) + (i4 & 0x1f)); in rsBoxFilter565()
104 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f); in rsBoxFilter565()
105 uint32_t b = ((i1 >> 11) + (i2 >> 11) + (i3 >> 11) + (i4 >> 11)); in rsBoxFilter565()
109 static inline uint32_t rsBoxFilter8888(uint32_t i1, uint32_t i2, uint32_t i3, uint32_t i4) { in rsBoxFilter8888() argument
110 uint32_t r = (i1 & 0xff) + (i2 & 0xff) + (i3 & 0xff) + (i4 & 0xff); in rsBoxFilter8888()
111 … uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff); in rsBoxFilter8888()
112 …uint32_t b = ((i1 >> 16) & 0xff) + ((i2 >> 16) & 0xff) + ((i3 >> 16) & 0xff) + ((i4 >> 16) & 0xff); in rsBoxFilter8888()
113 …uint32_t a = ((i1 >> 24) & 0xff) + ((i2 >> 24) & 0xff) + ((i3 >> 24) & 0xff) + ((i4 >> 24) & 0xff); in rsBoxFilter8888()
DrsFont.cpp588 int32_t i4 = i * 4; in initVertexArrayBuffers() local
590 indexPtr[i6 + 0] = i4 + 0; in initVertexArrayBuffers()
591 indexPtr[i6 + 1] = i4 + 1; in initVertexArrayBuffers()
592 indexPtr[i6 + 2] = i4 + 2; in initVertexArrayBuffers()
594 indexPtr[i6 + 3] = i4 + 0; in initVertexArrayBuffers()
595 indexPtr[i6 + 4] = i4 + 2; in initVertexArrayBuffers()
596 indexPtr[i6 + 5] = i4 + 3; in initVertexArrayBuffers()
/frameworks/support/renderscript/v8/rs_support/
DrsUtils.h102 static inline uint16_t rsBoxFilter565(uint16_t i1, uint16_t i2, uint16_t i3, uint16_t i4) { in rsBoxFilter565() argument
103 uint32_t r = ((i1 & 0x1f) + (i2 & 0x1f) + (i3 & 0x1f) + (i4 & 0x1f)); in rsBoxFilter565()
104 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f); in rsBoxFilter565()
105 uint32_t b = ((i1 >> 11) + (i2 >> 11) + (i3 >> 11) + (i4 >> 11)); in rsBoxFilter565()
109 static inline uint32_t rsBoxFilter8888(uint32_t i1, uint32_t i2, uint32_t i3, uint32_t i4) { in rsBoxFilter8888() argument
110 uint32_t r = (i1 & 0xff) + (i2 & 0xff) + (i3 & 0xff) + (i4 & 0xff); in rsBoxFilter8888()
111 … uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff); in rsBoxFilter8888()
112 …uint32_t b = ((i1 >> 16) & 0xff) + ((i2 >> 16) & 0xff) + ((i3 >> 16) & 0xff) + ((i4 >> 16) & 0xff); in rsBoxFilter8888()
113 …uint32_t a = ((i1 >> 24) & 0xff) + ((i2 >> 24) & 0xff) + ((i3 >> 24) & 0xff) + ((i4 >> 24) & 0xff); in rsBoxFilter8888()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dresidu_asm_opt.s83 SMULTT r12, r5, r10 @i4(0) --- r12 = x[3] * a0
87 SMLABB r12, r5, r10, r12 @i4(1) --- r12 += x[2] * a1
90 SMLATT r12, r6, r2, r12 @i4(2) --- r12 += x[1] * a2
91 SMLABB r12, r6, r2, r12 @i4(3) --- r12 += x[0] * a3
98 SMLATT r12, r7, r2, r12 @i4(4) --- r12 += x[-1] * a4
103 SMLABB r12,r7, r2, r12 @ i4 (5)
109 SMLATT r12,r8, r2, r12 @ i4 (6)
113 SMLABB r12,r8, r2, r12 @ i4 (7)
119 SMLATT r12,r9, r2, r12 @ i4 (8)
123 SMLABB r12,r9, r2, r12 @ i4 (9)
[all …]
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs7 int4 i4;
24 i4 = fnc(f4);
42 f4 = fnc(f4, &i4);
60 f4 = fnc(f4, i4);
72 f4 = fnc(f4, f4, &i4);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Ds10_8pf.cpp568 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i9; in search_10and8i40() local
767 i4 = ia; in search_10and8i40()
787 s += (Word32) rr[i4][i7]; in search_10and8i40()
824 alp1 += (Word32) * (p_temp2 + i4) << 11; in search_10and8i40()
878 s += (Word32) rr[i4][i9]; in search_10and8i40()
915 alp1 += (Word32) rr[i4][j] << 10; in search_10and8i40()
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/
Dmath.rs13 volatile int4 i4;
73 f4 = fnc(f4, i4);
94 f4 = fnc(f4, (int4*) &i4);
101 f4 = fnc(f4, f4, (int4*) &i4);
108 i4 = fnc(f4);
/frameworks/base/libs/hwui/
DFontRenderer.cpp287 int i4 = i * 4; in initVertexArrayBuffers() local
289 indexBufferData[i6 + 0] = i4 + 0; in initVertexArrayBuffers()
290 indexBufferData[i6 + 1] = i4 + 1; in initVertexArrayBuffers()
291 indexBufferData[i6 + 2] = i4 + 2; in initVertexArrayBuffers()
293 indexBufferData[i6 + 3] = i4 + 0; in initVertexArrayBuffers()
294 indexBufferData[i6 + 4] = i4 + 2; in initVertexArrayBuffers()
295 indexBufferData[i6 + 5] = i4 + 3; in initVertexArrayBuffers()
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
Dmath.rs13 volatile int4 i4;
194 f4 = fnc(f4, i4);
222 f4 = fnc(f4, (int4*) &i4);
229 f4 = fnc(f4, f4, (int4*) &i4);
236 i4 = fnc(f4);
Dmath.rs.bak13 volatile int4 i4;
180 f4 = fnc(f4, i4);
208 f4 = fnc(f4, (int4*) &i4);
215 f4 = fnc(f4, f4, (int4*) &i4);
222 i4 = fnc(f4);
Dmath.rs.orig13 volatile int4 i4;
194 f4 = fnc(f4, i4);
222 f4 = fnc(f4, (int4*) &i4);
229 f4 = fnc(f4, f4, (int4*) &i4);
236 i4 = fnc(f4);
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/
DR4R8First_v5.s108 add r7, r9, r3 @ i4 = (i0 + i2) >> 1@
176 add r11, r5, r9 @ buf[ 1] = i4 + t1@
179 sub r5, r5, r9 @ buf[ 9] = i4 - t1@
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dtransform.c113 int i4, i5, i6, i7; in Radix8First() local
128 i4 = (i0 + i2) >> 1; in Radix8First()
151 buf[ 1] = i4 + t1; in Radix8First()
153 buf[ 9] = i4 - t1; in Radix8First()
/frameworks/compile/slang/tests/P_math_int/
Dmath_int.rs32 int4 i4;
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV7/
DR4R8First_v7.s50 VADD.S32 Q0, Q2, Q3 @ r4 = (r0 + r2)@i4 = (i0 + i2)@i6 = (i1 + r3)@r7 = (r1 + i3)