Home
last modified time | relevance | path

Searched refs:ref0 (Results 1 – 25 of 33) 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 …]
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()
Davg_msa.c396 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; in vpx_int_pro_row_msa() local
404 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
406 UNPCK_UB_SH(ref0, ref0_r, ref0_l); in vpx_int_pro_row_msa()
428 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
430 UNPCK_UB_SH(ref0, ref0_r, ref0_l); in vpx_int_pro_row_msa()
446 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
448 UNPCK_UB_SH(ref0, ref0_r, ref0_l); in vpx_int_pro_row_msa()
470 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
472 UNPCK_UB_SH(ref0, ref0_r, ref0_l); in vpx_int_pro_row_msa()
488 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
[all …]
Dmacros_msa.h993 #define SAD_UB2_UH(in0, in1, ref0, ref1) \ argument
998 diff0_m = __msa_asub_u_b((v16u8)in0, (v16u8)ref0); \
/external/libvpx/libvpx/vpx_dsp/arm/
Dsad4d_neon.c93 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad64x64x4d_neon() local
94 ref0 = ref[0]; in vpx_sad64x64x4d_neon()
105 sad_neon_64(vec_src_00, vec_src_16, vec_src_32, vec_src_48, ref0, in vpx_sad64x64x4d_neon()
115 ref0 += ref_stride; in vpx_sad64x64x4d_neon()
139 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad32x32x4d_neon() local
140 ref0 = ref[0]; in vpx_sad32x32x4d_neon()
149 sad_neon_32(vec_src_00, vec_src_16, ref0, &vec_sum_ref0_lo, in vpx_sad32x32x4d_neon()
159 ref0 += ref_stride; in vpx_sad32x32x4d_neon()
183 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad16x16x4d_neon() local
184 ref0 = ref[0]; in vpx_sad16x16x4d_neon()
[all …]
Dintrapred_neon.c151 const uint8x16_t ref0 = vld1q_u8(above); in vpx_dc_predictor_16x16_neon() local
153 const uint16x8_t p0 = vpaddlq_u8(ref0); in vpx_dc_predictor_16x16_neon()
/external/libvpx/libvpx/vpx_dsp/x86/
Dsad4d_avx2.c21 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad32x32x4d_avx2() local
23 ref0 = ref[0]; in vpx_sad32x32x4d_avx2()
34 ref0_reg = _mm256_loadu_si256((const __m256i *)ref0); in vpx_sad32x32x4d_avx2()
50 ref0 += ref_stride; in vpx_sad32x32x4d_avx2()
91 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad64x64x4d_avx2() local
93 ref0 = ref[0]; in vpx_sad64x64x4d_avx2()
105 ref0_reg = _mm256_loadu_si256((const __m256i *)ref0); in vpx_sad64x64x4d_avx2()
106 ref0next_reg = _mm256_loadu_si256((const __m256i *)(ref0 + 32)); in vpx_sad64x64x4d_avx2()
133 ref0 += ref_stride; in vpx_sad64x64x4d_avx2()
Dvariance_sse2.c48 const __m128i ref0 = _mm_unpacklo_epi8(READ64(ref, ref_stride, 0), zero); in get4x4var_sse2() local
50 const __m128i diff0 = _mm_sub_epi16(src0, ref0); in get4x4var_sse2()
78 const __m128i ref0 = _mm_unpacklo_epi8( in vpx_get8x8var_sse2() local
80 const __m128i diff0 = _mm_sub_epi16(src0, ref0); in vpx_get8x8var_sse2()
119 const __m128i ref0 = _mm_unpacklo_epi8(r, zero); in vpx_get16x16var_sse2() local
120 const __m128i diff0 = _mm_sub_epi16(src0, ref0); in vpx_get16x16var_sse2()
/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/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.c714 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; in SSE16x16() local
718 LD_UB8(b, BPS, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in SSE16x16()
719 PACK_DOTP_UB4_SW(src0, ref0, src1, ref1, out0, out1, out2, out3); in SSE16x16()
726 LD_UB8(b, BPS, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in SSE16x16()
727 PACK_DPADD_UB4_SW(src0, ref0, src1, ref1, out0, out1, out2, out3); in SSE16x16()
741 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; in SSE16x8() local
745 LD_UB8(b, BPS, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in SSE16x8()
746 PACK_DOTP_UB4_SW(src0, ref0, src1, ref1, out0, out1, out2, out3); in SSE16x8()
760 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; in SSE8x8() local
765 LD_UB8(b, BPS, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in SSE8x8()
[all …]
Denc_sse2.c150 __m128i ref0, ref1, ref2, ref3; in ITransform() local
153 ref0 = _mm_loadl_epi64((const __m128i*)&ref[0 * BPS]); in ITransform()
159 ref0 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[0 * BPS])); in ITransform()
165 ref0 = _mm_unpacklo_epi8(ref0, zero); in ITransform()
170 ref0 = _mm_add_epi16(ref0, T0); in ITransform()
175 ref0 = _mm_packus_epi16(ref0, ref0); in ITransform()
182 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0); in ITransform()
188 WebPUint32ToMem(&dst[0 * BPS], _mm_cvtsi128_si32(ref0)); in ITransform()
312 const __m128i ref0 = _mm_loadl_epi64((const __m128i*)&ref[0 * BPS]); in FTransform() local
316 const __m128i ref_0 = _mm_unpacklo_epi16(ref0, ref1); in FTransform()
[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.h877 MV_REFERENCE_FRAME ref0, in set_ref_ptrs() argument
880 &cm->frame_refs[ref0 >= LAST_FRAME ? ref0 - LAST_FRAME : 0]; in set_ref_ptrs()
/external/lz4/lib/
Dlz4hc.c336 const BYTE* ref0; in LZ4HC_compress_hashChain() local
350 ref0 = ref; in LZ4HC_compress_hashChain()
366 ref = ref0; in LZ4HC_compress_hashChain()
433 ref0 = ref2; in LZ4HC_compress_hashChain()
/external/deqp/framework/common/
DtcuTexCompareVerifier.cpp232 const float ref0 = cmp0True ? 1.0f : 0.0f; in isLinearCompareValid() local
235 const float v0 = ref0*(1.0f-f0) + ref1*f0; in isLinearCompareValid()
236 const float v1 = ref0*(1.0f-f1) + ref1*f1; in isLinearCompareValid()

12