Home
last modified time | relevance | path

Searched refs:ref1 (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/ffmpeg/libavcodec/
Dvp9_mc_template.c40 AVFrame *ref1 = tref1->f, *ref2; in FN() local
41 int w1 = ref1->width, h1 = ref1->height, w2, h2; in FN()
59 ref1->data[0], ref1->linesize[0], tref1, in FN()
63 ref1->data[0], ref1->linesize[0], tref1, in FN()
71 ref1->data[1], ref1->linesize[1], in FN()
72 ref1->data[2], ref1->linesize[2], tref1, in FN()
78 ref1->data[1], ref1->linesize[1], in FN()
79 ref1->data[2], ref1->linesize[2], tref1, in FN()
92 ref1->data[1], ref1->linesize[1], in FN()
93 ref1->data[2], ref1->linesize[2], tref1, in FN()
[all …]
/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.c50 int32_t *ref1 = &ref[BUF_SIZE*1], *new1 = &new[BUF_SIZE*1]; in check_rct_int() local
58 call_ref(ref0, ref1, ref2, BUF_SIZE); in check_rct_int()
61 memcmp(ref1, new1, BUF_SIZE * sizeof(*src)) || in check_rct_int()
74 float *ref1 = &ref[BUF_SIZE*1], *new1 = &new[BUF_SIZE*1]; in check_ict_float() local
82 call_ref(ref0, ref1, ref2, BUF_SIZE); in check_ict_float()
85 !float_near_abs_eps_array(ref1, new1, 1.0e-5, BUF_SIZE) || in check_ict_float()
Dfixed_dsp.c99 LOCAL_ALIGNED_16(int, ref1, [BUF_SIZE]); in check_butterflies()
106 memcpy(ref1, src1, BUF_SIZE * sizeof(*src1)); in check_butterflies()
110 call_ref(ref0, ref1, BUF_SIZE); in check_butterflies()
113 memcmp(ref1, new1, BUF_SIZE * sizeof(*ref1))) in check_butterflies()
Dhevc_pel.c61 AV_WN32A(ref1 + k, r); \
208 LOCAL_ALIGNED_32(int16_t, ref1, [BUF_SIZE]); in checkasm_check_hevc_qpel_bi()
233 …l_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], i, j,… in checkasm_check_hevc_qpel_bi()
236 …h_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], i, j,… in checkasm_check_hevc_qpel_bi()
252 LOCAL_ALIGNED_32(int16_t, ref1, [BUF_SIZE]); in checkasm_check_hevc_qpel_bi_w()
282 …l_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], *deno… in checkasm_check_hevc_qpel_bi_w()
285 …h_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], *deno… in checkasm_check_hevc_qpel_bi_w()
437 LOCAL_ALIGNED_32(int16_t, ref1, [BUF_SIZE]); in checkasm_check_hevc_epel_bi()
462 …l_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], i, j,… in checkasm_check_hevc_epel_bi()
465 …h_new(dst1, sizes[size] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], i, j,… in checkasm_check_hevc_epel_bi()
[all …]
/third_party/boost/libs/range/test/algorithm_test/
Dmismatch.cpp93 const int ref1, in eval_mismatch() argument
101 BOOST_CHECK_EQUAL( ref1, *result.first ); in eval_mismatch()
105 BOOST_CHECK_EQUAL( ref1, *result.first ); in eval_mismatch()
109 BOOST_CHECK_EQUAL( ref1, *result.first ); in eval_mismatch()
114 BOOST_CHECK_EQUAL( ref1, *result.first ); in eval_mismatch()
122 const int ref1, in eval_mismatch() argument
130 BOOST_CHECK_EQUAL( ref1, *result.first ); in eval_mismatch()
135 BOOST_CHECK_EQUAL( ref1, *result.first ); in eval_mismatch()
140 BOOST_CHECK_EQUAL( ref1, *result.first ); in eval_mismatch()
146 BOOST_CHECK_EQUAL( ref1, *result.first ); in eval_mismatch()
/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()
160 … const int ref1 = 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()
172 (FFABS(src0 - ref1) < thr) && in deband_8_c()
174 … (FFABS(src0 - ref3) < thr) ? get_avg(ref0, ref1, ref2, ref3) : src0; in deband_8_c()
208 … const int ref1 = 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()
220 (FFABS(src0 - ref1) < thr) && in deband_8_coupling_c()
273 … const int ref1 = 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.cpp186 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() local
187 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
192 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
276 const float ref1 = de::clamp(float(in1) / 32767.f, -1.0f, 1.0f); in iterate() local
281 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate()
289 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
377 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() local
378 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
383 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
467 const float ref1 = float(in1) / 65535.0f; in iterate() local
[all …]
Des31fShaderIntegerFunctionTests.cpp410 const deUint32 ref1 = (deUint64(in0)+deUint64(in1)) > 0xffffffffu ? 1u : 0u; 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()
504 const deUint32 ref1 = in0 >= in1 ? 0u : 1u; 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()
594 const deUint32 ref1 = deUint32(mul64 & 0xffffffffu); in compare() local
596 if (out0 != ref0 || out1 != ref1) in compare()
598 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
685 const deInt32 ref1 = deInt32(mul64 & 0xffffffffu); in compare() local
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp186 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() local
187 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
192 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
276 const float ref1 = de::clamp(float(in1) / 32767.f, -1.0f, 1.0f); in iterate() local
281 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate()
289 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
377 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() local
378 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
383 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
467 const float ref1 = float(in1) / 65535.0f; in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp190 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), -1.0f,… in iterate() local
191 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
196 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
298 const float ref1 = de::clamp(float(in1) / 32767.f, -1.0f, 1.0f); in iterate() local
303 const deUint32 diff1 = getUlpDiff(ref1, res1); in iterate()
311 << "vec2(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ")" in iterate()
409 …const deUint16 ref1 = (deUint16)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].y(), 0.0f, … in iterate() local
410 const deUint32 ref = (ref1 << 16) | ref0; in iterate()
415 const int diff1 = de::abs((int)ref1 - (int)res1); in iterate()
517 const float ref1 = float(in1) / 65535.0f; in iterate() local
[all …]
DvktShaderIntegerFunctionTests.cpp480 const deUint32 ref1 = (deUint64(in0)+deUint64(in1)) > 0xffffffffu ? 1u : 0u; 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()
588 const deUint32 ref1 = in0 >= in1 ? 0u : 1u; 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()
692 const deUint32 ref1 = deUint32(mul64 & 0xffffffffu); in compare() local
694 if (out0 != ref0 || out1 != ref1) in compare()
696 m_failMsg << "Expected [" << compNdx << "] = " << tcu::toHex(ref0) << ", " << tcu::toHex(ref1); in compare()
797 const deInt32 ref1 = deInt32(mul64 & 0xffffffffu); in compare() local
[all …]
/third_party/node/test/message/
Dpromise_always_throw_unhandled.js9 const ref1 = new Promise(() => { constant
16 setTimeout(() => console.log(ref1, ref2), 1000);
/third_party/python/Lib/test/
Dtest_weakref.py136 ref1 = weakref.ref(o, self.callback)
140 self.assertIsNone(ref1(), "expected reference to be invalidated")
160 ref1 = weakref.ref(c, callback)
170 ref1 = weakref.proxy(o, self.callback)
178 self.assertRaises(ReferenceError, check, ref1)
207 ref1 = weakref.ref(o)
212 self.assertIs(ref1, ref2,
217 ref1 = weakref.ref(o)
219 self.assertIs(ref1, ref2,
344 ref1 = weakref.proxy(o)
[all …]
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/draw/output_location/shuffle/
Dinputs-outputs.amber84 BUFFER ref1 FORMAT B8G8R8A8_UNORM
128 BIND BUFFER ref1 AS color LOCATION 0
136 EXPECT framebuffer1 EQ_BUFFER ref1
/third_party/gettext/gettext-tools/tests/
Dxgettext-perl-416 my $ref1 = \$polite;
17 my $ref2 = \$ref1;
/third_party/boost/libs/accumulators/test/
Dreference.cpp30 int &ref1 = accumulators::reference<int, my::tag::int_ref>(acc); in test_stat() local
33 BOOST_CHECK_EQUAL(&i, &ref1); in test_stat()
/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
154 ref1 = _mm_loadl_epi64((const __m128i*)&ref[1 * BPS]); in ITransform_SSE2()
160 ref1 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[1 * BPS])); in ITransform_SSE2()
166 ref1 = _mm_unpacklo_epi8(ref1, zero); in ITransform_SSE2()
171 ref1 = _mm_add_epi16(ref1, T1); in ITransform_SSE2()
176 ref1 = _mm_packus_epi16(ref1, ref1); in ITransform_SSE2()
183 _mm_storel_epi64((__m128i*)&dst[1 * BPS], ref1); in ITransform_SSE2()
189 WebPUint32ToMem(&dst[1 * BPS], _mm_cvtsi128_si32(ref1)); in ITransform_SSE2()
315 const __m128i ref1 = _mm_loadl_epi64((const __m128i*)&ref[1 * 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
154 ref1 = _mm_loadl_epi64((const __m128i*)&ref[1 * BPS]); in ITransform_SSE2()
160 ref1 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[1 * BPS])); in ITransform_SSE2()
166 ref1 = _mm_unpacklo_epi8(ref1, zero); in ITransform_SSE2()
171 ref1 = _mm_add_epi16(ref1, T1); in ITransform_SSE2()
176 ref1 = _mm_packus_epi16(ref1, ref1); in ITransform_SSE2()
183 _mm_storel_epi64((__m128i*)&dst[1 * BPS], ref1); in ITransform_SSE2()
189 WebPUint32ToMem(&dst[1 * BPS], _mm_cvtsi128_si32(ref1)); in ITransform_SSE2()
315 const __m128i ref1 = _mm_loadl_epi64((const __m128i*)&ref[1 * BPS]); in FTransform_SSE2() local
318 const __m128i ref_0 = _mm_unpacklo_epi16(ref0, ref1); in FTransform_SSE2()
[all …]
/third_party/typescript/tests/cases/fourslash/
DquickInfoForTypeofParameter.ts9 ref1: "(local var) y1: string",
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/
D0-opt.spvasm21 OpName %ref1 "ref1"
91 %ref1 = OpVariable %_ptr_Function__arr_int_uint_10 Function
333 OpStore %ref1 %236
377 %275 = OpAccessChain %_ptr_Function_int %ref1 %274
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/draw/output_location/array/
Dr32-sfloat-mediump.amber99 BUFFER ref1 FORMAT R32_SFLOAT
171 BIND BUFFER ref1 AS color LOCATION 0
201 BIND BUFFER ref1 AS combined_image_sampler SAMPLER sampler DESCRIPTOR_SET 0 BINDING 1
Dr32-sfloat-highp.amber99 BUFFER ref1 FORMAT R32_SFLOAT
171 BIND BUFFER ref1 AS color LOCATION 0
201 BIND BUFFER ref1 AS combined_image_sampler SAMPLER sampler DESCRIPTOR_SET 0 BINDING 1

1234