Home
last modified time | relevance | path

Searched refs:hev_thresh (Results 1 - 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Ddec_mips32.c94 int thresh, int ithresh, int hev_thresh) { in FilterLoop26()
98 if (hev(p, hstride, hev_thresh)) { in FilterLoop26()
110 int thresh, int ithresh, int hev_thresh) { in FilterLoop24()
114 if (hev(p, hstride, hev_thresh)) { in FilterLoop24()
126 int thresh, int ithresh, int hev_thresh) { in VFilter16()
127 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16()
131 int thresh, int ithresh, int hev_thresh) { in HFilter16()
132 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16()
137 int thresh, int ithresh, int hev_thresh) { in VFilter8()
138 FilterLoop26(u, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8()
92 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop26() argument
108 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop24() argument
125 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16() argument
130 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16() argument
136 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8() argument
142 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8() argument
148 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8i() argument
154 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8i() argument
161 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16i() argument
170 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16i() argument
[all...]
H A Ddec_mips_dsp_r2.c162 int thresh, int ithresh, int hev_thresh) { in FilterLoop26()
212 "slt %[temp5], %[hev_thresh], %[temp5] \n\t" in FilterLoop26()
225 " slt %[temp15], %[hev_thresh], %[temp15] \n\t" in FilterLoop26()
292 [ithresh]"r"(ithresh),[vstride]"r"(vstride), [hev_thresh]"r"(hev_thresh), in FilterLoop26()
300 int thresh, int ithresh, int hev_thresh) { in FilterLoop24()
362 "slt %[p3], %[hev_thresh], %[p3] \n\t" in FilterLoop24()
364 " slt %[q3], %[hev_thresh], %[q3] \n\t" in FilterLoop24()
421 [hev_thresh]"r"(hev_thresh), [hstrid in FilterLoop24()
160 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop26() argument
298 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop24() argument
428 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16() argument
433 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16() argument
439 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8() argument
445 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8() argument
452 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16i() argument
461 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16i() argument
470 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8i() argument
476 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8i() argument
[all...]
H A Ddec.c597 int hev_thresh) { in FilterLoop26_C()
601 if (Hev(p, hstride, hev_thresh)) { in FilterLoop26_C()
614 int hev_thresh) { in FilterLoop24_C()
618 if (Hev(p, hstride, hev_thresh)) { in FilterLoop24_C()
632 int thresh, int ithresh, int hev_thresh) { in VFilter16_C()
633 FilterLoop26_C(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16_C()
637 int thresh, int ithresh, int hev_thresh) { in HFilter16_C()
638 FilterLoop26_C(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16_C()
643 int thresh, int ithresh, int hev_thresh) { in VFilter16i_C()
647 FilterLoop24_C(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16i_C()
594 FilterLoop26_C(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop26_C() argument
611 FilterLoop24_C(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop24_C() argument
631 VFilter16_C(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16_C() argument
636 HFilter16_C(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16_C() argument
642 VFilter16i_C(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16i_C() argument
653 HFilter16i_C(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16i_C() argument
665 VFilter8_C(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8_C() argument
673 HFilter8_C(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8_C() argument
681 VFilter8i_C(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8i_C() argument
689 HFilter8i_C(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8i_C() argument
[all...]
H A Ddec_sse2.c277 int hev_thresh, __m128i* const not_hev) { in GetNotHEV_SSE2()
282 const __m128i h = _mm_set1_epi8(hev_thresh); in GetNotHEV_SSE2()
381 int hev_thresh) { in DoFilter4_SSE2()
391 GetNotHEV_SSE2(p1, p0, q0, q1, hev_thresh, &not_hev); in DoFilter4_SSE2()
428 int hev_thresh) { in DoFilter6_SSE2()
434 GetNotHEV_SSE2(p1, p0, q0, q1, hev_thresh, &not_hev); in DoFilter6_SSE2()
690 int thresh, int ithresh, int hev_thresh) { in VFilter16_SSE2()
704 DoFilter6_SSE2(&p2, &p1, &p0, &q0, &q1, &q2, &mask, hev_thresh); in VFilter16_SSE2()
716 int thresh, int ithresh, int hev_thresh) { in HFilter16_SSE2()
728 DoFilter6_SSE2(&p2, &p1, &p0, &q0, &q1, &q2, &mask, hev_thresh); in HFilter16_SSE2()
273 GetNotHEV_SSE2(const __m128i* const p1, const __m128i* const p0, const __m128i* const q0, const __m128i* const q1, int hev_thresh, __m128i* const not_hev) GetNotHEV_SSE2() argument
378 DoFilter4_SSE2(__m128i* const p1, __m128i* const p0, __m128i* const q0, __m128i* const q1, const __m128i* const mask, int hev_thresh) DoFilter4_SSE2() argument
424 DoFilter6_SSE2(__m128i* const p2, __m128i* const p1, __m128i* const p0, __m128i* const q0, __m128i* const q1, __m128i* const q2, const __m128i* const mask, int hev_thresh) DoFilter6_SSE2() argument
689 VFilter16_SSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16_SSE2() argument
715 HFilter16_SSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16_SSE2() argument
735 VFilter16i_SSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16i_SSE2() argument
768 HFilter16i_SSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16i_SSE2() argument
797 VFilter8_SSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8_SSE2() argument
822 HFilter8_SSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8_SSE2() argument
842 VFilter8i_SSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8i_SSE2() argument
868 HFilter8i_SSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8i_SSE2() argument
[all...]
H A Ddec_neon.c677 int hev_thresh) { in NeedsHev_NEON()
678 const uint8x16_t hev_thresh_v = vdupq_n_u8((uint8_t)hev_thresh); in NeedsHev_NEON()
838 int thresh, int ithresh, int hev_thresh) { in VFilter16_NEON()
844 const uint8x16_t hev_mask = NeedsHev_NEON(p1, p0, q0, q1, hev_thresh); in VFilter16_NEON()
855 int thresh, int ithresh, int hev_thresh) { in HFilter16_NEON()
861 const uint8x16_t hev_mask = NeedsHev_NEON(p1, p0, q0, q1, hev_thresh); in HFilter16_NEON()
873 int thresh, int ithresh, int hev_thresh) { in VFilter16i_NEON()
884 const uint8x16_t hev_mask = NeedsHev_NEON(p1, p0, q0, q1, hev_thresh); in VFilter16i_NEON()
897 int thresh, int ithresh, int hev_thresh) { in HFilter16i_NEON()
908 const uint8x16_t hev_mask = NeedsHev_NEON(p1, p0, q0, q1, hev_thresh); in HFilter16i_NEON()
675 NeedsHev_NEON(const uint8x16_t p1, const uint8x16_t p0, const uint8x16_t q0, const uint8x16_t q1, int hev_thresh) NeedsHev_NEON() argument
837 VFilter16_NEON(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16_NEON() argument
854 HFilter16_NEON(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16_NEON() argument
872 VFilter16i_NEON(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16i_NEON() argument
896 HFilter16i_NEON(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16i_NEON() argument
919 VFilter8_NEON(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8_NEON() argument
935 VFilter8i_NEON(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8i_NEON() argument
952 HFilter8_NEON(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8_NEON() argument
967 HFilter8i_NEON(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8i_NEON() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dvp8dsp.h49 int flim_E, int flim_I, int hev_thresh);
51 int flim_E, int flim_I, int hev_thresh);
53 int flim_E, int flim_I, int hev_thresh);
55 int flim_E, int flim_I, int hev_thresh);
59 int flim_E, int flim_I, int hev_thresh);
61 int flim_E, int flim_I, int hev_thresh);
64 int flim_E, int flim_I, int hev_thresh);
67 int flim_E, int flim_I, int hev_thresh);
H A Dvp8dsp.c378 int hev_thresh) \
384 if (hev(dst + i * stridea, strideb, hev_thresh)) \
396 int hev_thresh) \
402 int hv = hev(dst + i * stridea, strideb, hev_thresh); \
415 int fI, int hev_thresh) \
417 vpn ## _ ## dir ## _loop_filter8_c(dstU, stride, fE, fI, hev_thresh); \
418 vpn ## _ ## dir ## _loop_filter8_c(dstV, stride, fE, fI, hev_thresh); \
425 int hev_thresh) \
428 hev_thresh); \
430 hev_thresh); \
[all...]
H A Dvp8.c2164 int mbedge_lim, bedge_lim_y, bedge_lim_uv, hev_thresh; in filter_mb() local
2194 hev_thresh = hev_thresh_lut[s->keyframe][filter_level]; in filter_mb()
2198 mbedge_lim, inner_limit, hev_thresh); in filter_mb()
2200 mbedge_lim, inner_limit, hev_thresh); in filter_mb()
2207 hev_thresh); \ in filter_mb()
2210 hev_thresh); \ in filter_mb()
2213 hev_thresh); \ in filter_mb()
2216 inner_limit, hev_thresh); \ in filter_mb()
2223 mbedge_lim, inner_limit, hev_thresh); in filter_mb()
2225 mbedge_lim, inner_limit, hev_thresh); in filter_mb()
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Dvp8dsp.c337 int hev_thresh, uint8_t *buf, in randomize_loopfilter_buffers()
353 setdx2(idx, 1, q1, q0, hev_thresh + 1, flim_I - hev_thresh - 1); in randomize_loopfilter_buffers()
355 setdx(idx, 1, q1 = q0, hev_thresh); in randomize_loopfilter_buffers()
360 setdx2(idx, -2, p1, p0, hev_thresh + 1, flim_I - hev_thresh - 1); in randomize_loopfilter_buffers()
362 setdx(idx, -2, p1 = p0, hev_thresh); in randomize_loopfilter_buffers()
378 randomize_loopfilter_buffers(lineoff, str, dir, flim_E, flim_I, hev_thresh, buf, force_hev)
386 int flim_E = 20, flim_I = 10, hev_thresh = 7; in check_loopfilter_16y() local
410 call_ref(buf0, 16, flim_E, flim_I, hev_thresh); in check_loopfilter_16y()
335 randomize_loopfilter_buffers(int lineoff, int str, int dir, int flim_E, int flim_I, int hev_thresh, uint8_t *buf, int force_hev) randomize_loopfilter_buffers() argument
432 int flim_E = 20, flim_I = 10, hev_thresh = 7; check_loopfilter_8uv() local
483 int flim_E = 20, flim_I = 30, hev_thresh = 0; check_loopfilter_simple() local
[all...]
/third_party/ffmpeg/libavcodec/mips/
H A Dvp8dsp_mips.h152 int flim_e, int flim_i, int hev_thresh);
155 int flim_e, int flim_i, int hev_thresh);
157 int flim_e, int flim_i, int hev_thresh);
159 int flim_e, int flim_i, int hev_thresh);
162 int flim_e, int flim_i, int hev_thresh);
165 int flim_e, int flim_i, int hev_thresh);
268 int flim_I, int hev_thresh);
270 int flim_I, int hev_thresh);
272 int flim_E, int flim_I, int hev_thresh);
274 int flim_E, int flim_I, int hev_thresh);
[all...]
H A Dvp8dsp_mmi.c787 ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) in vp8_v_loop_filter8_mmi()
839 : [e]"r"((mips_reg)flim_E), [thresh]"r"((mips_reg)hev_thresh), in vp8_v_loop_filter8_mmi()
846 ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) in vp8_v_loop_filter8_inner_mmi()
852 int hv = hev(dst + i * 1, stride, hev_thresh); in vp8_v_loop_filter8_inner_mmi()
861 ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) in vp8_h_loop_filter8_mmi()
925 : [e]"r"((mips_reg)flim_E), [thresh]"r"((mips_reg)hev_thresh), in vp8_h_loop_filter8_mmi()
932 ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) in vp8_h_loop_filter8_inner_mmi()
938 int hv = hev(dst + i * stride, 1, hev_thresh); in vp8_h_loop_filter8_inner_mmi()
1351 int flim_I, int hev_thresh) in ff_vp8_v_loop_filter16_mmi()
1353 vp8_v_loop_filter8_mmi(dst, stride, flim_E, flim_I, hev_thresh); in ff_vp8_v_loop_filter16_mmi()
786 vp8_v_loop_filter8_mmi(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) vp8_v_loop_filter8_mmi() argument
845 vp8_v_loop_filter8_inner_mmi(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) vp8_v_loop_filter8_inner_mmi() argument
860 vp8_h_loop_filter8_mmi(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) vp8_h_loop_filter8_mmi() argument
931 vp8_h_loop_filter8_inner_mmi(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) vp8_h_loop_filter8_inner_mmi() argument
1350 ff_vp8_v_loop_filter16_mmi(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) ff_vp8_v_loop_filter16_mmi() argument
1357 ff_vp8_h_loop_filter16_mmi(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) ff_vp8_h_loop_filter16_mmi() argument
1365 ff_vp8_v_loop_filter8uv_mmi(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) ff_vp8_v_loop_filter8uv_mmi() argument
1372 ff_vp8_h_loop_filter8uv_mmi(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) ff_vp8_h_loop_filter8uv_mmi() argument
1380 ff_vp8_v_loop_filter16_inner_mmi(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) ff_vp8_v_loop_filter16_inner_mmi() argument
1395 ff_vp8_h_loop_filter16_inner_mmi(uint8_t *dst, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) ff_vp8_h_loop_filter16_inner_mmi() argument
1410 ff_vp8_v_loop_filter8uv_inner_mmi(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) ff_vp8_v_loop_filter8uv_inner_mmi() argument
1417 ff_vp8_h_loop_filter8uv_inner_mmi(uint8_t *dstU, uint8_t *dstV, ptrdiff_t stride, int flim_E, int flim_I, int hev_thresh) ff_vp8_h_loop_filter8uv_inner_mmi() argument
[all...]
/third_party/ffmpeg/libavcodec/loongarch/
H A Dvp8dsp_loongarch.h80 int flim_e, int flim_i, int hev_thresh);
82 int flim_e, int flim_i, int hev_thresh);
85 int flim_e, int flim_i, int hev_thresh);
88 int flim_e, int flim_i, int hev_thresh);
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dfilter_enc.c101 const int hev_thresh = (level >= 40) ? 2 : (level >= 15) ? 1 : 0; in DoFilter() local
102 VP8HFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
103 VP8HFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
104 VP8VFilter16i(y_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
105 VP8VFilter8i(u_dst, v_dst, BPS, limit, ilevel, hev_thresh); in DoFilter()
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dframe_dec.c232 const int hev_thresh = f_info->hev_thresh_; in DoFilter() local
234 VP8HFilter16(y_dst, y_bps, limit + 4, ilevel, hev_thresh); in DoFilter()
235 VP8HFilter8(u_dst, v_dst, uv_bps, limit + 4, ilevel, hev_thresh); in DoFilter()
238 VP8HFilter16i(y_dst, y_bps, limit, ilevel, hev_thresh); in DoFilter()
239 VP8HFilter8i(u_dst, v_dst, uv_bps, limit, ilevel, hev_thresh); in DoFilter()
242 VP8VFilter16(y_dst, y_bps, limit + 4, ilevel, hev_thresh); in DoFilter()
243 VP8VFilter8(u_dst, v_dst, uv_bps, limit + 4, ilevel, hev_thresh); in DoFilter()
246 VP8VFilter16i(y_dst, y_bps, limit, ilevel, hev_thresh); in DoFilter()
247 VP8VFilter8i(u_dst, v_dst, uv_bps, limit, ilevel, hev_thresh); in DoFilter()
/third_party/ffmpeg/libavcodec/arm/
H A Dvp8dsp.h33 int hev_thresh)
40 int hev_thresh)
H A Dvp8dsp_neon.S271 @ hev_thresh -> r12
305 vdup.8 q15, r12 @ hev_thresh
307 vcgt.u8 q12, q12, q15 @ abs(P1-P0) > hev_thresh
309 vcgt.u8 q14, q13, q15 @ abs(Q1-Q0) > hev_thresh
453 ldr r12, [sp, #64] @ hev_thresh
522 ldr r12, [sp, #68] @ hev_thresh
559 ldr r12, [sp, #64] @ hev_thresh
649 ldr r12, [sp, #68] @ hev_thresh
/third_party/ffmpeg/libavcodec/aarch64/
H A Dvp8dsp.h28 int hev_thresh)
35 int hev_thresh)
H A Dvp8dsp_neon.S284 // hev_thresh -> x5
286 .macro vp8_loop_filter, inner=0, simple=0, hev_thresh
318 dup v23.16b, \hev_thresh // hev_thresh
320 cmhi v20.16b, v20.16b, v23.16b // abs(P1-P0) > hev_thresh
322 cmhi v22.16b, v21.16b, v23.16b // abs(Q1-Q0) > hev_thresh
479 vp8_loop_filter inner=\inner, simple=\simple, hev_thresh=w4
530 vp8_loop_filter inner=\inner, hev_thresh=w5
589 vp8_loop_filter inner=\inner, simple=\simple, hev_thresh=w4
649 vp8_loop_filter inner=\inner, hev_thresh
[all...]
/third_party/ffmpeg/libavcodec/x86/
H A Dvp8dsp_loopfilter.asm341 SPLATB_REG m2, hevthrq, m7 ; hev_thresh
364 SPLATB_REG m_hevthr, hevthrq, m7 ; hev_thresh
715 SPLATB_REG m2, hevthrq, m7 ; hev_thresh
750 SPLATB_REG m_hevthr, hevthrq, m7 ; hev_thresh

Completed in 28 milliseconds