/hardware/invensense/60xx/libsensors_iio/software/core/mpl/ |
fast_no_motion.h | 34 void inv_set_fast_nomot_accel_threshold(long long thresh);
35 void inv_set_fast_nomot_compass_threshold(long long thresh);
36 void int_set_fast_nomot_gyro_threshold(long long thresh);
|
/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...] |
/external/webp/src/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...] |
/hardware/invensense/6515/libsensors_iio/software/core/mpl/ |
fast_no_motion.h | 34 void inv_set_fast_nomot_accel_threshold(long long thresh); 35 void inv_set_fast_nomot_compass_threshold(long long thresh); 36 void int_set_fast_nomot_gyro_threshold(long long thresh);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/ |
fast_no_motion.h | 34 void inv_set_fast_nomot_accel_threshold(long long thresh); 35 void inv_set_fast_nomot_compass_threshold(long long thresh); 36 void int_set_fast_nomot_gyro_threshold(long long thresh);
|
/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);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |
/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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |
/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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
grp_data.c | 110 Word32 thresh = sfbThreshold->sfbShort[wnd][sfb]; local 112 thresh = L_add(thresh, sfbThreshold->sfbShort[wnd+j][sfb]); 114 sfbThreshold->sfbLong[i] = thresh;
|
/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...] |
/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...] |
/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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |