Home
last modified time | relevance | path

Searched refs:in1 (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect81 // in1 = "val"
82 public result_int reduce_my_half(int[] in1) {
83 // Verify that "in1" is non-null.
84 if (in1 == null) {
85 throw new RSIllegalArgumentException("Array \"in1\" is null!");
87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
89 ain1.copyFrom(in1);
114 // in1 = "val"
115 public result_int reduce_my_half2(int[] in1) {
116 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect149 // in1 = "in"
150 public result_int reduce_my_half_0(short[] in1) {
151 // Verify that "in1" is non-null.
152 if (in1 == null) {
153 throw new RSIllegalArgumentException("Array \"in1\" is null!");
155 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
157 ain1.copyFrom(in1);
182 // in1 = "in"
183 public result_int reduce_my_half_1(short[] in1) {
184 // Verify that "in1" is non-null.
[all …]
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
Dforeach_multi.rs31 uint32_t RS_KERNEL sum2(uint32_t in0, uint32_t in1, uint32_t x) {
33 _RS_ASSERT(in1 == x);
35 return in0 + in1;
39 sum2_struct(uint32_t in0, uint32_t in1, uint32_t x) {
42 _RS_ASSERT(in1 == x);
46 retval.i0 = in0 + in1;
47 retval.i1 = in0 + in1;
48 retval.i2 = in0 + in1;
49 retval.i3 = in0 + in1;
50 retval.i4 = in0 + in1;
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect2716 // in1 = "val"
2717 public result_half reduce_my_half(short[] in1) {
2718 // Verify that "in1" is non-null.
2719 if (in1 == null) {
2720 throw new RSIllegalArgumentException("Array \"in1\" is null!");
2722 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
2724 ain1.copyFrom(in1);
2749 // in1 = "val", flattened 2-vectors
2750 public result_half2 reduce_my_half2(short[] in1) {
2751 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect202 // in1 = "val"
203 public result_int reduce_addint(int[] in1) {
204 // Verify that "in1" is non-null.
205 if (in1 == null) {
206 throw new RSIllegalArgumentException("Array \"in1\" is null!");
208 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
210 ain1.copyFrom(in1);
235 // in1 = "val"
236 public result_int reduce_mpyint(int[] in1) {
237 // Verify that "in1" is non-null.
[all …]
Dreduce_general_examples.rs31 static void dpAccum(float *accum, float in1, float in2) {
32 *accum += in1*in2;
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect202 // in1 = "val"
203 public result_int reduce_addint(int[] in1) {
204 // Verify that "in1" is non-null.
205 if (in1 == null) {
206 throw new RSIllegalArgumentException("Array \"in1\" is null!");
208 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
210 ain1.copyFrom(in1);
235 // in1 = "val"
236 public result_int reduce_mpyint(int[] in1) {
237 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect164 // in1 = "val"
165 public result_int reduce_addint_init(int[] in1) {
166 // Verify that "in1" is non-null.
167 if (in1 == null) {
168 throw new RSIllegalArgumentException("Array \"in1\" is null!");
170 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
172 ain1.copyFrom(in1);
197 // in1 = "val"
198 public result_int reduce_addint_comb(int[] in1) {
199 // Verify that "in1" is non-null.
[all …]
Dreduce_general_examples_explicit.rs46 static void dpiAccum(float *accum, float in1, float in2) {
47 *accum += in1*in2;
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
DScriptC_reduce_general_duplicate_array.java.expect81 // in1 = "val"
82 public resultArray4_int reduce_sumDec(int[] in1) {
83 // Verify that "in1" is non-null.
84 if (in1 == null) {
85 throw new RSIllegalArgumentException("Array \"in1\" is null!");
87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
89 ain1.copyFrom(in1);
114 // in1 = "val"
115 public resultArray4_int reduce_sumInc(int[] in1) {
116 // Verify that "in1" is non-null.
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
DScriptC_reduce_general_examples_halter.java.expect119 // in1 = "inVal"
120 public result_int reduce_fz(int[] in1) {
121 // Verify that "in1" is non-null.
122 if (in1 == null) {
123 throw new RSIllegalArgumentException("Array \"in1\" is null!");
125 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
127 ain1.copyFrom(in1);
152 // in1 = "inVal"
153 public result_int2 reduce_fz2(int[] in1) {
154 // Verify that "in1" is non-null.
[all …]
/frameworks/rs/
DrsCppUtils.h103 T rsMin(T in1, T in2) in rsMin() argument
105 if (in1 > in2) { in rsMin()
108 return in1; in rsMin()
112 T rsMax(T in1, T in2) { in rsMax() argument
113 if (in1 < in2) { in rsMax()
116 return in1; in rsMax()
/frameworks/rs/tests/lldb/java/SingleSource/src/rs/
Drs_single_source.rs48 void script_invoke_1(rs_allocation out, rs_allocation in1, rs_allocation in2)
51 rsForEach(kernel_1, out, in1);
56 rsForEach(kernel_2, out, in1, in2);
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp762 __m128i in0, in1, out0, out1; in rsdIntrinsicBlendSrcOver_K() local
770 in1 = _mm_loadu_si128((const __m128i *)src + 1); in rsdIntrinsicBlendSrcOver_K()
790 ins = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
798 ins = _mm_unpackhi_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendSrcOver_K()
818 __m128i in0, in1, out0, out1; in rsdIntrinsicBlendDstOver_K() local
826 in1 = _mm_loadu_si128((const __m128i *)src + 1); in rsdIntrinsicBlendDstOver_K()
850 t2 = _mm_unpacklo_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
858 t3 = _mm_unpackhi_epi8(in1, _mm_setzero_si128()); in rsdIntrinsicBlendDstOver_K()
875 __m128i in0, in1, out0, out1; in rsdIntrinsicBlendSrcIn_K() local
881 in1 = _mm_loadu_si128((const __m128i *)src + 1); in rsdIntrinsicBlendSrcIn_K()
[all …]
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
Dmulti_input.rs21 float RS_KERNEL sum2(float in0, float in1, uint32_t x) {
22 return in0 + in1;
/frameworks/compile/slang/tests/F_too_many_inputs/
Dtoo_many_inputs.rs5 int RS_KERNEL good(int in0, int in1, int in2, int in3, int in4, int in5, int in6, int in7) {
9 int RS_KERNEL bad(int in0, int in1, int in2, int in3, int in4, int in5, int in6, int in7, int in8) {
/frameworks/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/
DMainActivity.java52 float [] in1 = new float[]{ 1.f, 2.f, 3.f, 4.f }; in onCreate() local
53 mAllocIn1.copyFrom(in1); in onCreate()
/frameworks/base/tools/aapt/tests/
DPseudolocales_test.cpp36 static void compound_helper(const char* in1, const char* in2, const char *in3, in compound_helper() argument
40 pseudo.text(String16(String8(in1))) + \ in compound_helper()
/frameworks/rs/rsov/compiler/tests/arguments/
Dforeach_multi_simple.ll24 define float @sum2(float %in0, float %in1, i32 %x) local_unnamed_addr #0 {
26 %add = fadd float %in0, %in1
/frameworks/compile/slang/tests/P_kernel_multi_in/
Dkernel_multi_in.rs5 int RS_KERNEL multi_in(uint32_t in0, uint32_t in1) {
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dwb_vad.c83 Word16 * in1, /* i/o : input values; output high-pass part */ in filter5() argument
93 temp0 = vo_sub(*in1, vo_mult(COEFF5_2, data[1])); in filter5()
98 *in1 = extract_h((vo_L_sub(temp1, temp2) << 15)); in filter5()
111 Word16 * in1, /* i/o : input values; output high-pass part */ in filter3() argument
117 temp1 = vo_sub(*in1, vo_mult(COEFF3, *data)); in filter3()
121 *in1 = extract_h((vo_L_sub(*in0, temp2) << 15)); in filter3()
/frameworks/compile/slang/tests/P_multi_in_target_version/
Dmulti_in_target_version.rs5 int RS_KERNEL root(uint32_t in0, uint32_t in1, int x, int y) {
/frameworks/compile/slang/tests/F_multi_in_target_version/
Dmulti_in_target_version.rs5 int RS_KERNEL root(uint32_t in0, uint32_t in1, int x, int y) {
Dstderr.txt.expect1 multi_in_target_version.rs:5:43: error: Invalid parameter 'in1' for compute kernel root(). Kernels …
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer_test.cpp41 const char* in1, const char* in2, const char* in3, const char* expected, in CompoundHelper() argument
44 std::string result = pseudo.Start() + pseudo.Text(in1) + pseudo.Text(in2) + in CompoundHelper()

12