Home
last modified time | relevance | path

Searched refs:ref3 (Results 1 – 10 of 10) sorted by relevance

/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()
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, ref0, ref1); in sad_horiz_bilinear_filter_8width_msa()
98 LD_UB4(ref, ref_stride, ref0, ref1, ref2, ref3); in sad_horiz_bilinear_filter_8width_msa()
[all …]
/third_party/ffmpeg/libavcodec/loongarch/
Dh264_deblock_lasx.c46 ref3 = __lasx_xvldx(ref_t, d_idx_52); \
49 ref2 = __lasx_xvilvl_w(ref3, ref2); \
52 ref3 = __lasx_xvshuf4i_w(ref2, 0xB1); \
54 ref1 = __lasx_xvsub_b(ref1, ref3); \
82 ref3 = __lasx_xvld(ref_t, 12); \
92 ref0 = __lasx_xvsub_b(ref3, ref0); \
118 __m256i ref0, ref1, ref2, ref3; in ff_h264_loop_filter_strength_lasx() local
/third_party/ffmpeg/libavfilter/
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()
158 … const int ref3 = 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()
170 … (FFABS(src0 - ref3) < thr) ? get_avg(ref0, ref1, ref2, ref3) : src0; in deband_8_c()
206 … const int ref3 = 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()
218 (FFABS(src0 - ref3) < thr); in deband_8_coupling_c()
271 … const int ref3 = src_ptr[av_clip(y + y_pos, 0, h) * src_linesize + av_clip(x + -x_pos, 0, w)]; in deband_16_coupling_c() local
275 avg[p] = get_avg(ref0, ref1, ref2, ref3); in deband_16_coupling_c()
[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()
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, ref3, ref4, ref5, ref6, ref7); in SSE8x8_MSA()
[all …]
Denc_sse2.c150 __m128i ref0, ref1, ref2, ref3; in ITransform_SSE2() local
156 ref3 = _mm_loadl_epi64((const __m128i*)&ref[3 * BPS]); in ITransform_SSE2()
162 ref3 = _mm_cvtsi32_si128(WebPMemToUint32(&ref[3 * BPS])); in ITransform_SSE2()
168 ref3 = _mm_unpacklo_epi8(ref3, zero); in ITransform_SSE2()
173 ref3 = _mm_add_epi16(ref3, T3); in ITransform_SSE2()
178 ref3 = _mm_packus_epi16(ref3, ref3); in ITransform_SSE2()
185 _mm_storel_epi64((__m128i*)&dst[3 * BPS], ref3); in ITransform_SSE2()
191 WebPUint32ToMem(&dst[3 * BPS], _mm_cvtsi128_si32(ref3)); in ITransform_SSE2()
317 const __m128i ref3 = _mm_loadl_epi64((const __m128i*)&ref[3 * BPS]); in FTransform_SSE2() local
319 const __m128i ref_1 = _mm_unpacklo_epi16(ref2, ref3); in FTransform_SSE2()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp790 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), -1.0f, … in iterate() local
791 …const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | de… in iterate()
800 const int diff3 = de::abs((int)ref3 - (int)res3); in iterate()
888 const float ref3 = de::clamp(float(in3) / 127.f, -1.0f, 1.0f); in iterate() local
897 const deUint32 diff3 = getUlpDiff(ref3, res3); in iterate()
905 …HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")" in iterate()
999 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), 0.0f, 1… in iterate() local
1000 …const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | de… in iterate()
1009 const int diff3 = de::abs((int)ref3 - (int)res3); in iterate()
1097 const float ref3 = de::clamp(float(in3) / 255.f, 0.0f, 1.0f); in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp954 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), -1.0f, … in iterate() local
955 …const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | de… in iterate()
964 const int diff3 = de::abs((int)ref3 - (int)res3); in iterate()
1070 const float ref3 = de::clamp(float(in3) / 127.f, -1.0f, 1.0f); in iterate() local
1079 const deUint32 diff3 = getUlpDiff(ref3, res3); in iterate()
1087 …HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")" in iterate()
1189 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), 0.0f, 1… in iterate() local
1190 …const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | de… in iterate()
1199 const int diff3 = de::abs((int)ref3 - (int)res3); in iterate()
1305 const float ref3 = de::clamp(float(in3) / 255.f, 0.0f, 1.0f); in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp954 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), -1.0f, … in iterate() local
955 …const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | de… in iterate()
964 const int diff3 = de::abs((int)ref3 - (int)res3); in iterate()
1070 const float ref3 = de::clamp(float(in3) / 127.f, -1.0f, 1.0f); in iterate() local
1079 const deUint32 diff3 = getUlpDiff(ref3, res3); in iterate()
1087 …HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) << ")" in iterate()
1189 …const deUint16 ref3 = (deUint8)de::clamp(deRoundFloatToInt32(de::clamp(inputs[valNdx].w(), 0.0f, 1… in iterate() local
1190 …const deUint32 ref = (deUint32(ref3) << 24) | (deUint32(ref2) << 16) | (deUint32(ref1) << 8) | de… in iterate()
1199 const int diff3 = de::abs((int)ref3 - (int)res3); in iterate()
1305 const float ref3 = de::clamp(float(in3) / 255.f, 0.0f, 1.0f); in iterate() local
[all …]
/third_party/lz4/lib/
Dlz4hc.c584 const BYTE* ref3 = NULL; in LZ4HC_compress_hashChain() local
647 start2 + ml2 - 3, start2, matchlimit, ml2, &ref3, &start3, in LZ4HC_compress_hashChain()
678 ref2 = ref3; in LZ4HC_compress_hashChain()
686 ref = ref3; in LZ4HC_compress_hashChain()
696 ref2 = ref3; in LZ4HC_compress_hashChain()
728 start2 = start3; ref2 = ref3; ml2 = ml3; in LZ4HC_compress_hashChain()
/third_party/python/Lib/test/
Dtest_weakref.py180 ref3 = weakref.proxy(C())
182 self.assertRaises(ReferenceError, bool, ref3)