/hardware/bsp/intel/peripheral/libupm/examples/python/ |
mic.py | 41 thresh = myMic.findThreshold(threshContext, 30, buffer, len) variable 43 if(thresh): 44 print "Threshold is ", thresh
|
mq2.py | 59 thresh = myMQ2.findThreshold(threshContext, 30, mybuffer, samplelen) 61 if(thresh): 62 print "Threshold is ", thresh
|
mq3.py | 59 thresh = myMQ3.findThreshold(threshContext, 30, mybuffer, samplelen) 61 if(thresh): 62 print "Threshold is ", thresh
|
mq5.py | 59 thresh = myMQ5.findThreshold(threshContext, 30, mybuffer, samplelen) 61 if(thresh): 62 print "Threshold is ", thresh
|
mq9.py | 59 thresh = myMQ9.findThreshold(threshContext, 30, mybuffer, samplelen) 61 if(thresh): 62 print "Threshold is ", thresh
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
mic.js | 49 var thresh = myMic.findThreshold(threshContext, 30, buffer, len); 51 if (thresh) 52 console.log("Threshold is " + thresh);
|
/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/webp/src/dsp/ |
dec_mips32.c | 69 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { 71 return (abs_mips32(p1 - p0) > thresh) || (abs_mips32(q1 - q0) > thresh); 94 int thresh, int ithresh, int hev_thresh) { 95 const int thresh2 = 2 * thresh + 1; 110 int thresh, int ithresh, int hev_thresh) { 111 const int thresh2 = 2 * thresh + 1; 126 int thresh, int ithresh, int hev_thresh) { 127 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); 131 int thresh, int ithresh, int hev_thresh) [all...] |
/external/opencv3/modules/imgproc/src/opencl/ |
threshold.cl | 56 T1 thresh, T1 max_val, T1 min_val) 75 dst[0] = sdata > (thresh) ? (T)(max_val) : (T)(0); 77 dst[0] = sdata > (thresh) ? (T)(0) : (T)(max_val); 79 dst[0] = clamp(sdata, (T)min_val, (T)(thresh)); 81 dst[0] = sdata > (thresh) ? sdata : (T)(0); 83 dst[0] = sdata > (thresh) ? (T)(0) : sdata;
|
/external/opencv3/modules/cudaarithm/src/cuda/ |
threshold.cu | 72 void thresholdImpl(const GpuMat& src, GpuMat& dst, double thresh, double maxVal, int type, Stream& stream) 74 const T thresh_ = static_cast<T>(thresh); 98 double cv::cuda::threshold(InputArray _src, OutputArray _dst, double thresh, double maxVal, int type, Stream& stream) 118 dst.ptr<Npp32f>(), static_cast<int>(dst.step), sz, static_cast<Npp32f>(thresh), NPP_CMP_GREATER) ); 125 typedef void (*func_t)(const GpuMat& src, GpuMat& dst, double thresh, double maxVal, int type, Stream& stream); 139 thresh = cvFloor(thresh); 143 funcs[depth](src, dst, thresh, maxVal, type, stream); 148 return thresh;
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
MQ2Sample.java | 54 int thresh = sensor.findThreshold(ctx, 30, buffer); local 56 if (thresh != 0) {
|
MQ5Sample.java | 53 int thresh = sensor.findThreshold(ctx, 30, buffer); local 55 if (thresh != 0) {
|
MicrophoneSample.java | 55 int thresh = sensor.findThreshold(ctx, 30, buffer); local 57 if (thresh != 0) {
|
/external/opencv3/3rdparty/libwebp/dsp/ |
dec_neon.c | 36 #define NEEDS_FILTER(p1, p0, q0, q1, thresh, mask) \ 42 "vdup.8 q14, " #thresh " \n" \ 43 "vcge.u8 " #mask ", q14, q15 \n" /* mask <= thresh */ 64 #define DO_FILTER2(p1, p0, q0, q1, thresh) \ 65 NEEDS_FILTER(p1, p0, q0, q1, thresh, q9) /* filter mask in q9 */ \ 97 static void SimpleVFilter16NEON(uint8_t* p, int stride, int thresh) { 106 DO_FILTER2(q1, q2, q3, q4, %[thresh]) 113 : [stride] "r"(stride), [thresh] "r"(thresh) 118 static void SimpleHFilter16NEON(uint8_t* p, int stride, int thresh) { [all...] |
/external/opencv3/modules/videostab/include/opencv2/videostab/ |
motion_core.hpp | 76 float thresh; //!< max error to classify as inlier member in struct:cv::videostab::RansacParams 80 RansacParams() : size(0), thresh(0), eps(0), prob(0) {} 83 @param thresh Maximum re-projection error value to classify as inlier. 87 RansacParams(int size, float thresh, float eps, float prob); 122 : size(_size), thresh(_thresh), eps(_eps), prob(_prob) {}
|
/external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/ |
findContours_demo.cpp | 18 int thresh = 100; variable 47 createTrackbar( " Canny thresh:", "Source", &thresh, max_thresh, thresh_callback ); 64 Canny( src_gray, canny_output, thresh, thresh*2, 3 );
|
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/ |
per_element_func.hpp | 82 threshBinary_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh, typename PtrTraits<SrcPtr>::value_type maxVal) 84 return makeExpr(transformPtr(src, thresh_binary_func(thresh, maxVal))); 89 threshBinaryInv_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh, typename PtrTraits<SrcPtr>::value_type maxVal) 91 return makeExpr(transformPtr(src, thresh_binary_inv_func(thresh, maxVal))); 96 threshTrunc_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh) 98 return makeExpr(transformPtr(src, thresh_trunc_func(thresh))); 103 threshToZero_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh) 105 return makeExpr(transformPtr(src, thresh_to_zero_func(thresh))); 110 threshToZeroInv_(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type thresh) 112 return makeExpr(transformPtr(src, thresh_to_zero_inv_func(thresh))); [all...] |
/external/opencv3/modules/imgproc/src/ |
thresh.cpp | 50 thresh_8u( const Mat& _src, Mat& _dst, uchar thresh, uchar maxval, int type ) 67 if (tegra::useTegra() && tegra::thresh_8u(_src, _dst, roi.width, roi.height, thresh, maxval, type)) 80 if (_src.data == _dst.data && ippiThreshold_GT_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh) >= 0) 86 if (ippiThreshold_GT_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh) >= 0) 95 if (_src.data == _dst.data && ippiThreshold_LTVal_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh+1, 0) >= 0) 101 if (ippiThreshold_LTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh+1, 0) >= 0) 110 if (_src.data == _dst.data && ippiThreshold_GTVal_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh, 0) >= 0) 116 if (ippiThreshold_GTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh, 0) >= 0) 131 for( i = 0; i <= thresh; i++ ) 137 for( i = 0; i <= thresh; i++ 924 Ipp8u thresh; local 1068 double thresh = left_bound; local 1132 double thresh; member in class:cv::ThresholdRunner [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/opencv3/modules/calib3d/src/ |
checkchessboard.cpp | 137 IplImage* thresh = cvCreateImage(cvGetSize(src), IPL_DEPTH_8U, 1); local 142 cvThreshold(white, thresh, thresh_level + black_white_gap, 255, CV_THRESH_BINARY); 145 cvShowImage("1", thresh); 151 cvFindContours(thresh, storage, &first, sizeof(CvContour), CV_RETR_CCOMP); 154 cvThreshold(black, thresh, thresh_level, 255, CV_THRESH_BINARY_INV); 157 cvShowImage("1", thresh); 161 cvFindContours(thresh, storage, &first, sizeof(CvContour), CV_RETR_CCOMP); 201 cvReleaseImage(&thresh);
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
mic.cxx | 65 int thresh = sensor->findThreshold (&ctx, 30, buffer, len); local 67 if (thresh) {
|
mq2.cxx | 65 int thresh = sensor->findThreshold (&ctx, 30, buffer, len); local 67 if (thresh) {
|
mq3.cxx | 65 int thresh = sensor->findThreshold (&ctx, 30, buffer, len); local 67 if (thresh) {
|
mq4.cxx | 67 int thresh = sensor->findThreshold (&ctx, 30, buffer, len); local 69 if (thresh) {
|