/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | dec_mips32.c | 69 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { in hev() argument 71 return (abs_mips32(p1 - p0) > thresh) || (abs_mips32(q1 - q0) > thresh); in hev() 94 int thresh, int ithresh, int hev_thresh) { in FilterLoop26() argument 95 const int thresh2 = 2 * thresh + 1; in FilterLoop26() 110 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 111 const int thresh2 = 2 * thresh + 1; in FilterLoop24() 126 int thresh, int ithresh, int hev_thresh) { in VFilter16() argument 127 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16() 131 int thresh, int ithresh, int hev_thresh) { in HFilter16() argument 132 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16() [all …]
|
D | dec_mips_dsp_r2.c | 162 int thresh, int ithresh, int hev_thresh) { in FilterLoop26() argument 163 const int thresh2 = 2 * thresh + 1; in FilterLoop26() 300 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 305 const int thresh2 = 2 * thresh + 1; in FilterLoop24() 429 int thresh, int ithresh, int hev_thresh) { in VFilter16() argument 430 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16() 434 int thresh, int ithresh, int hev_thresh) { in HFilter16() argument 435 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16() 440 int thresh, int ithresh, int hev_thresh) { in VFilter8() argument 441 FilterLoop26(u, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8() [all …]
|
D | dec.c | 523 static WEBP_INLINE int Hev(const uint8_t* p, int step, int thresh) { in Hev() argument 525 return (VP8kabs0[p1 - p0] > thresh) || (VP8kabs0[q1 - q0] > thresh); in Hev() 553 static void SimpleVFilter16_C(uint8_t* p, int stride, int thresh) { in SimpleVFilter16_C() argument 555 const int thresh2 = 2 * thresh + 1; in SimpleVFilter16_C() 563 static void SimpleHFilter16_C(uint8_t* p, int stride, int thresh) { in SimpleHFilter16_C() argument 565 const int thresh2 = 2 * thresh + 1; in SimpleHFilter16_C() 573 static void SimpleVFilter16i_C(uint8_t* p, int stride, int thresh) { in SimpleVFilter16i_C() argument 577 SimpleVFilter16_C(p, stride, thresh); in SimpleVFilter16i_C() 581 static void SimpleHFilter16i_C(uint8_t* p, int stride, int thresh) { in SimpleHFilter16i_C() argument 585 SimpleHFilter16_C(p, stride, thresh); in SimpleHFilter16i_C() [all …]
|
D | quant.h | 31 int thresh) { in IsFlat() argument 48 return thresh >= (int32_t)vget_lane_u32(horizontal_add_uint32x4(sum), 0); in IsFlat() 56 int thresh) { in IsFlat() argument 62 if (score > thresh) return 0; in IsFlat()
|
D | dec_sse2.c | 340 int thresh, __m128i* const mask) { in NeedsFilter_SSE2() argument 341 const __m128i m_thresh = _mm_set1_epi8((char)thresh); in NeedsFilter_SSE2() 361 int thresh) { in DoFilter2_SSE2() argument 368 NeedsFilter_SSE2(p1, p0, q0, q1, thresh, &mask); in DoFilter2_SSE2() 593 static void SimpleVFilter16_SSE2(uint8_t* p, int stride, int thresh) { in SimpleVFilter16_SSE2() argument 600 DoFilter2_SSE2(&p1, &p0, &q0, &q1, thresh); in SimpleVFilter16_SSE2() 607 static void SimpleHFilter16_SSE2(uint8_t* p, int stride, int thresh) { in SimpleHFilter16_SSE2() argument 613 DoFilter2_SSE2(&p1, &p0, &q0, &q1, thresh); in SimpleHFilter16_SSE2() 617 static void SimpleVFilter16i_SSE2(uint8_t* p, int stride, int thresh) { in SimpleVFilter16i_SSE2() argument 621 SimpleVFilter16_SSE2(p, stride, thresh); in SimpleVFilter16i_SSE2() [all …]
|
D | dec_neon.c | 429 int thresh) { in NeedsFilter_NEON() argument 430 const uint8x16_t thresh_v = vdupq_n_u8((uint8_t)thresh); in NeedsFilter_NEON() 513 static void SimpleVFilter16_NEON(uint8_t* p, int stride, int thresh) { in SimpleVFilter16_NEON() argument 517 const uint8x16_t mask = NeedsFilter_NEON(p1, p0, q0, q1, thresh); in SimpleVFilter16_NEON() 523 static void SimpleHFilter16_NEON(uint8_t* p, int stride, int thresh) { in SimpleHFilter16_NEON() argument 527 const uint8x16_t mask = NeedsFilter_NEON(p1, p0, q0, q1, thresh); in SimpleHFilter16_NEON() 567 #define NEEDS_FILTER(p1, p0, q0, q1, thresh, mask) \ argument 573 "vdup.8 q14, " #thresh " \n" \ 595 #define DO_FILTER2(p1, p0, q0, q1, thresh) \ argument 596 NEEDS_FILTER(p1, p0, q0, q1, thresh, q9) /* filter mask in q9 */ \ [all …]
|
D | dec_msa.c | 345 const v16u8 thresh = (v16u8)__msa_fill_b(thresh_in); in VFilter16() local 350 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, in VFilter16() 369 const v16u8 thresh = (v16u8)__msa_fill_b(thresh_in); in HFilter16() local 377 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, in HFilter16() 421 int b_limit, int limit, int thresh) { in VFilterHorEdge16i() argument 424 const v16u8 thresh0 = (v16u8)__msa_fill_b(thresh); in VFilterHorEdge16i() 436 int b_limit, int limit, int thresh) { in VFilter16i() argument 437 VFilterHorEdge16i(src_y + 4 * stride, stride, b_limit, limit, thresh); in VFilter16i() 438 VFilterHorEdge16i(src_y + 8 * stride, stride, b_limit, limit, thresh); in VFilter16i() 439 VFilterHorEdge16i(src_y + 12 * stride, stride, b_limit, limit, thresh); in VFilter16i() [all …]
|
D | dsp.h | 435 typedef void (*VP8SimpleFilterFunc)(uint8_t* p, int stride, int thresh); 443 int thresh, int ithresh, int hev_t); 445 int thresh, int ithresh, int hev_t);
|
/third_party/ffmpeg/libavfilter/x86/ |
D | vf_gradfun_init.c | 29 const uint16_t *dc, int thresh, 32 const uint16_t *dc, int thresh, 45 int width, int thresh, in gradfun_filter_line_mmxext() argument 52 width - x, thresh, dithers); in gradfun_filter_line_mmxext() 57 thresh, dithers); in gradfun_filter_line_mmxext() 61 int width, int thresh, in gradfun_filter_line_ssse3() argument 69 width - x, thresh, dithers); in gradfun_filter_line_ssse3() 74 thresh, dithers); in gradfun_filter_line_ssse3()
|
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/ |
D | bit_slicer.c | 102 points->thresh = tr; \ 187 points->thresh = tr << 8; \ 223 thresh0 = bs->thresh; \ 232 tr = bs->thresh >> thresh_frac; \ 236 bs->thresh += (int)(raw0 - tr) * (int) ABS ((int) raw1); \ 245 bs->thresh = thresh0; \ 307 thresh0 = bs->thresh; in low_pass_bit_slicer_Y8() 323 tr = bs->thresh >> bs->thresh_frac; in low_pass_bit_slicer_Y8() 328 bs->thresh += (int) (raw0 - tr) in low_pass_bit_slicer_Y8() 344 points->thresh = tr << (8 - LP_AVG); in low_pass_bit_slicer_Y8() [all …]
|
D | decoder.c | 107 unsigned int cl = 0, thresh0 = d->thresh, tr; 125 tr = d->thresh >> THRESH_FRAC; 126 d->thresh += ((raw0 - tr) * (int) ABS (raw1 - raw0)) >> 130 tr = d->thresh >> THRESH_FRAC; 131 d->thresh += ((int) raw[0] - tr) * (int) ABS (raw[bpp] - raw[0]); 235 d->thresh = thresh0; 445 slicer->thresh = 105 << (THRESH_FRAC + gsh);
|
D | bit_slicer.h | 96 unsigned int thresh; member 160 unsigned int thresh; member
|
D | decoder.h | 249 int thresh;
|
/third_party/ffmpeg/libavfilter/ |
D | vf_gradfun.c | 58 …e_c(uint8_t *dst, const uint8_t *src, const uint16_t *dc, int width, int thresh, const uint16_t *d… in ff_gradfun_filter_line_c() argument 64 int m = abs(delta) * thresh >> 16; in ff_gradfun_filter_line_c() 90 int thresh = ctx->thresh; in filter() local 115 …ter_line(dst + y * dst_linesize, src + y * src_linesize, dc - r / 2, width, thresh, dither[y & 7]); in filter() 117 …ctx->filter_line(dst + y * dst_linesize, src + y * src_linesize, dc - r / 2, width, thresh, dither… in filter() 119 …ctx->filter_line(dst + y * dst_linesize, src + y * src_linesize, dc - r / 2, width, thresh, dither… in filter() 129 s->thresh = (1 << 15) / s->strength; in init()
|
D | vf_kerndeint.c | 41 int thresh, map, order, sharp, twoway; member 52 { "thresh", "set the threshold", OFFSET(thresh), AV_OPT_TYPE_INT, {.i64=10}, 0, 255, FLAGS }, 138 const int thresh = kerndeint->thresh; in filter_frame() local 203 if (thresh == 0 || n == 0 || in filter_frame() 204 (abs((int)prvp[x] - (int)srcp[x]) > thresh) || in filter_frame() 205 (abs((int)prvpp[x] - (int)srcpp[x]) > thresh) || in filter_frame() 206 (abs((int)prvpn[x] - (int)srcpn[x]) > thresh)) { in filter_frame()
|
D | gradfun.h | 31 int thresh; ///< threshold for gradient algorithm member 38 …e) (uint8_t *dst, const uint8_t *src, const uint16_t *dc, int width, int thresh, const uint16_t *d… 44 …e_c(uint8_t *dst, const uint8_t *src, const uint16_t *dc, int width, int thresh, const uint16_t *d…
|
D | vf_colorconstancy.c | 443 const uint8_t thresh = 255; in filter_slice_grey_edge() local 462 * (img_data[INDX2D(r, c, in_linesize)] < thresh) ); in filter_slice_grey_edge() 469 * (img_data[INDX2D(r, c, in_linesize)] < thresh) ); in filter_slice_grey_edge()
|
/third_party/ffmpeg/libavcodec/mips/ |
D | vp8_lpf_msa.c | 302 v16u8 mask, hev, flat, thresh, limit, b_limit; in ff_vp8_v_loop_filter16_msa() local 306 thresh = (v16u8) __msa_fill_b(thresh_in); in ff_vp8_v_loop_filter16_msa() 310 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, in ff_vp8_v_loop_filter16_msa() 327 v16u8 mask, hev, flat, thresh, limit, b_limit; in ff_vp8_v_loop_filter8uv_msa() local 333 thresh = (v16u8) __msa_fill_b(thresh_in); in ff_vp8_v_loop_filter8uv_msa() 343 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, in ff_vp8_v_loop_filter8uv_msa() 379 v16u8 mask, hev, flat, thresh, limit, b_limit; in ff_vp8_h_loop_filter16_msa() local 386 thresh = (v16u8) __msa_fill_b(thresh_in); in ff_vp8_h_loop_filter16_msa() 396 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, in ff_vp8_h_loop_filter16_msa() 444 v16u8 mask, hev, flat, thresh, limit, b_limit; in ff_vp8_h_loop_filter8uv_msa() local [all …]
|
D | vp9_lpf_msa.c | 202 v16u8 mask, hev, flat, thresh, b_limit, limit; in ff_loop_filter_v_4_8_msa() local 208 thresh = (v16u8) __msa_fill_b(thresh_ptr); in ff_loop_filter_v_4_8_msa() 212 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, in ff_loop_filter_v_4_8_msa() 261 v16u8 mask, hev, flat, thresh, b_limit, limit; in ff_loop_filter_v_8_8_msa() local 272 thresh = (v16u8) __msa_fill_b(thresh_ptr); in ff_loop_filter_v_8_8_msa() 276 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, in ff_loop_filter_v_8_8_msa() 336 v16u8 flat, mask, hev, tmp, thresh, b_limit, limit; in ff_loop_filter_v_88_16_msa() local 348 thresh = (v16u8) __msa_fill_b(thresh_ptr); in ff_loop_filter_v_88_16_msa() 350 thresh = (v16u8) __msa_ilvr_d((v2i64) tmp, (v2i64) thresh); in ff_loop_filter_v_88_16_msa() 361 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, in ff_loop_filter_v_88_16_msa() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | aacenc_utils.h | 104 static inline float find_form_factor(int group_len, int swb_size, float thresh, in find_form_factor() argument 108 const float ethresh = thresh; in find_form_factor() 132 if (e2 > thresh) { in find_form_factor()
|
D | j2kenc.c | 1182 static void makelayer(Jpeg2000EncoderContext *s, int layno, double thresh, Jpeg2000Tile* tile, int … in makelayer() argument 1209 if (thresh < 0) { in makelayer() 1232 if (thresh - (dd / dr) < DBL_EPSILON) in makelayer() 1271 double thresh; in makelayers() local 1330 thresh = (lo + hi) / 2; in makelayers() 1331 makelayer(s, layno, thresh, tile, 0); in makelayers() 1335 lo = thresh; in makelayers() 1339 hi = thresh; in makelayers() 1340 stable_thresh = thresh; in makelayers() 1345 good_thresh = stable_thresh == 0.0 ? thresh : stable_thresh; in makelayers()
|
D | opus_celt.c | 277 float thresh, sqrt_1; in process_anticollapse() local 282 thresh = exp2f(-1.0 - 0.125f * depth); in process_anticollapse() 303 r = FFMIN(thresh, r) * sqrt_1; in process_anticollapse()
|
/third_party/mesa3d/include/drm-uapi/ |
D | tegra_drm.h | 150 __u32 thresh; member 405 __u32 thresh; member
|
/third_party/libdrm/include/drm/ |
D | tegra_drm.h | 133 __u32 thresh; member 388 __u32 thresh; member
|
/third_party/benchmark/src/ |
D | string_util.cc | 33 void ToExponentAndMantissa(double val, double thresh, int precision, in ToExponentAndMantissa() argument 46 std::max(thresh, 1.0 / std::pow(10.0, precision)); in ToExponentAndMantissa()
|