Home
last modified time | relevance | path

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

123

/external/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.c46 uint32_t ref0, ref1, ref2, ref3; in sse_diff_4width_msa() local
56 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sse_diff_4width_msa()
60 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in sse_diff_4width_msa()
75 v16u8 ref0, ref1, ref2, ref3; in sse_diff_8width_msa() local
82 LD_UB4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in sse_diff_8width_msa()
85 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, src0, src1, in sse_diff_8width_msa()
86 ref0, ref1); in sse_diff_8width_msa()
87 CALC_MSE_AVG_B(src0, ref0, var, avg); in sse_diff_8width_msa()
141 v16u8 src0, src1, ref0, ref1; in sse_diff_32width_msa() local
148 LD_UB2(ref_ptr, 16, ref0, ref1); in sse_diff_32width_msa()
[all …]
Dsub_pixel_variance_msa.c47 uint32_t ref0, ref1, ref2, ref3; in avg_sse_diff_4width_msa() local
58 LW4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in avg_sse_diff_4width_msa()
62 INSERT_W4_UB(ref0, ref1, ref2, ref3, ref); in avg_sse_diff_4width_msa()
82 v16u8 ref0, ref1, ref2, ref3; in avg_sse_diff_8width_msa() local
92 LD_UB4(ref_ptr, ref_stride, ref0, ref1, ref2, ref3); in avg_sse_diff_8width_msa()
95 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, src0, src1, in avg_sse_diff_8width_msa()
96 ref0, ref1); in avg_sse_diff_8width_msa()
98 CALC_MSE_AVG_B(src0, ref0, var, avg); in avg_sse_diff_8width_msa()
170 v16u8 src0, src1, ref0, ref1, pred0, pred1; in avg_sse_diff_32width_msa() local
179 LD_UB2(ref_ptr, 16, ref0, ref1); in avg_sse_diff_32width_msa()
[all …]
Davg_msa.c401 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; in vpx_int_pro_row_msa() local
409 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
411 UNPCK_UB_SH(ref0, ref0_r, ref0_l); in vpx_int_pro_row_msa()
433 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
435 UNPCK_UB_SH(ref0, ref0_r, ref0_l); in vpx_int_pro_row_msa()
451 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
453 UNPCK_UB_SH(ref0, ref0_r, ref0_l); in vpx_int_pro_row_msa()
475 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
477 UNPCK_UB_SH(ref0, ref0_r, ref0_l); in vpx_int_pro_row_msa()
493 LD_UB8(ref, ref_stride, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in vpx_int_pro_row_msa()
[all …]
Dadd_noise_msa.c20 v16u8 pos0, pos1, ref0, ref1; in vpx_plane_add_noise_msa() local
35 ref0 = LD_UB(ref0_ptr); in vpx_plane_add_noise_msa()
44 pos0 += ref0; in vpx_plane_add_noise_msa()
/external/libvpx/vpx_dsp/loongarch/
Dsad_lsx.c15 static INLINE __m128i sad_ub2_uh(__m128i in0, __m128i in1, __m128i ref0, in sad_ub2_uh() argument
20 diff0_m = __lsx_vabsd_bu(in0, ref0); in sad_ub2_uh()
68 __m128i src0, src1, src2, src3, ref0, ref1, ref2, ref3, sad_tmp; in sad_8width_lsx() local
72 DUP2_ARG2(__lsx_vld, src, 0, ref, 0, src0, ref0); in sad_8width_lsx()
84 DUP4_ARG2(__lsx_vpickev_d, src1, src0, src3, src2, ref1, ref0, ref3, ref2, in sad_8width_lsx()
85 src0, src1, ref0, ref1); in sad_8width_lsx()
86 sad_tmp = sad_ub2_uh(src0, src1, ref0, ref1); in sad_8width_lsx()
98 __m128i src0, src1, ref0, ref1, sad_tmp; in sad_16width_lsx() local
104 DUP2_ARG2(__lsx_vld, src, 0, ref, 0, src0, ref0); in sad_16width_lsx()
108 sad_tmp = sad_ub2_uh(src0, src1, ref0, ref1); in sad_16width_lsx()
[all …]
Dvariance_lsx.c24 __m128i src0, src1, src2, src3, ref0, ref1, ref2, ref3, vec; in sse_diff_8width_lsx() local
40 ref_ptr + ref_stride2, 0, ref_ptr + ref_stride3, 0, ref0, ref1, in sse_diff_8width_lsx()
44 DUP4_ARG2(__lsx_vpickev_d, src1, src0, src3, src2, ref1, ref0, ref3, ref2, in sse_diff_8width_lsx()
45 src0, src1, ref0, ref1); in sse_diff_8width_lsx()
46 CALC_MSE_AVG_B(src0, ref0, var, avg); in sse_diff_8width_lsx()
99 __m128i src0, src1, ref0, ref1; in sse_diff_32width_lsx() local
106 DUP2_ARG2(__lsx_vld, ref_ptr, 0, ref_ptr, 16, ref0, ref1); in sse_diff_32width_lsx()
108 CALC_MSE_AVG_B(src0, ref0, var, avg); in sse_diff_32width_lsx()
113 DUP2_ARG2(__lsx_vld, ref_ptr, 0, ref_ptr, 16, ref0, ref1); in sse_diff_32width_lsx()
115 CALC_MSE_AVG_B(src0, ref0, var, avg); in sse_diff_32width_lsx()
[all …]
Dsub_pixel_variance_lsx.c33 __m128i src0, src1, src2, src3, ref0, ref1, ref2, ref3; in avg_sse_diff_64x64_lsx() local
51 ref0, ref1, ref2, ref3); in avg_sse_diff_64x64_lsx()
56 CALC_MSE_AVG_B(src0, ref0, var, avg0); in avg_sse_diff_64x64_lsx()
68 ref0, ref1, ref2, ref3); in avg_sse_diff_64x64_lsx()
73 CALC_MSE_AVG_B(src0, ref0, var, avg0); in avg_sse_diff_64x64_lsx()
96 __m128i src0, src1, src2, src3, ref0, ref1, ref2, ref3; in sub_pixel_sse_diff_8width_h_lsx() local
114 ref0 = __lsx_vld(dst, 0); in sub_pixel_sse_diff_8width_h_lsx()
119 DUP2_ARG2(__lsx_vpickev_d, ref1, ref0, ref3, ref2, ref0, ref1); in sub_pixel_sse_diff_8width_h_lsx()
128 CALC_MSE_AVG_B(out, ref0, var, avg); in sub_pixel_sse_diff_8width_h_lsx()
218 __m128i ref0, ref1, ref2, ref3, src0, src1, src2, src3, src4; in sub_pixel_sse_diff_8width_v_lsx() local
[all …]
/external/libaom/aom_dsp/x86/
Dsad4d_avx2.c51 const uint8_t *ref0, *ref1, *ref2, *ref3; in aom_sadMxNx4d_avx2() local
53 ref0 = ref[0]; in aom_sadMxNx4d_avx2()
66 ref0_reg = _mm256_loadu_si256((const __m256i *)(ref0 + j)); in aom_sadMxNx4d_avx2()
83 ref0 += ref_stride; in aom_sadMxNx4d_avx2()
98 const uint8_t *ref0, *ref1, *ref2; in aom_sadMxNx3d_avx2() local
101 ref0 = ref[0]; in aom_sadMxNx3d_avx2()
112 ref0_reg = _mm256_loadu_si256((const __m256i *)(ref0 + j)); in aom_sadMxNx3d_avx2()
126 ref0 += ref_stride; in aom_sadMxNx3d_avx2()
190 const uint8_t *ref0, *ref1, *ref2; in aom_sad16xNx3d_avx2() local
194 ref0 = ref[0]; in aom_sad16xNx3d_avx2()
[all …]
Dmasked_sad4d_ssse3.c53 const uint8_t *ref0 = a_ptr[0]; in masked_sadx4d_ssse3() local
74 ref0 += a_stride; in masked_sadx4d_ssse3()
111 const uint8_t *ref0 = ref_array[0]; in aom_masked_sad8xhx4d_ssse3() local
140 ref0 += 2 * a_stride; in aom_masked_sad8xhx4d_ssse3()
172 const uint8_t *ref0 = ref_array[0]; in aom_masked_sad4xhx4d_ssse3() local
204 ref0 += 2 * a_stride; in aom_masked_sad4xhx4d_ssse3()
/external/deqp/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp185 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() local
187 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
191 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
275 const float ref0 = de::clamp(float(in0) / 32767.f, -1.0f, 1.0f); in iterate() local
280 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate()
289 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
376 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() local
378 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
382 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
466 const float ref0 = float(in0) / 65535.0f; in iterate() local
[all …]
Des31fShaderIntegerFunctionTests.cpp409 const deUint32 ref0 = in0+in1; in compare() local
412 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
414 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
503 const deUint32 ref0 = in0-in1; in compare() local
506 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
508 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
593 const deUint32 ref0 = deUint32(mul64 >> 32); in compare() local
596 if (out0 != ref0 || out1 != ref1) in compare()
598 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
684 const deInt32 ref0 = deInt32(mul64 >> 32); in compare() local
[all …]
/external/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.cpp185 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() local
187 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
191 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
275 const float ref0 = de::clamp(float(in0) / 32767.f, -1.0f, 1.0f); in iterate() local
280 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate()
289 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
376 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() local
378 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
382 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
466 const float ref0 = float(in0) / 65535.0f; in iterate() local
[all …]
Des3fShaderCommonFunctionTests.cpp434 const float ref0 = de::abs(in0); in compare() local
435 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
439 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
450 const int ref0 = de::abs(in0); in compare() local
452 if (out0 != ref0) in compare()
454 m_failMsg << "Expected [" << compNdx << "] = " << ref0; in compare()
527 const float ref0 = in0 < 0.0f ? -1.0f : in compare() local
529 const deUint32 ulpDiff0 = getUlpDiff(out0, ref0); in compare()
533 …m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxU… in compare()
544 const int ref0 = in0 < 0 ? -1 : in compare() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp189 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), -1.0f,… in iterate() local
191 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
195 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
297 const float ref0 = de::clamp(float(in0) / 32767.f, -1.0f, 1.0f); in iterate() local
302 const deUint32 diff0 = getUlpDiff(ref0, res0); in iterate()
311 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
408 …const deUint16 ref0 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].x(), 0.0f, … in iterate() local
410 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
414 const int diff0 = de::abs((int)ref0 - (int)res0); in iterate()
516 const float ref0 = float(in0) / 65535.0f; in iterate() local
[all …]
DvktShaderIntegerFunctionTests.cpp479 const deUint32 ref0 = in0+in1; in compare() local
482 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
484 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
587 const deUint32 ref0 = in0-in1; in compare() local
590 if (((out0&mask0) != (ref0&mask0)) || out1 != ref1) in compare()
592 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
691 const deUint32 ref0 = deUint32(mul64 >> 32); in compare() local
694 if (out0 != ref0 || out1 != ref1) in compare()
696 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
796 const deInt32 ref0 = deInt32(mul64 >> 32); in compare() local
[all …]
/external/deqp/external/vulkancts/data/vulkan/amber/draw/output_location/shuffle/
Dinputs-outputs.amber83 BUFFER ref0 FORMAT B8G8R8A8_UNORM
121 BIND BUFFER ref0 AS color LOCATION 0
135 EXPECT framebuffer0 EQ_BUFFER ref0
/external/deqp-deps/amber/tests/cases/
Dbuffer_load_binary.amber37 BUFFER ref0 DATA_TYPE vec4<float> DATA
54 EXPECT buf0 EQ_BUFFER ref0
Dbuffer_load_text.amber37 BUFFER ref0 DATA_TYPE vec4<float> DATA
54 EXPECT buf0 EQ_BUFFER ref0
Dcompute_descriptor_array_storagetexelbuffer.amber48 BUFFER ref0 DATA_TYPE R32G32B32A32_SFLOAT DATA
78 EXPECT texel_buffer_out0 EQ_BUFFER ref0
/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(WebPMemToInt32(&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 WebPInt32ToMem(&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/deqp/external/vulkancts/data/vulkan/amber/draw/output_location/array/
Dr32-sfloat-highp.amber98 BUFFER ref0 FORMAT R32_SFLOAT
162 BIND BUFFER ref0 AS color LOCATION 0
190 BIND BUFFER ref0 AS combined_image_sampler SAMPLER sampler DESCRIPTOR_SET 0 BINDING 1
Dr32-sfloat-mediump.amber98 BUFFER ref0 FORMAT R32_SFLOAT
162 BIND BUFFER ref0 AS color LOCATION 0
190 BIND BUFFER ref0 AS combined_image_sampler SAMPLER sampler DESCRIPTOR_SET 0 BINDING 1

123