Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vpx_dsp/mips/
Dsad_msa.c26 uint32_t src0, src1, src2, src3, ref0, ref1, ref2, ref3; in sad_4width_msa() local
35 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sad_4width_msa()
39 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in sad_4width_msa()
52 v16u8 src0, src1, src2, src3, ref0, ref1, ref2, ref3; in sad_8width_msa() local
58 LD_UB4(ref, ref_stride, ref0, ref1, ref2, ref3); in sad_8width_msa()
61 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, in sad_8width_msa()
62 src0, src1, ref0, ref1); in sad_8width_msa()
63 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_8width_msa()
73 v16u8 src0, src1, ref0, ref1; in sad_16width_msa() local
79 LD_UB2(ref, ref_stride, ref0, ref1); in sad_16width_msa()
[all …]
Dvariance_msa.c44 uint32_t ref0, ref1, ref2, ref3; in sse_diff_4width_msa() local
54 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sse_diff_4width_msa()
58 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in sse_diff_4width_msa()
73 v16u8 ref0, ref1, ref2, ref3; in sse_diff_8width_msa() local
80 LD_UB4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sse_diff_8width_msa()
83 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, in sse_diff_8width_msa()
84 src0, src1, ref0, ref1); in sse_diff_8width_msa()
85 CALC_MSE_AVG_B(src0, ref0, var, avg); in sse_diff_8width_msa()
139 v16u8 src0, src1, ref0, ref1; in sse_diff_32width_msa() local
146 LD_UB2(ref_ptr, 16, ref0, ref1); in sse_diff_32width_msa()
[all …]
Dsub_pixel_variance_msa.c53 uint32_t ref0, ref1, ref2, ref3; in avg_sse_diff_4width_msa() local
64 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in avg_sse_diff_4width_msa()
68 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in avg_sse_diff_4width_msa()
89 v16u8 ref0, ref1, ref2, ref3; in avg_sse_diff_8width_msa() local
99 LD_UB4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in avg_sse_diff_8width_msa()
102 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, in avg_sse_diff_8width_msa()
103 src0, src1, ref0, ref1); in avg_sse_diff_8width_msa()
105 CALC_MSE_AVG_B(src0, ref0, var, avg); in avg_sse_diff_8width_msa()
179 v16u8 src0, src1, ref0, ref1, pred0, pred1; in avg_sse_diff_32width_msa() local
188 LD_UB2(ref_ptr, 16, ref0, ref1); in avg_sse_diff_32width_msa()
[all …]
Dmacros_msa.h931 #define SAD_UB2_UH(in0, in1, ref0, ref1) ({ \ argument
935 diff0_m = __msa_asub_u_b((v16u8)in0, (v16u8)ref0); \
/external/libvpx/libvpx/vpx_dsp/arm/
Dsad4d_neon.c95 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad64x64x4d_neon() local
96 ref0 = ref[0]; in vpx_sad64x64x4d_neon()
107 sad_neon_64(vec_src_00, vec_src_16, vec_src_32, vec_src_48, ref0, in vpx_sad64x64x4d_neon()
117 ref0 += ref_stride; in vpx_sad64x64x4d_neon()
141 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad32x32x4d_neon() local
142 ref0 = ref[0]; in vpx_sad32x32x4d_neon()
151 sad_neon_32(vec_src_00, vec_src_16, ref0, in vpx_sad32x32x4d_neon()
161 ref0 += ref_stride; in vpx_sad32x32x4d_neon()
185 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad16x16x4d_neon() local
186 ref0 = ref[0]; in vpx_sad16x16x4d_neon()
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dsad4d_avx2.c23 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad32x32x4d_avx2() local
25 ref0 = ref[0]; in vpx_sad32x32x4d_avx2()
36 ref0_reg = _mm256_loadu_si256((const __m256i *)ref0); in vpx_sad32x32x4d_avx2()
52 ref0+= ref_stride; in vpx_sad32x32x4d_avx2()
95 const uint8_t *ref0, *ref1, *ref2, *ref3; in vpx_sad64x64x4d_avx2() local
97 ref0 = ref[0]; in vpx_sad64x64x4d_avx2()
109 ref0_reg = _mm256_loadu_si256((const __m256i *)ref0); in vpx_sad64x64x4d_avx2()
110 ref0next_reg = _mm256_loadu_si256((const __m256i *)(ref0 + 32)); in vpx_sad64x64x4d_avx2()
137 ref0+= ref_stride; in vpx_sad64x64x4d_avx2()
Dvariance_sse2.c47 const __m128i ref0 = _mm_unpacklo_epi8(READ64(ref, ref_stride, 0), zero); in get4x4var_sse2() local
49 const __m128i diff0 = _mm_sub_epi16(src0, ref0); in get4x4var_sse2()
78 const __m128i ref0 = _mm_unpacklo_epi8(_mm_loadl_epi64( 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.cpp226 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() local
228 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
232 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
335 const float ref0 = de::clamp(float(in0) / 32767.f, -1.0f, 1.0f); in iterate() local
340 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate()
349 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
451 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() local
453 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
457 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
560 const float ref0 = float(in0) / 65535.0f; in iterate() local
[all …]
DvktShaderIntegerFunctionTests.cpp540 const deUint32 ref0 = in0+in1; in compare() local
543 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
545 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
649 const deUint32 ref0 = in0-in1; in compare() local
652 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
654 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
754 const deUint32 ref0 = deUint32(mul64 >> 32); in compare() local
757 if (out0 != ref0 || out1 != ref1) in compare()
759 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
860 const deInt32 ref0 = deInt32(mul64 >> 32); in compare() local
[all …]
DvktShaderCommonFunctionTests.cpp635 const float ref0 = de::abs(in0); in compare() local
636 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
640 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
651 const int ref0 = de::abs(in0); in compare() local
653 if (out0 != ref0) in compare()
655 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
743 const float ref0 = in0 < 0.0f ? -1.0f : in compare() local
745 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
749 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
760 const int ref0 = in0 < 0 ? -1 : in compare() local
[all …]
/external/opencv3/3rdparty/libwebp/dsp/
Denc_sse2.c279 __m128i ref0, ref1, ref2, ref3; in ITransformSSE2() local
282 ref0 = _mm_loadl_epi64((__m128i*)&ref[0 * BPS]); in ITransformSSE2()
288 ref0 = _mm_cvtsi32_si128(*(int*)&ref[0 * BPS]); in ITransformSSE2()
294 ref0 = _mm_unpacklo_epi8(ref0, zero); in ITransformSSE2()
299 ref0 = _mm_add_epi16(ref0, T0); in ITransformSSE2()
304 ref0 = _mm_packus_epi16(ref0, ref0); in ITransformSSE2()
311 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0); in ITransformSSE2()
317 *((int32_t *)&dst[0 * BPS]) = _mm_cvtsi128_si32(ref0); in ITransformSSE2()
358 const __m128i ref0 = _mm_loadl_epi64((__m128i*)&ref[0 * BPS]); in FTransformSSE2() local
362 const __m128i ref_0 = _mm_unpacklo_epi8(ref0, zero); in FTransformSSE2()
/external/webp/src/dsp/
Denc_sse2.c230 __m128i ref0, ref1, ref2, ref3; in ITransform() local
233 ref0 = _mm_loadl_epi64((const __m128i*)&ref[0 * BPS]); in ITransform()
239 ref0 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[0 * BPS])); in ITransform()
245 ref0 = _mm_unpacklo_epi8(ref0, zero); in ITransform()
250 ref0 = _mm_add_epi16(ref0, T0); in ITransform()
255 ref0 = _mm_packus_epi16(ref0, ref0); in ITransform()
262 _mm_storel_epi64((__m128i*)&dst[0 * BPS], ref0); in ITransform()
268 WebPUint32ToMem(&dst[0 * BPS], _mm_cvtsi128_si32(ref0)); in ITransform()
387 const __m128i ref0 = _mm_loadl_epi64((const __m128i*)&ref[0 * BPS]); in FTransform() local
391 const __m128i ref_0 = _mm_unpacklo_epi8(ref0, zero); in FTransform()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h640 MV_REFERENCE_FRAME ref0, in set_ref_ptrs() argument
642 xd->block_refs[0] = &cm->frame_refs[ref0 >= LAST_FRAME ? ref0 - LAST_FRAME in set_ref_ptrs()
Dvp9_encodeframe.c1300 const MV_REFERENCE_FRAME ref0 = mbmi->ref_frame[0]; in update_stats() local
1307 [ref0 == GOLDEN_FRAME]++; in update_stats()
1310 [ref0 != LAST_FRAME]++; in update_stats()
1311 if (ref0 != LAST_FRAME) in update_stats()
1313 [ref0 != GOLDEN_FRAME]++; in update_stats()
/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/lz4/lib/
Dlz4hc.c358 const BYTE* ref0; in LZ4HC_compress_generic() local
377 ref0 = ref; in LZ4HC_compress_generic()
396 ref = ref0; in LZ4HC_compress_generic()
471 ref0 = ref2; in LZ4HC_compress_generic()
/external/libvpx/libvpx/vp8/common/mips/msa/
Dpostproc_msa.c820 v16u8 pos0, ref0, pos1, ref1; in vp8_plane_add_noise_msa() local
824 ref0 = LD_UB(ref0_ptr); in vp8_plane_add_noise_msa()
841 pos0 += ref0; in vp8_plane_add_noise_msa()
/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()
/external/v8/src/arm64/
Dcode-stubs-arm64.cc5501 static int AddressOffset(ExternalReference ref0, ExternalReference ref1) { in AddressOffset() argument
5502 return static_cast<int>(ref0.address() - ref1.address()); in AddressOffset()

12