/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | int4.rscript | 27 int4 i4 = {u4.x, u4.y, u4.z, u4.w}; 28 i4 *= gi4; 30 rsDebug("i4.x", i4.x); 31 rsDebug("i4.y", i4.y); 32 rsDebug("i4.z", i4.z); 33 rsDebug("i4.w", i4.w); 35 _RS_ASSERT(i4.x == 8); 36 _RS_ASSERT(i4.y == 8); 37 _RS_ASSERT(i4.z == 8); 38 _RS_ASSERT(i4.w == 8);
|
D | UT_instance.java | 80 int i4[] = new int[1]; in run() local 86 ai4.copyTo(i4); in run() 92 assertEquals(4, i4[0]); in run() 97 assertEquals(4, i4[0]); in run()
|
D | apitest.rscript | 67 volatile int4 i4; 266 i4 = rsGetElementAt_int4(aInt4, 0); 267 rsSetElementAt_int4(aInt4, i4, 0); 268 i4 = rsGetElementAt_int4(aInt4, 0, 0); 269 rsSetElementAt_int4(aInt4, i4, 0, 0); 270 i4 = rsGetElementAt_int4(aInt4, 0, 0, 0); 271 rsSetElementAt_int4(aInt4, i4, 0, 0, 0); 454 c4 = convert_char4(i4); 476 uc4 = convert_uchar4(i4); 498 s4 = convert_short4(i4); [all …]
|
D | foreach_multi.rscript | 26 uint32_t i4; 68 retval.i4 = in0 + in1; 167 _RS_ASSERT(result->i4 == sum);
|
D | math.rscript | 31 volatile int4 i4; 219 f4 = fnc(f4, i4); 247 f4 = fnc(f4, (int4*) &i4); 254 f4 = fnc(f4, f4, (int4*) &i4); 261 i4 = fnc(f4);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | int4.rscript | 25 int4 i4 = {u4.x, u4.y, u4.z, u4.w}; 26 i4 *= gi4; 28 rsDebug("i4.x", i4.x); 29 rsDebug("i4.y", i4.y); 30 rsDebug("i4.z", i4.z); 31 rsDebug("i4.w", i4.w); 33 _RS_ASSERT(i4.x == 8); 34 _RS_ASSERT(i4.y == 8); 35 _RS_ASSERT(i4.z == 8); 36 _RS_ASSERT(i4.w == 8);
|
D | UT_instance.java | 78 int i4[] = new int[1]; in run() local 84 ai4.copyTo(i4); in run() 90 assertEquals(4, i4[0]); in run() 95 assertEquals(4, i4[0]); in run()
|
D | foreach_multi.rscript | 24 uint32_t i4; 66 retval.i4 = in0 + in1; 165 _RS_ASSERT(result->i4 == sum);
|
D | math_fp16.rscript | 27 static volatile int4 i4; 39 i4 = fn(h4); 51 h4 = fn(h4, i4); 57 h4 = fn(h4, (int4 *) &i4); 99 h4 = fn(h4, h4, (int4 *) &i4);
|
D | math.rscript | 29 volatile int4 i4; 217 f4 = fnc(f4, i4); 245 f4 = fnc(f4, (int4*) &i4); 252 f4 = fnc(f4, f4, (int4*) &i4); 259 i4 = fnc(f4);
|
/frameworks/rs/ |
D | rsCppUtils.h | 174 static inline uint16_t rsBoxFilter565(uint16_t i1, uint16_t i2, uint16_t i3, uint16_t i4) { in rsBoxFilter565() argument 175 uint32_t r = ((i1 & 0x1f) + (i2 & 0x1f) + (i3 & 0x1f) + (i4 & 0x1f)); in rsBoxFilter565() 176 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f); in rsBoxFilter565() 177 uint32_t b = ((i1 >> 11) + (i2 >> 11) + (i3 >> 11) + (i4 >> 11)); in rsBoxFilter565() 181 static inline uint32_t rsBoxFilter8888(uint32_t i1, uint32_t i2, uint32_t i3, uint32_t i4) { in rsBoxFilter8888() argument 182 uint32_t r = (i1 & 0xff) + (i2 & 0xff) + (i3 & 0xff) + (i4 & 0xff); in rsBoxFilter8888() 183 … uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff); in rsBoxFilter8888() 184 …uint32_t b = ((i1 >> 16) & 0xff) + ((i2 >> 16) & 0xff) + ((i3 >> 16) & 0xff) + ((i4 >> 16) & 0xff); in rsBoxFilter8888() 185 …uint32_t a = ((i1 >> 24) & 0xff) + ((i2 >> 24) & 0xff) + ((i3 >> 24) & 0xff) + ((i4 >> 24) & 0xff); in rsBoxFilter8888()
|
D | rsFont.cpp | 591 int32_t i4 = i * 4; in initVertexArrayBuffers() local 593 indexPtr[i6 + 0] = i4 + 0; in initVertexArrayBuffers() 594 indexPtr[i6 + 1] = i4 + 1; in initVertexArrayBuffers() 595 indexPtr[i6 + 2] = i4 + 2; in initVertexArrayBuffers() 597 indexPtr[i6 + 3] = i4 + 0; in initVertexArrayBuffers() 598 indexPtr[i6 + 4] = i4 + 2; in initVertexArrayBuffers() 599 indexPtr[i6 + 5] = i4 + 3; in initVertexArrayBuffers()
|
/frameworks/av/media/module/codecs/amrwb/enc/src/asm/ARMV5E/ |
D | residu_asm_opt.s | 83 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/ |
D | math_fp.rscript | 7 int4 i4; 24 i4 = fnc(f4); 42 f4 = fnc(f4, &i4); 60 f4 = fnc(f4, i4); 72 f4 = fnc(f4, f4, &i4);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 65 volatile int4 i4; 264 i4 = rsGetElementAt_int4(aInt4, 0); 265 rsSetElementAt_int4(aInt4, i4, 0); 266 i4 = rsGetElementAt_int4(aInt4, 0, 0); 267 rsSetElementAt_int4(aInt4, i4, 0, 0); 268 i4 = rsGetElementAt_int4(aInt4, 0, 0, 0); 269 rsSetElementAt_int4(aInt4, i4, 0, 0, 0); 452 c4 = convert_char4(i4); 474 uc4 = convert_uchar4(i4); 496 s4 = convert_short4(i4); [all …]
|
/frameworks/av/media/module/codecs/amrnb/enc/src/ |
D | s10_8pf.cpp | 568 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/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 13 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/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 13 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);
|
D | math.rs.orig | 13 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);
|
D | math.rscript | 13 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/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | math.rscript | 13 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/toolkit/ |
D | x86.cpp | 155 __m128i i4, o4; in rsdIntrinsicColorMatrix4x4_K() local 169 i4 = _mm_load_si128((const __m128i *)src); in rsdIntrinsicColorMatrix4x4_K() 170 xy = _mm_shuffle_epi8(i4, Mxy); in rsdIntrinsicColorMatrix4x4_K() 171 zw = _mm_shuffle_epi8(i4, Mzw); in rsdIntrinsicColorMatrix4x4_K() 211 __m128i i4, o4; in rsdIntrinsicColorMatrix3x3_K() local 225 i4 = _mm_loadu_si128((const __m128i *)src); in rsdIntrinsicColorMatrix3x3_K() 226 xy = _mm_shuffle_epi8(i4, Mxy); in rsdIntrinsicColorMatrix3x3_K() 227 zw = _mm_shuffle_epi8(i4, Mzw); in rsdIntrinsicColorMatrix3x3_K() 263 __m128i i4, o4; in rsdIntrinsicColorMatrixDot_K() local 281 i4 = _mm_loadu_si128((const __m128i *)src); in rsdIntrinsicColorMatrixDot_K() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_x86.cpp | 152 __m128i i4, o4; in rsdIntrinsicColorMatrix4x4_K() local 166 i4 = _mm_load_si128((const __m128i *)src); in rsdIntrinsicColorMatrix4x4_K() 167 xy = _mm_shuffle_epi8(i4, Mxy); in rsdIntrinsicColorMatrix4x4_K() 168 zw = _mm_shuffle_epi8(i4, Mzw); in rsdIntrinsicColorMatrix4x4_K() 208 __m128i i4, o4; in rsdIntrinsicColorMatrix3x3_K() local 222 i4 = _mm_loadu_si128((const __m128i *)src); in rsdIntrinsicColorMatrix3x3_K() 223 xy = _mm_shuffle_epi8(i4, Mxy); in rsdIntrinsicColorMatrix3x3_K() 224 zw = _mm_shuffle_epi8(i4, Mzw); in rsdIntrinsicColorMatrix3x3_K() 260 __m128i i4, o4; in rsdIntrinsicColorMatrixDot_K() local 278 i4 = _mm_loadu_si128((const __m128i *)src); in rsdIntrinsicColorMatrixDot_K() [all …]
|
/frameworks/compile/slang/tests/P_math_int/ |
D | math_int.rscript | 32 int4 i4;
|
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rscript | 234 RUN_BENCH(res_f_4 = fnc(src1_f_4, src1_i_4), "f4 " #fnc "(f4, i4)") 262 RUN_BENCH(res_f_4 = fnc(src1_f_4, (int4*) &src1_i_4), "f4 " #fnc "(f4, i4*)") 269 RUN_BENCH(res_f_4 = fnc(src1_f_4, src2_f_4, (int4*) &src1_i_4), "f4 " #fnc "(f4, f4, i4*)") 276 RUN_BENCH(res_i_4 = fnc(src1_f_4), "i4 " #fnc "(f4)")
|