HomeSort by relevance Sort by last modified time
    Searched refs:thresh (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/libwebp/dsp/
dec_mips32.c 66 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) {
68 return (abs_mips32(p1 - p0) > thresh) || (abs_mips32(q1 - q0) > thresh);
71 static WEBP_INLINE int needs_filter(const uint8_t* p, int step, int thresh) {
73 return ((2 * abs_mips32(p0 - q0) + (abs_mips32(p1 - q1) >> 1)) <= thresh);
91 int thresh, int ithresh, int hev_thresh) {
93 if (needs_filter2(p, hstride, thresh, ithresh)) {
106 int thresh, int ithresh, int hev_thresh) {
108 if (needs_filter2(p, hstride, thresh, ithresh)) {
121 int thresh, int ithresh, int hev_thresh)
    [all...]
dec.c 516 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) {
518 return (VP8kabs0[p1 - p0] > thresh) || (VP8kabs0[q1 - q0] > thresh);
540 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) {
542 const int thresh2 = 2 * thresh + 1;
550 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) {
552 const int thresh2 = 2 * thresh + 1;
560 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) {
564 SimpleVFilter16(p, stride, thresh);
568 static void SimpleHFilter16i(uint8_t* p, int stride, int thresh) {
    [all...]
dec_sse2.c 390 int thresh, __m128i* const mask) {
391 const __m128i m_thresh = _mm_set1_epi8(thresh);
411 int thresh) {
418 NeedsFilter(p1, p0, q0, q1, thresh, &mask);
655 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) {
662 DoFilter2(&p1, &p0, &q0, &q1, thresh);
669 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) {
675 DoFilter2(&p1, &p0, &q0, &q1, thresh);
679 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) {
683 SimpleVFilter16(p, stride, thresh);
    [all...]
dec_neon.c 442 int thresh) {
443 const uint8x16_t thresh_v = vdupq_n_u8((uint8_t)thresh);
512 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) {
516 const uint8x16_t mask = NeedsFilter(p1, p0, q0, q1, thresh);
522 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) {
526 const uint8x16_t mask = NeedsFilter(p1, p0, q0, q1, thresh);
545 #define NEEDS_FILTER(p1, p0, q0, q1, thresh, mask) \
551 "vdup.8 q14, " #thresh " \n" \
552 "vcge.u8 " #mask ", q14, q15 \n" /* mask <= thresh */
573 #define DO_FILTER2(p1, p0, q0, q1, thresh) \
    [all...]
  /external/opencv/cv/src/
cvthresh.cpp 46 CvSize roi, uchar thresh, uchar maxval, int type )
54 for( i = 0; i <= thresh; i++ )
60 for( i = 0; i <= thresh; i++ )
66 for( i = 0; i <= thresh; i++ )
69 tab[i] = thresh;
72 for( i = 0; i <= thresh; i++ )
78 for( i = 0; i <= thresh; i++ )
114 CvSize roi, float thresh, float maxval, int type )
122 v.f = thresh; iThresh = CV_TOGGLE_FLT(v.i);
159 if( temp > thresh )
    [all...]
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/arm/neon/
vp9_loopfilter_16_neon.c 50 const uint8_t *thresh) {
51 vp9_lpf_vertical_16_neon(s, p, blimit, limit, thresh);
52 vp9_lpf_vertical_16_neon(s + 8 * p, p, blimit, limit, thresh);
  /external/libvpx/libvpx/vp9/common/arm/neon/
vp9_loopfilter_16_neon.c 49 const uint8_t *thresh) {
50 vp9_lpf_vertical_16_neon(s, p, blimit, limit, thresh);
51 vp9_lpf_vertical_16_neon(s + 8 * p, p, blimit, limit, thresh);
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/mips/dspr2/
vp9_loopfilter_masks_dspr2.h 32 uint32_t thresh, uint32_t *hev,
55 * hev |= (abs(p1 - p0) > thresh)
60 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
66 * hev |= (abs(q1 - q0) > thresh)
71 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
95 [q2] "r" (q2), [q3] "r" (q3), [thresh] "r" (thresh)
134 uint32_t thresh,
165 * hev |= (abs(p1 - p0) > thresh)
166 * flat |= (abs(p1 - p0) > thresh)
    [all...]
vp9_loopfilter_filters_dspr2.c 27 const uint8_t *thresh,
39 uthresh = *thresh;
121 const uint8_t *thresh,
133 uthresh = *thresh;
358 const uint8_t *thresh) {
359 vp9_lpf_vertical_16_dspr2(s, p, blimit, limit, thresh);
360 vp9_lpf_vertical_16_dspr2(s + 8 * p, p, blimit, limit, thresh);
  /external/libvpx/libvpx/vp9/common/mips/dspr2/
vp9_loopfilter_masks_dspr2.h 32 uint32_t thresh, uint32_t *hev,
55 * hev |= (abs(p1 - p0) > thresh)
60 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
66 * hev |= (abs(q1 - q0) > thresh)
71 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
95 [q2] "r" (q2), [q3] "r" (q3), [thresh] "r" (thresh)
134 uint32_t thresh,
165 * hev |= (abs(p1 - p0) > thresh)
166 * flat |= (abs(p1 - p0) > thresh)
    [all...]
vp9_loopfilter_filters_dspr2.c 27 const uint8_t *thresh,
39 uthresh = *thresh;
121 const uint8_t *thresh,
133 uthresh = *thresh;
358 const uint8_t *thresh) {
359 vp9_lpf_vertical_16_dspr2(s, p, blimit, limit, thresh);
360 vp9_lpf_vertical_16_dspr2(s + 8 * p, p, blimit, limit, thresh);
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
vp9_loopfilter_filters.c 37 static INLINE int8_t flat_mask4(uint8_t thresh,
43 mask |= (abs(p1 - p0) > thresh) * -1;
44 mask |= (abs(q1 - q0) > thresh) * -1;
45 mask |= (abs(p2 - p0) > thresh) * -1;
46 mask |= (abs(q2 - q0) > thresh) * -1;
47 mask |= (abs(p3 - p0) > thresh) * -1;
48 mask |= (abs(q3 - q0) > thresh) * -1;
52 static INLINE int8_t flat_mask5(uint8_t thresh,
58 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3);
59 mask |= (abs(p4 - p0) > thresh) * -1
    [all...]
  /external/libvpx/libvpx/vp9/common/
vp9_loopfilter_filters.c 37 static INLINE int8_t flat_mask4(uint8_t thresh,
43 mask |= (abs(p1 - p0) > thresh) * -1;
44 mask |= (abs(q1 - q0) > thresh) * -1;
45 mask |= (abs(p2 - p0) > thresh) * -1;
46 mask |= (abs(q2 - q0) > thresh) * -1;
47 mask |= (abs(p3 - p0) > thresh) * -1;
48 mask |= (abs(q3 - q0) > thresh) * -1;
52 static INLINE int8_t flat_mask5(uint8_t thresh,
58 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3);
59 mask |= (abs(p4 - p0) > thresh) * -1
    [all...]
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
vp9_rd.h 150 static INLINE int rd_less_than_thresh(int64_t best_rd, int thresh,
152 return best_rd < ((int64_t)thresh * thresh_fact >> 5) || thresh == INT_MAX;
  /external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
loopfilter_filters.c 43 static signed char vp8_hevmask(uc thresh, uc p1, uc p0, uc q0, uc q1)
46 hev |= (abs(p1 - p0) > thresh) * -1;
47 hev |= (abs(q1 - q0) > thresh) * -1;
104 const unsigned char *thresh,
121 hev = vp8_hevmask(thresh[0], s[-2*p], s[-1*p], s[0*p], s[1*p]);
136 const unsigned char *thresh,
152 hev = vp8_hevmask(thresh[0], s[-2], s[-1], s[0], s[1]);
222 const unsigned char *thresh,
240 hev = vp8_hevmask(thresh[0], s[-2*p], s[-1*p], s[0*p], s[1*p]);
257 const unsigned char *thresh,
    [all...]
loopfilter.h 69 const unsigned char *thresh,
  /external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/mips/dspr2/
loopfilter_filters_dspr2.c 55 uint32_t thresh,
81 * hev |= (abs(p1 - p0) > thresh)
86 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
92 * hev |= (abs(q1 - q0) > thresh)
97 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
121 [q2] "r" (q2), [q3] "r" (q3), [thresh] "r" (thresh)
349 unsigned int thresh,
401 thresh, &hev, &mask);
446 thresh, &hev, &mask)
2492 unsigned char thresh, flimit, limit, flimit_temp; local
2528 unsigned char thresh, flimit, limit, flimit_temp; local
2560 unsigned char thresh, flimit, limit, flimit_temp; local
2594 unsigned char thresh, flimit, limit, flimit_temp; local
    [all...]
  /external/libvpx/libvpx/vp8/common/
loopfilter_filters.c 43 static signed char vp8_hevmask(uc thresh, uc p1, uc p0, uc q0, uc q1)
46 hev |= (abs(p1 - p0) > thresh) * -1;
47 hev |= (abs(q1 - q0) > thresh) * -1;
104 const unsigned char *thresh,
121 hev = vp8_hevmask(thresh[0], s[-2*p], s[-1*p], s[0*p], s[1*p]);
136 const unsigned char *thresh,
152 hev = vp8_hevmask(thresh[0], s[-2], s[-1], s[0], s[1]);
222 const unsigned char *thresh,
240 hev = vp8_hevmask(thresh[0], s[-2*p], s[-1*p], s[0*p], s[1*p]);
257 const unsigned char *thresh,
    [all...]
loopfilter.h 69 const unsigned char *thresh,
  /external/libvpx/libvpx/vp8/common/mips/dspr2/
loopfilter_filters_dspr2.c 55 uint32_t thresh,
81 * hev |= (abs(p1 - p0) > thresh)
86 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
92 * hev |= (abs(q1 - q0) > thresh)
97 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
121 [q2] "r" (q2), [q3] "r" (q3), [thresh] "r" (thresh)
349 unsigned int thresh,
401 thresh, &hev, &mask);
446 thresh, &hev, &mask)
2492 unsigned char thresh, flimit, limit, flimit_temp; local
2528 unsigned char thresh, flimit, limit, flimit_temp; local
2560 unsigned char thresh, flimit, limit, flimit_temp; local
2594 unsigned char thresh, flimit, limit, flimit_temp; local
    [all...]
  /bionic/libc/kernel/uapi/drm/
tegra_drm.h 49 __u32 thresh; member in struct:drm_tegra_syncpt_wait
110 __u32 thresh; member in struct:drm_tegra_waitchk
  /external/eigen/Eigen/src/SparseLU/
SparseLU_pivotL.h 40 * (1) Compute thresh = u * max_(i>=j) abs(A_ij);
41 * (2) IF user specifies pivot row k and abs(A_kj) >= thresh THEN
43 * ELSE IF abs(A_jj) >= thresh THEN
95 RealScalar thresh = diagpivotthresh * pivmax; local
105 if (rtemp != 0.0 && rtemp >= thresh) pivptr = diag;
  /external/kernel-headers/original/uapi/drm/
tegra_drm.h 48 __u32 thresh; member in struct:drm_tegra_syncpt_wait
106 __u32 thresh; member in struct:drm_tegra_waitchk
  /external/aac/libAACenc/src/
grp_data.cpp 181 FIXP_DBL thresh = sfbThreshold->Short[wnd][sfb]; local
184 thresh = nrgAddSaturate(thresh, sfbThreshold->Short[wnd+j][sfb]);
186 sfbThreshold->Long[i++] = thresh;
  /development/perftests/panorama/feature_stab/db_vlvm/
db_metrics.h 324 inline int db_RemoveOutliers_Homography(const double H[9], double *x_i,double *xp_i, double *wp,double *im, double *im_p, double *im_r, double *im_raw,double *im_raw_p,int point_count,double scale, double thresh=DB_OUTLIER_THRESHOLD)
338 t2=1.0/(thresh*thresh*thresh*thresh);

Completed in 1339 milliseconds

1 2 3 4 5