Home
last modified time | relevance | path

Searched refs:ref1 (Results 1 – 25 of 72) sorted by relevance

123

/external/libvpx/libvpx/vpx_dsp/mips/
Dsad_msa.c27 uint32_t src0, src1, src2, src3, ref0, ref1, ref2, ref3; in sad_4width_msa() local
36 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sad_4width_msa()
40 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in sad_4width_msa()
53 v16u8 src0, src1, src2, src3, ref0, ref1, ref2, ref3; in sad_8width_msa() local
59 LD_UB4(ref, ref_stride, ref0, ref1, ref2, ref3); in sad_8width_msa()
62 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, src0, src1, in sad_8width_msa()
63 ref0, ref1); in sad_8width_msa()
64 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_8width_msa()
74 v16u8 src0, src1, ref0, ref1; in sad_16width_msa() local
80 LD_UB2(ref, ref_stride, ref0, ref1); in sad_16width_msa()
[all …]
Dvariance_msa.c45 uint32_t ref0, ref1, ref2, ref3; in sse_diff_4width_msa() local
55 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sse_diff_4width_msa()
59 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in sse_diff_4width_msa()
74 v16u8 ref0, ref1, ref2, ref3; in sse_diff_8width_msa() local
81 LD_UB4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sse_diff_8width_msa()
84 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, src0, src1, in sse_diff_8width_msa()
85 ref0, ref1); in sse_diff_8width_msa()
87 CALC_MSE_AVG_B(src1, ref1, var, avg); in sse_diff_8width_msa()
140 v16u8 src0, src1, ref0, ref1; in sse_diff_32width_msa() local
147 LD_UB2(ref_ptr, 16, ref0, ref1); in sse_diff_32width_msa()
[all …]
Dsub_pixel_variance_msa.c46 uint32_t ref0, ref1, ref2, ref3; in avg_sse_diff_4width_msa() local
57 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in avg_sse_diff_4width_msa()
61 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in avg_sse_diff_4width_msa()
81 v16u8 ref0, ref1, ref2, ref3; in avg_sse_diff_8width_msa() local
91 LD_UB4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in avg_sse_diff_8width_msa()
94 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, src0, src1, in avg_sse_diff_8width_msa()
95 ref0, ref1); in avg_sse_diff_8width_msa()
98 CALC_MSE_AVG_B(src1, ref1, var, avg); in avg_sse_diff_8width_msa()
169 v16u8 src0, src1, ref0, ref1, pred0, pred1; in avg_sse_diff_32width_msa() local
178 LD_UB2(ref_ptr, 16, ref0, ref1); in avg_sse_diff_32width_msa()
[all …]
Dadd_noise_msa.c18 v16u8 pos0, pos1, ref0, ref1; in vpx_plane_add_noise_msa() local
35 ref1 = LD_UB(ref1_ptr); in vpx_plane_add_noise_msa()
44 pos1 += ref1; in vpx_plane_add_noise_msa()
Davg_msa.c398 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; in vpx_int_pro_row_msa() local
406 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
409 UNPCK_UB_SH(ref1, ref1_r, ref1_l); in vpx_int_pro_row_msa()
430 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
433 UNPCK_UB_SH(ref1, ref1_r, ref1_l); in vpx_int_pro_row_msa()
448 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
451 UNPCK_UB_SH(ref1, ref1_r, ref1_l); in vpx_int_pro_row_msa()
472 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
475 UNPCK_UB_SH(ref1, ref1_r, ref1_l); in vpx_int_pro_row_msa()
490 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
[all …]
/external/libaom/libaom/aom_dsp/mips/
Dsad_msa.c29 uint32_t src0, src1, src2, src3, ref0, ref1, ref2, ref3; in sad_4width_msa() local
38 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sad_4width_msa()
42 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in sad_4width_msa()
55 v16u8 src0, src1, src2, src3, ref0, ref1, ref2, ref3; in sad_8width_msa() local
61 LD_UB4(ref, ref_stride, ref0, ref1, ref2, ref3); in sad_8width_msa()
64 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, src0, src1, in sad_8width_msa()
65 ref0, ref1); in sad_8width_msa()
66 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_8width_msa()
76 v16u8 src0, src1, ref0, ref1; in sad_16width_msa() local
82 LD_UB2(ref, ref_stride, ref0, ref1); in sad_16width_msa()
[all …]
Dvariance_msa.c47 uint32_t ref0, ref1, ref2, ref3; in sse_diff_4width_msa() local
57 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sse_diff_4width_msa()
61 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in sse_diff_4width_msa()
76 v16u8 ref0, ref1, ref2, ref3; in sse_diff_8width_msa() local
83 LD_UB4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sse_diff_8width_msa()
86 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, src0, src1, in sse_diff_8width_msa()
87 ref0, ref1); in sse_diff_8width_msa()
89 CALC_MSE_AVG_B(src1, ref1, var, avg); in sse_diff_8width_msa()
142 v16u8 src0, src1, ref0, ref1; in sse_diff_32width_msa() local
149 LD_UB2(ref_ptr, 16, ref0, ref1); in sse_diff_32width_msa()
[all …]
Dsub_pixel_variance_msa.c44 uint32_t ref0, ref1, ref2, ref3; in avg_sse_diff_4width_msa() local
55 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in avg_sse_diff_4width_msa()
59 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in avg_sse_diff_4width_msa()
79 v16u8 ref0, ref1, ref2, ref3; in avg_sse_diff_8width_msa() local
89 LD_UB4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in avg_sse_diff_8width_msa()
92 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, src0, src1, in avg_sse_diff_8width_msa()
93 ref0, ref1); in avg_sse_diff_8width_msa()
96 CALC_MSE_AVG_B(src1, ref1, var, avg); in avg_sse_diff_8width_msa()
167 v16u8 src0, src1, ref0, ref1, pred0, pred1; in avg_sse_diff_32width_msa() local
176 LD_UB2(ref_ptr, 16, ref0, ref1); in avg_sse_diff_32width_msa()
[all …]
Dadd_noise_msa.c30 v16u8 pos0, ref0, pos1, ref1; in aom_plane_add_noise_msa() local
36 ref1 = LD_UB(ref1_ptr); in aom_plane_add_noise_msa()
53 pos1 += ref1; in aom_plane_add_noise_msa()
/external/eigen/test/
Dproduct_mmtr.cpp14 ref2 = ref1 = DEST; \
16 ref1 OP; \
18 = ref1.template triangularView<TRI>(); \
37 MatrixColMaj ref1(size, size), ref2(size, size), ref3(size,size); in mmtr() local
74 ref2 = ref1 = matc; in mmtr()
75 ref1 = sqc.adjoint() * matc * sqc; in mmtr()
76 ref2.template triangularView<Upper>() = ref1.template triangularView<Upper>(); in mmtr()
80 ref2 = ref1 = matc; in mmtr()
81 ref1 = sqc * matc * sqc.adjoint(); in mmtr()
82 ref2.template triangularView<Lower>() = ref1.template triangularView<Lower>(); in mmtr()
/external/libaom/libaom/aom_dsp/arm/
Dsad4d_neon.c95 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad64x64x4d_neon() local
97 ref1 = ref[1]; in aom_sad64x64x4d_neon()
109 sad_neon_64(vec_src_00, vec_src_16, vec_src_32, vec_src_48, ref1, in aom_sad64x64x4d_neon()
118 ref1 += ref_stride; in aom_sad64x64x4d_neon()
141 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad32x32x4d_neon() local
143 ref1 = ref[1]; in aom_sad32x32x4d_neon()
153 sad_neon_32(vec_src_00, vec_src_16, ref1, &vec_sum_ref1_lo, in aom_sad32x32x4d_neon()
162 ref1 += ref_stride; in aom_sad32x32x4d_neon()
185 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad16x16x4d_neon() local
187 ref1 = ref[1]; in aom_sad16x16x4d_neon()
[all …]
/external/libcxx/test/std/utilities/variant/variant.variant/variant.mod/
Demplace_type_args.pass.cpp97 auto& ref1 = v.emplace<int>(); in test_basic() local
98 static_assert(std::is_same_v<int&, decltype(ref1)>, ""); in test_basic()
100 assert(&ref1 == &std::get<0>(v)); in test_basic()
112 auto& ref1 = v.emplace<long>(); in test_basic() local
113 static_assert(std::is_same_v<long&, decltype(ref1)>, ""); in test_basic()
115 assert(&ref1 == &std::get<1>(v)); in test_basic()
135 auto& ref1 = v.emplace<long>(); in test_basic() local
136 static_assert(std::is_same_v<long&, decltype(ref1)>, ""); in test_basic()
138 assert(&ref1 == &std::get<long>(v)); in test_basic()
Demplace_index_args.pass.cpp97 auto& ref1 = v.emplace<0>(); in test_basic() local
98 static_assert(std::is_same_v<int&, decltype(ref1)>, ""); in test_basic()
100 assert(&ref1 == &std::get<0>(v)); in test_basic()
112 auto& ref1 = v.emplace<1>(); in test_basic() local
113 static_assert(std::is_same_v<long&, decltype(ref1)>, ""); in test_basic()
115 assert(&ref1 == &std::get<1>(v)); in test_basic()
135 auto& ref1 = v.emplace<1>(); in test_basic() local
136 static_assert(std::is_same_v<long&, decltype(ref1)>, ""); in test_basic()
138 assert(&ref1 == &std::get<1>(v)); in test_basic()
Demplace_index_init_list_args.pass.cpp81 auto& ref1 = v.emplace<1>({1, 2, 3}); in test_basic() local
82 static_assert(std::is_same_v<InitList&, decltype(ref1)>, ""); in test_basic()
84 assert(&ref1 == &std::get<1>(v)); in test_basic()
Demplace_type_init_list_args.pass.cpp81 auto& ref1 = v.emplace<InitList>({1, 2, 3}); in test_basic() local
82 static_assert(std::is_same_v<InitList&,decltype(ref1)>, ""); in test_basic()
84 assert(&ref1 == &std::get<InitList>(v)); in test_basic()
/external/libaom/libaom/aom_dsp/x86/
Dsad4d_avx2.c24 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad32x32x4d_avx2() local
27 ref1 = ref[1]; in aom_sad32x32x4d_avx2()
38 ref1_reg = _mm256_loadu_si256((const __m256i *)ref1); in aom_sad32x32x4d_avx2()
54 ref1 += ref_stride; in aom_sad32x32x4d_avx2()
95 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad64x64x4d_avx2() local
98 ref1 = ref[1]; in aom_sad64x64x4d_avx2()
111 ref1_reg = _mm256_loadu_si256((const __m256i *)ref1); in aom_sad64x64x4d_avx2()
112 ref1next_reg = _mm256_loadu_si256((const __m256i *)(ref1 + 32)); in aom_sad64x64x4d_avx2()
138 ref1 += ref_stride; in aom_sad64x64x4d_avx2()
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp214 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() local
215 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
220 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
304 const float ref1 = de::clamp(float(in1) / 32767.f, -1.0f, 1.0f); in iterate() local
309 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate()
317 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
405 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() local
406 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
411 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
495 const float ref1 = float(in1) / 65535.0f; in iterate() local
[all …]
Des31fShaderIntegerFunctionTests.cpp438 const deUint32 ref1 = (deUint64(in0)+deUint64(in1)) > 0xffffffffu ? 1u : 0u; in compare() local
440 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
442 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
532 const deUint32 ref1 = in0 >= in1 ? 0u : 1u; in compare() local
534 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
536 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
622 const deUint32 ref1 = deUint32(mul64 & 0xffffffffu); in compare() local
624 if (out0 != ref0 || out1 != ref1) in compare()
626 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
713 const deInt32 ref1 = deInt32(mul64 & 0xffffffffu); in compare() local
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dsad4d_avx512.c21 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad64x64x4d_avx512() local
24 ref1 = ref_array[1]; in vpx_sad64x64x4d_avx512()
35 ref1_reg = _mm512_loadu_si512((const __m512i *)ref1); in vpx_sad64x64x4d_avx512()
51 ref1 += ref_stride; in vpx_sad64x64x4d_avx512()
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp210 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() local
211 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
216 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
300 const float ref1 = de::clamp(float(in1) / 32767.f, -1.0f, 1.0f); in iterate() local
305 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate()
313 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
401 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() local
402 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
407 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
491 const float ref1 = float(in1) / 65535.0f; in iterate() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp215 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() local
216 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
221 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
323 const float ref1 = de::clamp(float(in1) / 32767.f, -1.0f, 1.0f); in iterate() local
328 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate()
336 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
438 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() local
439 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
444 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
546 const float ref1 = float(in1) / 65535.0f; in iterate() local
[all …]
/external/python/cpython2/Lib/test/
Dtest_weakref.py120 ref1 = weakref.ref(o, self.callback)
123 self.assertIsNone(ref1(), "expected reference to be invalidated")
143 ref1 = weakref.ref(c, callback)
153 ref1 = weakref.proxy(o, self.callback)
160 self.assertRaises(weakref.ReferenceError, check, ref1)
186 ref1 = weakref.ref(o)
191 self.assertIs(ref1, ref2,
196 ref1 = weakref.ref(o)
198 self.assertIs(ref1, ref2,
309 ref1 = weakref.proxy(o)
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DSyntheticAccessorResolver.java152 …private static boolean methodReferenceEquals(@Nonnull MethodReference ref1, @Nonnull MethodReferen… in methodReferenceEquals() argument
154 return ref1.getName().equals(ref2.getName()) && in methodReferenceEquals()
155 ref1.getReturnType().equals(ref2.getReturnType()) && in methodReferenceEquals()
156 ref1.getParameterTypes().equals(ref2.getParameterTypes()); in methodReferenceEquals()
/external/python/cpython3/Lib/test/
Dtest_weakref.py135 ref1 = weakref.ref(o, self.callback)
138 self.assertIsNone(ref1(), "expected reference to be invalidated")
158 ref1 = weakref.ref(c, callback)
168 ref1 = weakref.proxy(o, self.callback)
175 self.assertRaises(ReferenceError, check, ref1)
201 ref1 = weakref.ref(o)
206 self.assertIs(ref1, ref2,
211 ref1 = weakref.ref(o)
213 self.assertIs(ref1, ref2,
322 ref1 = weakref.proxy(o)
[all …]
/external/webp/src/dsp/
Denc_msa.c718 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; in SSE16x16_MSA() local
722 LD_UB8(b, BPS, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in SSE16x16_MSA()
723 PACK_DOTP_UB4_SW(src0, ref0, src1, ref1, out0, out1, out2, out3); in SSE16x16_MSA()
730 LD_UB8(b, BPS, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in SSE16x16_MSA()
731 PACK_DPADD_UB4_SW(src0, ref0, src1, ref1, out0, out1, out2, out3); in SSE16x16_MSA()
745 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; in SSE16x8_MSA() local
749 LD_UB8(b, BPS, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in SSE16x8_MSA()
750 PACK_DOTP_UB4_SW(src0, ref0, src1, ref1, out0, out1, out2, out3); in SSE16x8_MSA()
764 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; in SSE8x8_MSA() local
769 LD_UB8(b, BPS, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in SSE8x8_MSA()
[all …]

123