Home
last modified time | relevance | path

Searched refs:ref2 (Results 1 - 25 of 26) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
H A Dvp9_mc_template.c40 AVFrame *ref1 = tref1->f, *ref2; in inter_pred() local
47 ref2 = tref2->f; in inter_pred()
48 w2 = ref2->width; in inter_pred()
49 h2 = ref2->height; in inter_pred()
100 ref2->data[0], ref2->linesize[0], tref2, in inter_pred()
104 ref2->data[0], ref2->linesize[0], tref2, in inter_pred()
112 ref2->data[1], ref2 in inter_pred()
[all...]
H A Dsnow.h490 static inline void init_ref(MotionEstContext *c, uint8_t *src[3], uint8_t *ref[3], uint8_t *ref2[3], int x, int y, int ref_index){ in init_ref() argument
H A Dmotion_est.c82 static inline void init_ref(MotionEstContext *c, uint8_t *src[3], uint8_t *ref[3], uint8_t *ref2[3], int x, int y, int ref_index){ in init_ref() argument
95 c->ref[ref_index][i]= ref2[i] + offset[i]; in init_ref()
/third_party/ffmpeg/libavcodec/mips/
H A 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()
79 v16u8 ref0, ref1, ref2, ref3, ref4, ref5; in sad_horiz_bilinear_filter_8width_msa() local
85 LD_UB4(ref, ref_stride, ref0, ref1, ref2, ref3); in sad_horiz_bilinear_filter_8width_msa()
89 PCKEV_D2_UB(ref1, ref0, ref3, ref2, ref4, ref5); in sad_horiz_bilinear_filter_8width_msa()
90 SLDI_B4_UB(ref0, ref0, ref1, ref1, ref2, ref2, ref3, ref3, 1, in sad_horiz_bilinear_filter_8width_msa()
91 ref0, ref1, ref2, ref3); in sad_horiz_bilinear_filter_8width_msa()
92 PCKEV_D2_UB(ref1, ref0, ref3, ref2, ref in sad_horiz_bilinear_filter_8width_msa()
159 v16u8 ref0, ref1, ref2, ref3, ref4; sad_vert_bilinear_filter_8width_msa() local
197 v16u8 ref0, ref1, ref2, ref3, ref4; sad_vert_bilinear_filter_16width_msa() local
235 v16u8 ref0, ref1, ref2, ref3, ref4; sad_hv_bilinear_filter_8width_msa() local
413 uint32_t ref0, ref1, ref2, ref3; sse_4width_msa() local
441 v16u8 ref0, ref1, ref2, ref3; sse_8width_msa() local
505 v16u8 ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7; hadamard_diff_8x8_msa() local
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Djpeg2000dsp.c51 int32_t *ref2 = &ref[BUF_SIZE*2], *new2 = &new[BUF_SIZE*2]; in check_rct_int() local
58 call_ref(ref0, ref1, ref2, BUF_SIZE); in check_rct_int()
62 memcmp(ref2, new2, BUF_SIZE * sizeof(*src))) in check_rct_int()
75 float *ref2 = &ref[BUF_SIZE*2], *new2 = &new[BUF_SIZE*2]; in check_ict_float() local
82 call_ref(ref0, ref1, ref2, BUF_SIZE); in check_ict_float()
86 !float_near_abs_eps_array(ref2, new2, 1.0e-5, BUF_SIZE)) in check_ict_float()
/third_party/ffmpeg/libavcodec/loongarch/
H A Dh264_deblock_lasx.c45 ref2 = __lasx_xvldx(ref_t, d_idx_12); \
49 ref2 = __lasx_xvilvl_w(ref3, ref2); \
52 ref3 = __lasx_xvshuf4i_w(ref2, 0xB1); \
53 ref0 = __lasx_xvsub_b(ref0, ref2); \
118 __m256i ref0, ref1, ref2, ref3; in ff_h264_loop_filter_strength_lasx() local
/third_party/ffmpeg/libavfilter/
H A Dvf_deband.c121 static int inline get_avg(int ref0, int ref1, int ref2, int ref3) in get_avg() argument
123 return (ref0 + ref1 + ref2 + ref3) / 4; in get_avg()
157 const int ref2 = src_ptr[av_clip(y + -y_pos, 0, h) * src_linesize + av_clip(x + -x_pos, 0, w)]; in deband_8_c() local
162 const int avg = get_avg(ref0, ref1, ref2, ref3); in deband_8_c()
169 (FFABS(src0 - ref2) < thr) && in deband_8_c()
170 (FFABS(src0 - ref3) < thr) ? get_avg(ref0, ref1, ref2, ref3) : src0; in deband_8_c()
205 const int ref2 = src_ptr[av_clip(y + -y_pos, 0, h) * src_linesize + av_clip(x + -x_pos, 0, w)]; in deband_8_coupling_c() local
210 avg[p] = get_avg(ref0, ref1, ref2, ref3); in deband_8_coupling_c()
217 (FFABS(src0 - ref2) < thr) && in deband_8_coupling_c()
270 const int ref2 in deband_16_coupling_c() local
338 const int ref2 = src_ptr[av_clip(y + -y_pos, 0, h) * src_linesize + av_clip(x + -x_pos, 0, w)]; deband_16_c() local
[all...]
/third_party/mesa3d/src/mesa/math/
H A Dm_debug_norm.c198 GLvector4f source[1], dest[1], dest2[1], ref[1], ref2[1]; in test_norm_function() local
271 ref2->data = r2; in test_norm_function()
272 ref2->start = (GLfloat *) r2; in test_norm_function()
273 ref2->count = TEST_COUNT; in test_norm_function()
274 ref2->stride = sizeof(float[4]); in test_norm_function()
275 ref2->flags = 0; in test_norm_function()
281 ref_norm_transform_normalize( mat, scale, source, length, ref2 ); in test_norm_function()
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Denc_sse2.c150 __m128i ref0, ref1, ref2, ref3; in ITransform_SSE2() local
155 ref2 = _mm_loadl_epi64((const __m128i*)&ref[2 * BPS]); in ITransform_SSE2()
161 ref2 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[2 * BPS])); in ITransform_SSE2()
167 ref2 = _mm_unpacklo_epi8(ref2, zero); in ITransform_SSE2()
172 ref2 = _mm_add_epi16(ref2, T2); in ITransform_SSE2()
177 ref2 = _mm_packus_epi16(ref2, ref2); in ITransform_SSE2()
316 const __m128i ref2 = _mm_loadl_epi64((const __m128i*)&ref[2 * BPS]); FTransform_SSE2() local
355 const __m128i ref2 = _mm_loadl_epi64((const __m128i*)&ref[2 * BPS]); FTransform2_SSE2() local
[all...]
H A 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()
724 PACK_DPADD_UB4_SW(src2, ref2, src3, ref3, out0, out1, out2, out3); in SSE16x16_MSA()
730 LD_UB8(b, BPS, ref0, ref1, ref2, ref3, ref4, ref5, ref6, ref7); in SSE16x16_MSA()
732 PACK_DPADD_UB4_SW(src2, ref2, src3, ref3, 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()
751 PACK_DPADD_UB4_SW(src2, ref2, src3, ref3, 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, ref in SSE8x8_MSA()
783 uint32_t src0, src1, src2, src3, ref0, ref1, ref2, ref3; SSE4x4_MSA() local
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv84_video_vp.c486 struct nv84_video_buffer *ref2 = (struct nv84_video_buffer *)desc->ref[1]; in nv84_decoder_vp_mpeg12() local
502 if (!ref2) in nv84_decoder_vp_mpeg12()
503 ref2 = dest; in nv84_decoder_vp_mpeg12()
505 bo_refs[2].bo = ref2->interlaced; in nv84_decoder_vp_mpeg12()
537 PUSH_DATA (push, ref2->interlaced->offset >> 8); in nv84_decoder_vp_mpeg12()
/third_party/lz4/lib/
H A Dlz4hc.c582 const BYTE* ref2 = NULL; in LZ4HC_compress_hashChain() local
602 ip + ml - 2, ip + 0, matchlimit, ml, &ref2, &start2, in LZ4HC_compress_hashChain()
623 ref =ref2; in LZ4HC_compress_hashChain()
639 ref2 += correction; in LZ4HC_compress_hashChain()
661 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml2, ref2, limit, oend)) { in LZ4HC_compress_hashChain()
663 ref = ref2; in LZ4HC_compress_hashChain()
674 ref2 += correction; in LZ4HC_compress_hashChain()
678 ref2 = ref3; in LZ4HC_compress_hashChain()
690 ref0 = ref2; in LZ4HC_compress_hashChain()
696 ref2 in LZ4HC_compress_hashChain()
[all...]
/third_party/python/Lib/test/
H A Dtest_weakref.py150 ref2 = weakref.ref(o, self.callback)
154 self.assertIsNone(ref2(), "expected reference to be invalidated")
184 ref2 = weakref.proxy(o, self.callback)
192 self.assertRaises(ReferenceError, check, ref2)
216 "ref2 should be dead after deleting object reference")
224 ref2 = weakref.ref(o)
225 self.assertIs(ref1, ref2,
231 ref2 = weakref.ref(o)
232 self.assertIs(ref1, ref2,
493 ref2
[all...]
/third_party/ffmpeg/tests/fate/
H A Dmxf.mak14 FATE_MXF += fate-mxf-metadata-source-ref2
15 fate-mxf-metadata-source-ref2: CMD = fmtstdout ffmetadata -i $(TARGET_SAMPLES)/mxf/track_02_a01.mxf -fflags +bitexact -flags +bitexact -map 0:0 -map 0:1 -map 0:3 -map_metadata:g -1
/third_party/skia/third_party/externals/abseil-cpp/absl/functional/
H A Dfunction_ref_test.cc95 FunctionRef<Base*()> ref2(l2); in TEST()
96 EXPECT_EQ(&d, ref2()); in TEST()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderPackingFunctionTests.cpp953 const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), -1.0f, 1.0f) * 127.0f), -(1<<7), (1<<7)-1); in iterate() local
955 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0); in iterate()
963 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate()
1069 const float ref2 = de::clamp(float(in2) / 127.f, -1.0f, 1.0f); in iterate() local
1078 const deUint32 diff2 = getUlpDiff(ref2, res2); in iterate()
1087 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")" in iterate()
1188 const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), 0.0f, 1.0f) * 255.0f), 0, (1<<8)-1); in iterate() local
1190 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0); in iterate()
1198 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate()
1304 const float ref2 in iterate() local
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderPackingFunctionTests.cpp789 const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), -1.0f, 1.0f) * 127.0f), -(1<<7), (1<<7)-1); in iterate() local
791 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0); in iterate()
799 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate()
887 const float ref2 = de::clamp(float(in2) / 127.f, -1.0f, 1.0f); in iterate() local
896 const deUint32 diff2 = getUlpDiff(ref2, res2); in iterate()
905 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")" in iterate()
998 const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), 0.0f, 1.0f) * 255.0f), 0, (1<<8)-1); in iterate() local
1000 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0); in iterate()
1008 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate()
1096 const float ref2 in iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderPackingFunctionTests.cpp953 const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), -1.0f, 1.0f) * 127.0f), -(1<<7), (1<<7)-1); in iterate() local
955 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0); in iterate()
963 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate()
1069 const float ref2 = de::clamp(float(in2) / 127.f, -1.0f, 1.0f); in iterate() local
1078 const deUint32 diff2 = getUlpDiff(ref2, res2); in iterate()
1087 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")" in iterate()
1188 const deUint16 ref2 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].z(), 0.0f, 1.0f) * 255.0f), 0, (1<<8)-1); in iterate() local
1190 const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | deUint32(ref0); in iterate()
1198 const int diff2 = de::abs((int)ref2 - (int)res2); in iterate()
1304 const float ref2 in iterate() local
[all...]
/test/testfwk/arkxtest/uitest/test/
H A Dfrontend_api_handler_test.cpp237 const auto ref2 = reply2.resultValue_.get<string>(); in TEST_F() local
238 ASSERT_TRUE(ref2.find("UiDriver#") != string::npos); in TEST_F()
295 const auto ref2 = reply2.resultValue_.get<string>(); in TEST_F() local
296 ASSERT_TRUE(ref2.find("Driver#") != string::npos); in TEST_F()
671 const auto ref2 = reply2.resultValue_.get<string>(); in TEST_F() local
672 ASSERT_TRUE(ref2.find("UIEventObserver#") != string::npos); in TEST_F()
/third_party/skia/third_party/externals/freetype/src/autofit/
H A Dafhints.c1588 /* `p2' to get hinted coordinates, using `ref1' and `ref2' as the */
1598 AF_Point ref2 ) in af_iup_interp()
1607 if ( ref1->v > ref2->v ) in af_iup_interp()
1610 ref1 = ref2; in af_iup_interp()
1611 ref2 = p; in af_iup_interp()
1615 v2 = ref2->v; in af_iup_interp()
1617 u2 = ref2->u; in af_iup_interp()
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftmac.c201 FSRef ref2; in FT_GetFileRef_From_Mac_ATS_Name() local
206 if ( noErr != FT_ATSFontGetFileReference( id2, &ref2 ) ) in FT_GetFileRef_From_Mac_ATS_Name()
208 if ( noErr != FSCompareFSRefs( ats_font_ref, &ref2 ) ) in FT_GetFileRef_From_Mac_ATS_Name()
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Drender_backend_vk.cpp614 RenderCommandContext& ref2 = renderCommandFrameData.renderCommandContexts[currCmdBufferIdx];
615 const DebugNames debugNames { ref2.debugName,
617 RenderSingleCommandList(ref2, currCmdBufferIdx, mrcDesc, debugNames);
624 RenderCommandContext& ref2 = renderCommandFrameData.renderCommandContexts[cmdBufferIdx];
625 const DebugNames debugNames { ref2.debugName,
627 RenderPrimaryRenderPass(renderCommandFrameData, ref2, cmdBufferIdx, mrcDesc, debugNames);
641 RenderCommandContext& ref2 = renderCommandFrameData.renderCommandContexts[currIdx];
642 const DebugNames debugNames { ref2.debugName,
644 RenderSingleCommandList(ref2, cmdBufferIdx, mrcDesc, debugNames);
671 RenderCommandContext& ref2
[all...]
/third_party/skia/third_party/externals/freetype/builds/mac/
H A Dftmac.c337 FSRef ref2; in FT_GetFileRef_From_Mac_ATS_Name() local
342 if ( noErr != FT_ATSFontGetFileReference( id2, &ref2 ) ) in FT_GetFileRef_From_Mac_ATS_Name()
344 if ( noErr != FSCompareFSRefs( ats_font_ref, &ref2 ) ) in FT_GetFileRef_From_Mac_ATS_Name()
/third_party/skia/third_party/externals/freetype/src/truetype/
H A Dttgxvar.c3653 /* between `p1' and `p2', using `ref1' and `ref2' as the reference */
3662 int ref2, in tt_delta_interpolate()
3681 if ( in_points[ref1].x > in_points[ref2].x ) in tt_delta_interpolate()
3684 ref1 = ref2; in tt_delta_interpolate()
3685 ref2 = p; in tt_delta_interpolate()
3689 in2 = in_points[ref2].x; in tt_delta_interpolate()
3691 out2 = out_points[ref2].x; in tt_delta_interpolate()
3659 tt_delta_interpolate( int p1, int p2, int ref1, int ref2, FT_Vector* in_points, FT_Vector* out_points ) tt_delta_interpolate() argument
H A Dttinterp.c6896 FT_UInt ref2 ) in _iup_worker_interpolate()
6906 BOUNDS( ref2, worker->max_points ) ) in _iup_worker_interpolate()
6910 orus2 = worker->orus[ref2].x; in _iup_worker_interpolate()
6923 ref1 = ref2; in _iup_worker_interpolate()
6924 ref2 = tmp_r; in _iup_worker_interpolate()
6928 org2 = worker->orgs[ref2].x; in _iup_worker_interpolate()
6930 cur2 = worker->curs[ref2].x; in _iup_worker_interpolate()

Completed in 44 milliseconds

12