Home
last modified time | relevance | path

Searched refs:ref0 (Results 1 – 25 of 43) sorted by relevance

12

/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()
86 CALC_MSE_AVG_B(src0, ref0, 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()
97 CALC_MSE_AVG_B(src0, ref0, 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 …]
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()
408 UNPCK_UB_SH(ref0, ref0_r, ref0_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()
432 UNPCK_UB_SH(ref0, ref0_r, ref0_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()
450 UNPCK_UB_SH(ref0, ref0_r, ref0_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()
474 UNPCK_UB_SH(ref0, ref0_r, ref0_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 …]
Dadd_noise_msa.c18 v16u8 pos0, pos1, ref0, ref1; in vpx_plane_add_noise_msa() local
33 ref0 = LD_UB(ref0_ptr); in vpx_plane_add_noise_msa()
42 pos0 += ref0; in vpx_plane_add_noise_msa()
/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()
88 CALC_MSE_AVG_B(src0, ref0, 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()
95 CALC_MSE_AVG_B(src0, ref0, 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
34 ref0 = LD_UB(ref0_ptr); in aom_plane_add_noise_msa()
51 pos0 += ref0; in aom_plane_add_noise_msa()
/external/libaom/libaom/aom_dsp/arm/
Dsad4d_neon.c95 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad64x64x4d_neon() local
96 ref0 = ref[0]; in aom_sad64x64x4d_neon()
107 sad_neon_64(vec_src_00, vec_src_16, vec_src_32, vec_src_48, ref0, in aom_sad64x64x4d_neon()
117 ref0 += ref_stride; in aom_sad64x64x4d_neon()
141 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad32x32x4d_neon() local
142 ref0 = ref[0]; in aom_sad32x32x4d_neon()
151 sad_neon_32(vec_src_00, vec_src_16, ref0, &vec_sum_ref0_lo, in aom_sad32x32x4d_neon()
161 ref0 += ref_stride; in aom_sad32x32x4d_neon()
185 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad16x16x4d_neon() local
186 ref0 = ref[0]; in aom_sad16x16x4d_neon()
[all …]
/external/libaom/libaom/aom_dsp/x86/
Dsad4d_avx2.c24 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad32x32x4d_avx2() local
26 ref0 = ref[0]; in aom_sad32x32x4d_avx2()
37 ref0_reg = _mm256_loadu_si256((const __m256i *)ref0); in aom_sad32x32x4d_avx2()
53 ref0 += ref_stride; in aom_sad32x32x4d_avx2()
95 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sad64x64x4d_avx2() local
97 ref0 = ref[0]; in aom_sad64x64x4d_avx2()
109 ref0_reg = _mm256_loadu_si256((const __m256i *)ref0); in aom_sad64x64x4d_avx2()
110 ref0next_reg = _mm256_loadu_si256((const __m256i *)(ref0 + 32)); in aom_sad64x64x4d_avx2()
137 ref0 += ref_stride; in aom_sad64x64x4d_avx2()
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp213 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() local
215 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
219 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
303 const float ref0 = de::clamp(float(in0) / 32767.f, -1.0f, 1.0f); in iterate() local
308 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate()
317 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
404 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() local
406 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
410 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
494 const float ref0 = float(in0) / 65535.0f; in iterate() local
[all …]
Des31fShaderIntegerFunctionTests.cpp437 const deUint32 ref0 = in0+in1; 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()
531 const deUint32 ref0 = in0-in1; 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()
621 const deUint32 ref0 = deUint32(mul64 >> 32); in compare() local
624 if (out0 != ref0 || out1 != ref1) in compare()
626 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
712 const deInt32 ref0 = deInt32(mul64 >> 32); in compare() local
[all …]
Des31fShaderCommonFunctionTests.cpp549 const float ref0 = de::abs(in0); in compare() local
550 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
554 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
565 const int ref0 = de::abs(in0); in compare() local
567 if (out0 != ref0) in compare()
569 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
642 const float ref0 = in0 < 0.0f ? -1.0f : in compare() local
644 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
648 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
659 const int ref0 = in0 < 0 ? -1 : 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
23 ref0 = ref_array[0]; in vpx_sad64x64x4d_avx512()
34 ref0_reg = _mm512_loadu_si512((const __m512i *)ref0); in vpx_sad64x64x4d_avx512()
50 ref0 += ref_stride; in vpx_sad64x64x4d_avx512()
/external/deqp/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp209 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() local
211 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
215 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
299 const float ref0 = de::clamp(float(in0) / 32767.f, -1.0f, 1.0f); in iterate() local
304 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate()
313 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
400 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() local
402 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
406 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
490 const float ref0 = float(in0) / 65535.0f; in iterate() local
[all …]
Des3fShaderCommonFunctionTests.cpp471 const float ref0 = de::abs(in0); in compare() local
472 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
476 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
487 const int ref0 = de::abs(in0); in compare() local
489 if (out0 != ref0) in compare()
491 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
564 const float ref0 = in0 < 0.0f ? -1.0f : in compare() local
566 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
570 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
581 const int ref0 = in0 < 0 ? -1 : in compare() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp214 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() local
216 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
220 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
322 const float ref0 = de::clamp(float(in0) / 32767.f, -1.0f, 1.0f); in iterate() local
327 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate()
336 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
437 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() local
439 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
443 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
545 const float ref0 = float(in0) / 65535.0f; in iterate() local
[all …]
DvktShaderIntegerFunctionTests.cpp528 const deUint32 ref0 = in0+in1; in compare() local
531 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
533 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
636 const deUint32 ref0 = in0-in1; in compare() local
639 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
641 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
740 const deUint32 ref0 = deUint32(mul64 >> 32); in compare() local
743 if (out0 != ref0 || out1 != ref1) in compare()
745 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
845 const deInt32 ref0 = deInt32(mul64 >> 32); in compare() local
[all …]
DvktShaderCommonFunctionTests.cpp624 const float ref0 = de::abs(in0); in compare() local
625 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
629 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
640 const int ref0 = de::abs(in0); in compare() local
642 if (out0 != ref0) in compare()
644 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
731 const float ref0 = in0 < 0.0f ? -1.0f : in compare() local
733 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
737 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
748 const int ref0 = in0 < 0 ? -1 : in compare() local
[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 …]
Denc_sse2.c150 __m128i ref0, ref1, ref2, ref3; in ITransform_SSE2() local
153 ref0 = _mm_loadl_epi64((const __m128i*)&ref[0 * BPS]); in ITransform_SSE2()
159 ref0 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[0 * BPS])); in ITransform_SSE2()
165 ref0 = _mm_unpacklo_epi8(ref0, zero); in ITransform_SSE2()
170 ref0 = _mm_add_epi16(ref0, T0); in ITransform_SSE2()
175 ref0 = _mm_packus_epi16(ref0, ref0); in ITransform_SSE2()
182 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0); in ITransform_SSE2()
188 WebPUint32ToMem(&dst[0 * BPS], _mm_cvtsi128_si32(ref0)); in ITransform_SSE2()
314 const __m128i ref0 = _mm_loadl_epi64((const __m128i*)&ref[0 * BPS]); in FTransform_SSE2() local
318 const __m128i ref_0 = _mm_unpacklo_epi16(ref0, ref1); in FTransform_SSE2()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DDirectSearchOptimizer.java177 final double[] ref0 = referenceSimplex[0]; in setStartConfiguration() local
208 confI[k] = refI[k] - ref0[k]; in setStartConfiguration()
/external/webrtc/webrtc/modules/video_processing/util/
Ddenoiser_filter_sse2.cc30 const __m128i ref0 = _mm_unpacklo_epi8( in Get8x8varSse2() local
32 const __m128i diff0 = _mm_sub_epi16(src0, ref0); in Get8x8varSse2()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h1031 MV_REFERENCE_FRAME ref0, in set_ref_ptrs() argument
1034 &cm->frame_refs[ref0 >= LAST_FRAME ? ref0 - LAST_FRAME : 0]; in set_ref_ptrs()

12