/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | int4.rscript | 9 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);
|
D | UT_instance.java | 81 int i4[] = new int[1]; in run() local 87 ai4.copyTo(i4); in run() 93 assertEquals(4, i4[0]); in run() 98 assertEquals(4, i4[0]); in run()
|
D | apitest.rscript | 49 volatile int4 i4; 246 i4 = rsGetElementAt_int4(aInt4, 0); 247 rsSetElementAt_int4(aInt4, i4, 0); 248 i4 = rsGetElementAt_int4(aInt4, 0, 0); 249 rsSetElementAt_int4(aInt4, i4, 0, 0); 250 i4 = rsGetElementAt_int4(aInt4, 0, 0, 0); 251 rsSetElementAt_int4(aInt4, i4, 0, 0, 0); 434 c4 = convert_char4(i4); 456 uc4 = convert_uchar4(i4); 478 s4 = convert_short4(i4); [all …]
|
/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 …]
|
/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()
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | generate_proposals.mod.py | 24 i4 = Input("imageInfo", "TENSOR_FLOAT32", "{1, 2}") # image info variable 29 i1, i2, i3, i4, 4.0, 4.0, -1, -1, 0.30, 1.0, layout).To(o1, o2, o3) 35 i4: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 52 i4: [32, 32], # image info 73 i4 = Input("imageInfo", "TENSOR_FLOAT32", "{2, 2}") # image info variable 78 i1, i2, i3, i4, 10.0, 10.0, 32, 16, 0.20, 1.0, layout).To(o1, o2, o3) 84 i4: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 164 i4: [64, 64, 32, 32], # image info
|
D | roi_align.mod.py | 175 i4 = Input("in", "TENSOR_FLOAT32", "{4, 4, 4, 1}") variable 178 Model().Operation("ROI_ALIGN", i4, roi4, [2, 2, 2, 2, 2], 2, 2, 2.0, 1.0, 0, 4, layout).To(o4) 181 i4: ("TENSOR_QUANT8_ASYMM", 0.25, 128), 188 i4: [ 211 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, "float16") 248 i4 = Input("in", "TENSOR_FLOAT32", "{1, 512, 8, 1}") variable 251 Model().Operation("ROI_ALIGN", i4, roi4, [0], 128, 4, 1.0, 64.0, 10, 10, layout).To(o4) 254 i4: ("TENSOR_QUANT8_ASYMM", 0.25, 128), 261 i4: [0] * (512 * 8), 264 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, "float16")
|
D | space_to_batch_v1_2.mod.py | 77 i4 = Input("op1", "TENSOR_FLOAT32", "{1, 4, 2, 1}") variable 80 Model().Operation("SPACE_TO_BATCH_ND", i4, [3, 2], pad4, layout).To(o4) 84 i4: ("TENSOR_QUANT8_ASYMM", 0.25, 128), 90 i4: [1, 2, 3, 4, 5, 6, 7, 8], 94 }).AddNchw(i4, o4, layout).AddVariations("relaxed", "float16", quant8)
|
D | depthwise_conv2d_v1_2.mod.py | 115 i4 = Input("op1", "TENSOR_FLOAT32", "{1, 2, 2, 4}") variable 119 Model("large").Operation("DEPTHWISE_CONV_2D", i4, f4, b4, 0, 0, 0, 0, 1, 1, 1, 0, layout).To(o4) 123 i4: ("TENSOR_QUANT8_ASYMM", 0.5, 128), 129 i4: ("TENSOR_QUANT8_ASYMM", 0.5, 128), 137 i4: [10, 21, 10, 0, 142 }).AddNchw(i4, o4, layout).AddVariations("relaxed", "float16", quant8, channelQuant8)
|
D | conv2d_v1_2.mod.py | 104 i4 = Input("op1", "TENSOR_FLOAT32", "{1, 2, 3, 3}") variable 108 Model("large").Operation("CONV_2D", i4, f4, b4, 0, 0, 0, 0, 1, 1, 0, layout).To(o4) 112 i4: ("TENSOR_QUANT8_ASYMM", 0.5, 128), 118 i4: ("TENSOR_QUANT8_ASYMM", 0.5, 128), 124 i4: ("TENSOR_QUANT8_ASYMM", 1.0, 127), 132 i4: [1., 2., 3., 4., 5., 6., 7., 8., 9., 140 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, channelQuant8, channelQuant8_mult_gt_1,…
|
D | max_pool_v1_2.mod.py | 94 i4 = Input("op1", "TENSOR_FLOAT32", "{1, 2, 4, 1}") variable 96 Model().Operation("MAX_POOL_2D", i4, 1, 2, 2, 2, 2, 0, layout).To(o4) 100 i4: ("TENSOR_QUANT8_ASYMM", 0.25, 0), 106 i4: [0, 6, 2, 4, 3, 2, 10, 7], 108 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, "float16")
|
D | avg_pool_v1_2.mod.py | 106 i4 = Input("op1", ("TENSOR_FLOAT32", [bat, row, col, chn])) variable 108 Model().Operation("AVERAGE_POOL_2D", i4, pad, pad, pad, pad, std, std, flt, flt, 3, layout).To(o4) 112 i4: ("TENSOR_QUANT8_ASYMM", 0.5, 0), 118 i4: [10 for _ in range(bat * row * col * chn)], 120 }).AddNchw(i4, o4, layout).AddVariations("relaxed", "float16", quant8)
|
D | transpose_conv2d.mod.py | 127 i4 = Input("op1", "TENSOR_FLOAT32", "{1, 4, 4, 2}") # input 0 variable 132 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4) 136 i4: ("TENSOR_QUANT8_ASYMM", 0.25, 10), 143 i4: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 151 }).AddNchw(i4, o4, s4, layout).AddVariations("relaxed", quant8, "float16")
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | generate_proposals_quant8_signed.mod.py | 23 i4 = Input("imageInfo", "TENSOR_FLOAT32", "{1, 2}") # image info variable 28 i1, i2, i3, i4, 4.0, 4.0, -1, -1, 0.30, 1.0, layout).To(o1, o2, o3) 34 i4: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 51 i4: [32, 32], # image info 73 i4 = Input("imageInfo", "TENSOR_FLOAT32", "{2, 2}") # image info variable 78 i1, i2, i3, i4, 10.0, 10.0, 32, 16, 0.20, 1.0, layout).To(o1, o2, o3) 84 i4: ("TENSOR_QUANT16_ASYMM", 0.125, 0), 164 i4: [64, 64, 32, 32], # image info
|
D | roi_align_quant8_signed.mod.py | 175 i4 = Input("in", "TENSOR_FLOAT32", "{4, 4, 4, 1}") variable 178 Model().Operation("ROI_ALIGN", i4, roi4, [2, 2, 2, 2, 2], 2, 2, 2.0, 1.0, 0, 4, layout).To(o4) 181 i4: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.25, 0), 188 i4: [ 211 }).AddNchw(i4, o4, layout).AddVariations(quant8_signed, includeDefault=False) 248 i4 = Input("in", "TENSOR_FLOAT32", "{1, 512, 8, 1}") variable 251 Model().Operation("ROI_ALIGN", i4, roi4, [0], 128, 4, 1.0, 64.0, 10, 10, layout).To(o4) 254 i4: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.25, 0), 261 i4: [0] * (512 * 8), 264 }).AddNchw(i4, o4, layout).AddVariations(quant8_signed, includeDefault=False)
|
D | space_to_batch_quant8_signed.mod.py | 195 i4 = Input("op1", "TENSOR_FLOAT32", "{1, 4, 2, 1}") variable 198 Model().Operation("SPACE_TO_BATCH_ND", i4, [3, 2], pad4, layout).To(o4) 202 i4: ("TENSOR_QUANT8_ASYMM_SIGNED", 0.25, 0), 208 i4: [1, 2, 3, 4, 5, 6, 7, 8], 212 }).AddNchw(i4, o4, layout).AddVariations(quant8_signed, includeDefault=False)
|
/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()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/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/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/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/ml/nn/tools/test_generator/tests/P_vts_internal/ |
D | add_internal.mod.py | 21 i4 = Input("i4", ("TENSOR_FLOAT32", [2])) # input 0 variable 50 model.Operation("ADD", i3, i4, act).To(t2) 58 i4: [0, 0],
|
/frameworks/ml/nn/tools/test_generator/tests/P_internal/ |
D | add_internal.mod.py | 21 i4 = Input("i4", ("TENSOR_FLOAT32", [2])) # input 0 variable 50 model.Operation("ADD", i3, i4, act).To(t2) 58 i4: [0, 0],
|