Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/libavcodec/mips/
Dme_cmp_msa.c29 v16u8 src0, src1, src2, src3, ref0, ref1, ref2, ref3; in sad_8width_msa() local
35 LD_UB4(ref, ref_stride, ref0, ref1, ref2, ref3); in sad_8width_msa()
38 PCKEV_D4_UB(src1, src0, src3, src2, ref1, ref0, ref3, ref2, in sad_8width_msa()
39 src0, src1, ref0, ref1); in sad_8width_msa()
40 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_8width_msa()
51 v16u8 src0, src1, ref0, ref1; in sad_16width_msa() local
57 LD_UB2(ref, ref_stride, ref0, ref1); in sad_16width_msa()
59 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_16width_msa()
63 LD_UB2(ref, ref_stride, ref0, ref1); in sad_16width_msa()
65 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_16width_msa()
[all …]
/third_party/ffmpeg/tests/checkasm/
Djpeg2000dsp.c49 int32_t *ref0 = &ref[BUF_SIZE*0], *new0 = &new[BUF_SIZE*0]; in check_rct_int() local
58 call_ref(ref0, ref1, ref2, BUF_SIZE); in check_rct_int()
60 if (memcmp(ref0, new0, BUF_SIZE * sizeof(*src)) || in check_rct_int()
73 float *ref0 = &ref[BUF_SIZE*0], *new0 = &new[BUF_SIZE*0]; in check_ict_float() local
82 call_ref(ref0, ref1, ref2, BUF_SIZE); in check_ict_float()
84 if (!float_near_abs_eps_array(ref0, new0, 1.0e-5, BUF_SIZE) || in check_ict_float()
Dfixed_dsp.c98 LOCAL_ALIGNED_16(int, ref0, [BUF_SIZE]); in check_butterflies()
105 memcpy(ref0, src0, BUF_SIZE * sizeof(*src0)); in check_butterflies()
110 call_ref(ref0, ref1, BUF_SIZE); in check_butterflies()
112 if (memcmp(ref0, new0, BUF_SIZE * sizeof(*ref0)) || in check_butterflies()
Dhevc_pel.c60 AV_WN32A(ref0 + k, r); \
207 LOCAL_ALIGNED_32(int16_t, ref0, [BUF_SIZE]); in checkasm_check_hevc_qpel_bi()
232 …l_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, ref0, sizes[size], i, j,… in checkasm_check_hevc_qpel_bi()
251 LOCAL_ALIGNED_32(int16_t, ref0, [BUF_SIZE]); in checkasm_check_hevc_qpel_bi_w()
281 …l_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, ref0, sizes[size], *deno… in checkasm_check_hevc_qpel_bi_w()
436 LOCAL_ALIGNED_32(int16_t, ref0, [BUF_SIZE]); in checkasm_check_hevc_epel_bi()
461 …l_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, ref0, sizes[size], i, j,… in checkasm_check_hevc_epel_bi()
480 LOCAL_ALIGNED_32(int16_t, ref0, [BUF_SIZE]); in checkasm_check_hevc_epel_bi_w()
510 …l_ref(dst0, sizes[size] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, ref0, sizes[size], *deno… in checkasm_check_hevc_epel_bi_w()
/third_party/ffmpeg/libavcodec/
Dh264_direct.c602 int ref0, scale; in pred_temp_direct_motion() local
617 ref0 = l1ref0[x8 + y8 * b8_stride]; in pred_temp_direct_motion()
618 if (ref0 >= 0) in pred_temp_direct_motion()
619 ref0 = map_col_to_list0[0][ref0 + ref_offset]; in pred_temp_direct_motion()
621 ref0 = map_col_to_list0[1][l1ref1[x8 + y8 * b8_stride] + in pred_temp_direct_motion()
625 scale = dist_scale_factor[ref0]; in pred_temp_direct_motion()
627 ref0, 1); in pred_temp_direct_motion()
652 const int ref0 = l1ref0[0] >= 0 ? map_col_to_list0[0][l1ref0[0] + ref_offset] in pred_temp_direct_motion() local
654 const int scale = dist_scale_factor[ref0]; in pred_temp_direct_motion()
659 ref = ref0; in pred_temp_direct_motion()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_deband.c125 static int inline get_avg(int ref0, int ref1, int ref2, int ref3) in get_avg() argument
127 return (ref0 + ref1 + ref2 + ref3) / 4; in get_avg()
159 … const int ref0 = src_ptr[av_clip(y + y_pos, 0, h) * src_linesize + av_clip(x + x_pos, 0, w)]; in deband_8_c() local
166 const int avg = get_avg(ref0, ref1, ref2, ref3); in deband_8_c()
171 dst_ptr[y * dst_linesize + x] = (FFABS(src0 - ref0) < thr) && in deband_8_c()
174 … (FFABS(src0 - ref3) < thr) ? get_avg(ref0, ref1, ref2, ref3) : src0; in deband_8_c()
207 … const int ref0 = src_ptr[av_clip(y + y_pos, 0, h) * src_linesize + av_clip(x + x_pos, 0, w)]; in deband_8_coupling_c() local
214 avg[p] = get_avg(ref0, ref1, ref2, ref3); in deband_8_coupling_c()
219 cmp[p] = (FFABS(src0 - ref0) < thr) && in deband_8_coupling_c()
272 … const int ref0 = src_ptr[av_clip(y + y_pos, 0, h) * src_linesize + av_clip(x + x_pos, 0, w)]; in deband_16_coupling_c() local
[all …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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
/third_party/flutter/skia/third_party/externals/libwebp/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 …]
/third_party/skia/third_party/externals/libwebp/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 …]
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/
D0-opt.spvasm20 OpName %ref0 "ref0"
90 %ref0 = OpVariable %_ptr_Function__arr_int_uint_10 Function
311 OpStore %ref0 %215
366 %265 = OpAccessChain %_ptr_Function_int %ref0 %264
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/draw/output_location/array/
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
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
Dr32g32b32a32-sfloat-highp-output-vec3.amber98 BUFFER ref0 FORMAT R32G32B32A32_SFLOAT
162 BIND BUFFER ref0 AS color LOCATION 0
190 BIND BUFFER ref0 AS combined_image_sampler SAMPLER sampler DESCRIPTOR_SET 0 BINDING 1
Dr8g8-uint-mediump-output-uint.amber98 BUFFER ref0 FORMAT R8G8_UINT
162 BIND BUFFER ref0 AS color LOCATION 0
190 BIND BUFFER ref0 AS combined_image_sampler SAMPLER sampler DESCRIPTOR_SET 0 BINDING 1
Dr32g32b32a32-sfloat-highp.amber98 BUFFER ref0 FORMAT R32G32B32A32_SFLOAT
162 BIND BUFFER ref0 AS color LOCATION 0
190 BIND BUFFER ref0 AS combined_image_sampler SAMPLER sampler DESCRIPTOR_SET 0 BINDING 1
Dr8g8-uint-mediump.amber98 BUFFER ref0 FORMAT R8G8_UINT
162 BIND BUFFER ref0 AS color LOCATION 0
190 BIND BUFFER ref0 AS combined_image_sampler SAMPLER sampler DESCRIPTOR_SET 0 BINDING 1
Db10g11r11-ufloat-pack32-highp-output-float.amber98 BUFFER ref0 FORMAT B10G11R11_UFLOAT_PACK32
162 BIND BUFFER ref0 AS color LOCATION 0
190 BIND BUFFER ref0 AS combined_image_sampler SAMPLER sampler DESCRIPTOR_SET 0 BINDING 1

123