/external/tensorflow/tensorflow/core/kernels/ |
D | compare_and_bitpack_op_gpu.cu.cc | 44 const T thresh = ldg(threshold); in CompareAndBitpackKernel() local 48 ((((ldg(block) > thresh) << 7)) | (((ldg(block + 1) > thresh) << 6)) | in CompareAndBitpackKernel() 49 (((ldg(block + 2) > thresh) << 5)) | in CompareAndBitpackKernel() 50 (((ldg(block + 3) > thresh) << 4)) | in CompareAndBitpackKernel() 51 (((ldg(block + 4) > thresh) << 3)) | in CompareAndBitpackKernel() 52 (((ldg(block + 5) > thresh) << 2)) | in CompareAndBitpackKernel() 53 (((ldg(block + 6) > thresh) << 1)) | (((ldg(block + 7) > thresh)))); in CompareAndBitpackKernel() 84 const float thresh = ldg(threshold); in CompareAndBitpackKernel() local 89 output[i] = ((((block0.x > thresh) << 7)) | (((block0.y > thresh) << 6)) | in CompareAndBitpackKernel() 90 (((block0.z > thresh) << 5)) | (((block0.w > thresh) << 4)) | in CompareAndBitpackKernel() [all …]
|
D | compare_and_bitpack_op.cc | 91 const T& thresh, int64 start, in Compute() 96 *out = ((((block[0] > thresh) << 7)) | (((block[1] > thresh) << 6)) | in Compute() 97 (((block[2] > thresh) << 5)) | (((block[3] > thresh) << 4)) | in Compute() 98 (((block[4] > thresh) << 3)) | (((block[5] > thresh) << 2)) | in Compute() 99 (((block[6] > thresh) << 1)) | (((block[7] > thresh)))); in Compute() 147 const T thresh = threshold(); in operator ()() local 148 auto shard = [&, thresh](int64 start, int64 limit) { in operator ()() 149 ComputeShard<T>::Compute(input, output, thresh, start, limit); in operator ()()
|
/external/webp/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 | 29 int thresh) { in IsFlat() argument 46 return thresh >= (int32_t)vget_lane_u32(horizontal_add_uint32x4(sum), 0); in IsFlat() 54 int thresh) { in IsFlat() argument 60 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(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 …]
|
/external/libxcam/cl_kernel/ |
D | kernel_wavelet_haar.cl | 101 float thresh = 0.0f; 114 thresh = hardThresh * y_threshConst[layer - 1]; 118 thresh = hardThresh * uv_threshConst[layer - 1]; 123 line_hl = (line_hl < -thresh) ? line_hl + (thresh - thresh * softThresh) : line_hl; 124 line_hl = (line_hl > thresh) ? line_hl - (thresh - thresh * softThresh) : line_hl; 125 line_hl = (line_hl > -thresh && line_hl < thresh) ? line_hl * softThresh : line_hl; 127 line_lh = (line_lh < -thresh) ? line_lh + (thresh - thresh * softThresh) : line_lh; 128 line_lh = (line_lh > thresh) ? line_lh - (thresh - thresh * softThresh) : line_lh; 129 line_lh = (line_lh > -thresh && line_lh < thresh) ? line_lh * softThresh : line_lh; 131 line_hh = (line_hh < -thresh) ? line_hh + (thresh - thresh * softThresh) : line_hh; [all …]
|
/external/libvpx/libvpx/vpx_dsp/ |
D | loopfilter.c | 48 static INLINE int8_t flat_mask4(uint8_t thresh, uint8_t p3, uint8_t p2, in flat_mask4() argument 52 mask |= (abs(p1 - p0) > thresh) * -1; in flat_mask4() 53 mask |= (abs(q1 - q0) > thresh) * -1; in flat_mask4() 54 mask |= (abs(p2 - p0) > thresh) * -1; in flat_mask4() 55 mask |= (abs(q2 - q0) > thresh) * -1; in flat_mask4() 56 mask |= (abs(p3 - p0) > thresh) * -1; in flat_mask4() 57 mask |= (abs(q3 - q0) > thresh) * -1; in flat_mask4() 61 static INLINE int8_t flat_mask5(uint8_t thresh, uint8_t p4, uint8_t p3, in flat_mask5() argument 65 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3); in flat_mask5() 66 mask |= (abs(p4 - p0) > thresh) * -1; in flat_mask5() [all …]
|
/external/libaom/libaom/aom_dsp/ |
D | loopfilter.c | 69 static INLINE int8_t flat_mask3_chroma(uint8_t thresh, uint8_t p2, uint8_t p1, in flat_mask3_chroma() argument 73 mask |= (abs(p1 - p0) > thresh) * -1; in flat_mask3_chroma() 74 mask |= (abs(q1 - q0) > thresh) * -1; in flat_mask3_chroma() 75 mask |= (abs(p2 - p0) > thresh) * -1; in flat_mask3_chroma() 76 mask |= (abs(q2 - q0) > thresh) * -1; in flat_mask3_chroma() 80 static INLINE int8_t flat_mask4(uint8_t thresh, uint8_t p3, uint8_t p2, in flat_mask4() argument 84 mask |= (abs(p1 - p0) > thresh) * -1; in flat_mask4() 85 mask |= (abs(q1 - q0) > thresh) * -1; in flat_mask4() 86 mask |= (abs(p2 - p0) > thresh) * -1; in flat_mask4() 87 mask |= (abs(q2 - q0) > thresh) * -1; in flat_mask4() [all …]
|
/external/libvpx/libvpx/vp8/common/mips/dspr2/ |
D | vp8_loopfilter_filters_dspr2.c | 34 uint32_t thresh, uint32_t *hev, uint32_t *mask) { in vp8_filter_mask_vec_mips() argument 95 [thresh] "r"(thresh)); in vp8_filter_mask_vec_mips() 304 unsigned int thresh, int count) { in vp8_loop_filter_horizontal_edge_mips() argument 352 thresh, &hev, &mask); in vp8_loop_filter_horizontal_edge_mips() 394 thresh, &hev, &mask); in vp8_loop_filter_horizontal_edge_mips() 436 thresh, &hev, &mask); in vp8_loop_filter_horizontal_edge_mips() 478 thresh, &hev, &mask); in vp8_loop_filter_horizontal_edge_mips() 497 unsigned int thresh, int count) { in vp8_loop_filter_uvhorizontal_edge_mips() argument 542 thresh, &hev, &mask); in vp8_loop_filter_uvhorizontal_edge_mips() 584 thresh, &hev, &mask); in vp8_loop_filter_uvhorizontal_edge_mips() [all …]
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | loopfilter_masks_dspr2.h | 31 uint32_t thresh, uint32_t *hev, in filter_hev_mask_dspr2() argument 93 [thresh] "r"(thresh)); in filter_hev_mask_dspr2() 129 uint32_t limit, uint32_t flimit, uint32_t thresh, uint32_t p1, uint32_t p0, in filter_hev_mask_flatmask4_dspr2() argument 233 [thresh] "r"(thresh), [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in filter_hev_mask_flatmask4_dspr2()
|
D | loopfilter_8_msa.c | 19 v16u8 mask, hev, flat, thresh, b_limit, limit; in vpx_lpf_horizontal_8_msa() local 29 thresh = (v16u8)__msa_fill_b(*thresh_ptr); in vpx_lpf_horizontal_8_msa() 33 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in vpx_lpf_horizontal_8_msa() 88 v16u8 flat, mask, hev, tmp, thresh, b_limit, limit; in vpx_lpf_horizontal_8_dual_msa() local 98 thresh = (v16u8)__msa_fill_b(*thresh0); in vpx_lpf_horizontal_8_dual_msa() 100 thresh = (v16u8)__msa_ilvr_d((v2i64)tmp, (v2i64)thresh); in vpx_lpf_horizontal_8_dual_msa() 111 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in vpx_lpf_horizontal_8_dual_msa() 159 v16u8 flat, mask, hev, thresh, b_limit, limit; in vpx_lpf_vertical_8_msa() local 171 thresh = (v16u8)__msa_fill_b(*thresh_ptr); in vpx_lpf_vertical_8_msa() 176 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in vpx_lpf_vertical_8_msa() [all …]
|
D | loopfilter_filters_dspr2.c | 24 const uint8_t *thresh) { in vpx_lpf_horizontal_4_dspr2() argument 35 uthresh = *thresh; in vpx_lpf_horizontal_4_dspr2() 109 const uint8_t *thresh) { in vpx_lpf_vertical_4_dspr2() argument 120 uthresh = *thresh; in vpx_lpf_vertical_4_dspr2() 322 const uint8_t *thresh) { in vpx_lpf_vertical_16_dual_dspr2() argument 323 vpx_lpf_vertical_16_dspr2(s, p, blimit, limit, thresh); in vpx_lpf_vertical_16_dual_dspr2() 324 vpx_lpf_vertical_16_dspr2(s + 8 * p, p, blimit, limit, thresh); in vpx_lpf_vertical_16_dual_dspr2()
|
/external/libaom/libaom/aom_dsp/mips/ |
D | loopfilter_masks_dspr2.h | 33 uint32_t thresh, uint32_t *hev, in filter_hev_mask_dspr2() argument 95 [thresh] "r"(thresh)); in filter_hev_mask_dspr2() 131 uint32_t limit, uint32_t flimit, uint32_t thresh, uint32_t p1, uint32_t p0, in filter_hev_mask_flatmask4_dspr2() argument 235 [thresh] "r"(thresh), [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in filter_hev_mask_flatmask4_dspr2()
|
D | loopfilter_8_msa.c | 19 v16u8 mask, hev, flat, thresh, b_limit, limit; in aom_lpf_horizontal_8_msa() local 29 thresh = (v16u8)__msa_fill_b(*thresh_ptr); in aom_lpf_horizontal_8_msa() 33 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in aom_lpf_horizontal_8_msa() 88 v16u8 flat, mask, hev, tmp, thresh, b_limit, limit; in aom_lpf_horizontal_8_dual_msa() local 98 thresh = (v16u8)__msa_fill_b(*thresh0); in aom_lpf_horizontal_8_dual_msa() 100 thresh = (v16u8)__msa_ilvr_d((v2i64)tmp, (v2i64)thresh); in aom_lpf_horizontal_8_dual_msa() 111 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in aom_lpf_horizontal_8_dual_msa() 159 v16u8 flat, mask, hev, thresh, b_limit, limit; in aom_lpf_vertical_8_msa() local 171 thresh = (v16u8)__msa_fill_b(*thresh_ptr); in aom_lpf_vertical_8_msa() 176 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, hev, in aom_lpf_vertical_8_msa() [all …]
|
D | loopfilter_filters_dspr2.c | 26 const uint8_t *thresh) { in aom_lpf_horizontal_4_dspr2() argument 37 uthresh = *thresh; in aom_lpf_horizontal_4_dspr2() 111 const uint8_t *thresh) { in aom_lpf_vertical_4_dspr2() argument 122 uthresh = *thresh; in aom_lpf_vertical_4_dspr2() 324 const uint8_t *thresh) { in aom_lpf_vertical_16_dual_dspr2() argument 325 aom_lpf_vertical_16_dspr2(s, p, blimit, limit, thresh); in aom_lpf_vertical_16_dual_dspr2() 326 aom_lpf_vertical_16_dspr2(s + 8 * p, p, blimit, limit, thresh); in aom_lpf_vertical_16_dual_dspr2()
|
/external/libvpx/libvpx/vp8/common/ |
D | loopfilter_filters.c | 38 static signed char vp8_hevmask(uc thresh, uc p1, uc p0, uc q0, uc q1) { in vp8_hevmask() argument 40 hev |= (abs(p1 - p0) > thresh) * -1; in vp8_hevmask() 41 hev |= (abs(q1 - q0) > thresh) * -1; in vp8_hevmask() 93 const unsigned char *thresh, in loop_filter_horizontal_edge_c() argument 106 hev = vp8_hevmask(thresh[0], s[-2 * p], s[-1 * p], s[0 * p], s[1 * p]); in loop_filter_horizontal_edge_c() 117 const unsigned char *thresh, in loop_filter_vertical_edge_c() argument 130 hev = vp8_hevmask(thresh[0], s[-2], s[-1], s[0], s[1]); in loop_filter_vertical_edge_c() 194 const unsigned char *thresh, in mbloop_filter_horizontal_edge_c() argument 207 hev = vp8_hevmask(thresh[0], s[-2 * p], s[-1 * p], s[0 * p], s[1 * p]); in mbloop_filter_horizontal_edge_c() 219 const unsigned char *thresh, in mbloop_filter_vertical_edge_c() argument [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SparseAdd.pbtxt | 40 name: "thresh" 54 corresponding value slot. To override this, callers can specify `thresh`, 55 indicating that if the sum has a magnitude strictly smaller than `thresh`, its 57 `thresh == 0` (default) means everything is kept and actual thresholding happens 60 In the following shapes, `nnz` is the count after taking `thresh` into account.
|
/external/libvpx/libvpx/vp8/common/mips/mmi/ |
D | loopfilter_filters_mmi.c | 33 const unsigned char *limit, const unsigned char *thresh, int count) { in vp8_loop_filter_horizontal_edge_mmi() argument 193 [thresh]"r"(thresh), in vp8_loop_filter_horizontal_edge_mmi() 208 const unsigned char *thresh, int count) { in vp8_loop_filter_vertical_edge_mmi() argument 455 [thresh]"r"(thresh), in vp8_loop_filter_vertical_edge_mmi() 486 const unsigned char *limit, const unsigned char *thresh, int count) { in vp8_mbloop_filter_horizontal_edge_mmi() argument 654 [thresh]"r"(thresh), in vp8_mbloop_filter_horizontal_edge_mmi() 679 const unsigned char *limit, const unsigned char *thresh, int count) { in vp8_mbloop_filter_vertical_edge_mmi() argument 953 [srct]"r"(srct), [thresh]"r"(thresh), in vp8_mbloop_filter_vertical_edge_mmi()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_noise_estimate.c | 38 ne->thresh = 90; in vp9_noise_estimate_init() 42 ne->thresh = 200; in vp9_noise_estimate_init() 44 ne->thresh = 140; in vp9_noise_estimate_init() 46 ne->thresh = 115; in vp9_noise_estimate_init() 95 if (ne->value > (ne->thresh << 1)) { in vp9_noise_estimate_extract_level() 98 if (ne->value > ne->thresh) in vp9_noise_estimate_extract_level() 100 else if (ne->value > ((9 * ne->thresh) >> 4)) in vp9_noise_estimate_extract_level()
|
/external/libaom/libaom/aom_dsp/arm/ |
D | loopfilter_neon.c | 152 const uint8_t limit, const uint8_t thresh) { in lpf_14_neon() argument 169 const uint8x8_t thresh_f4 = vdup_n_u8(thresh); in lpf_14_neon() 337 const uint8_t limit, const uint8_t thresh) { in lpf_8_neon() argument 350 const uint8x8_t thresh_f4 = vdup_n_u8(thresh); in lpf_8_neon() 452 const uint8_t thresh) { in lpf_6_neon() argument 465 const uint8x8_t thresh_f4 = vdup_n_u8(thresh); in lpf_6_neon() 557 const uint8_t limit, const uint8_t thresh) { in lpf_4_neon() argument 560 const uint8x8_t thresh_f4 = vdup_n_u8(thresh); in lpf_4_neon() 619 const uint8_t *limit, const uint8_t *thresh) { in aom_lpf_vertical_14_neon() argument 666 *thresh); in aom_lpf_vertical_14_neon() [all …]
|
/external/tcpdump/ |
D | print-dvmrp.c | 258 register u_char thresh; in print_neighbors() local 266 thresh = *bp++; in print_neighbors() 273 ipaddr_string(ndo, bp), metric, thresh)); in print_neighbors() 289 register u_char metric, thresh, flags; in print_neighbors2() local 301 thresh = *bp++; in print_neighbors2() 308 metric, thresh)); in print_neighbors2()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvhost/nvhost_syncpt_wait_check/ |
D | format | 12 field:u32 thresh; offset:20; size:4; signed:0; 15 …mt: "mem_id=%08x, offset=%05x, id=%d, thresh=%d, current=%d", REC->mem_id, REC->offset, REC->syncp…
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
D | loopfilter_8_neon.asm | 25 ; const uint8_t *thresh) 30 ; sp const uint8_t *thresh, 35 ldr r2, [sp, #12] ; load thresh 39 vld1.8 {d2[]}, [r2] ; duplicate *thresh 105 ; const uint8_t *thresh) 111 ; sp const uint8_t *thresh, 118 ldr r3, [sp, #12] ; load thresh 121 vld1.8 {d2[]}, [r3] ; duplicate *thresh 217 ; d2 thresh 267 ; only compare the largest value to thresh [all …]
|