/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicHistogram.java | 89 ScriptIntrinsicHistogram hist = local 91 hist.setOutput(mAout); 92 hist.forEach(mAin, makeClipper(x1, y1, x2, y2)); 213 ScriptIntrinsicHistogram hist = local 215 hist.setOutput(mAout); 216 hist.setDotCoefficients(dotVals[0], dotVals[1], dotVals[2], dotVals[3]); 217 hist.forEach_Dot(mAin, makeClipper(x1, y1, x2, y2));
|
/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/ |
calcBackProject_Demo1.cpp | 60 MatND hist; local 66 calcHist( &hue, 1, 0, Mat(), hist, 1, &histSize, &ranges, true, false ); 67 normalize( hist, hist, 0, 255, NORM_MINMAX, -1, Mat() ); 71 calcBackProject( &hue, 1, 0, hist, backproj, &ranges, 1, true ); 82 { rectangle( histImg, Point( i*bin_w, h ), Point( (i+1)*bin_w, h - cvRound( hist.at<float>(i)*h/255.0 ) ), Scalar( 0, 0, 255 ), -1 ); }
|
calcBackProject_Demo2.cpp | 82 MatND hist; local 93 calcHist( &hsv, 1, channels, mask, hist, 2, histSize, ranges, true, false ); 95 normalize( hist, hist, 0, 255, NORM_MINMAX, -1, Mat() ); 99 calcBackProject( &hsv, 1, channels, hist, backproj, ranges, 1, true );
|
/external/webrtc/webrtc/modules/video_processing/include/ |
video_processing.h | 32 uint32_t hist[256]; // Frame histogram. member in struct:webrtc::VideoProcessing::FrameStats
|
/external/blktrace/btt/ |
unplug_hist.c | 30 int hist[NBKTS * sizeof(int)]; member in struct:hist_bkt 41 memset(hbp->hist, 0, NBKTS * sizeof(int)); 60 hbp->hist[idx]++; 78 fprintf(fp, "%d %d\n", i, hbp->hist[i]);
|
/external/opencv3/modules/cudaimgproc/test/ |
test_histogram.cpp | 73 cv::cuda::GpuMat hist; local 74 cv::cuda::histEven(loadMat(src), hist, hbins, (int) hranges[0], (int) hranges[1]); local 86 EXPECT_MAT_NEAR(hist_gold, hist, 0.0); 115 cv::cuda::GpuMat hist; local 116 cv::cuda::calcHist(loadMat(src), hist); local 130 EXPECT_MAT_NEAR(hist_gold, hist, 0.0);
|
/external/opencv3/samples/cpp/ |
demhist.cpp | 41 Mat dst, hist; local 45 calcHist(&dst, 1, 0, Mat(), hist, 1, &histSize, 0); 48 normalize(hist, hist, 0, histImage.rows, NORM_MINMAX, CV_32F); 55 Point((i+1)*binW, histImage.rows - cvRound(hist.at<float>(i))),
|
camshiftdemo.cpp | 102 Mat frame, hsv, hue, mask, hist, histimg = Mat::zeros(200, 320, CV_8UC3), backproj; local 133 calcHist(&roi, 1, 0, maskroi, hist, 1, &hsize, &phranges); 134 normalize(hist, hist, 0, 255, NORM_MINMAX); 148 int val = saturate_cast<int>(hist.at<float>(i)*histimg.rows/255); 155 calcBackProject(&hue, 1, 0, hist, backproj, &phranges);
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
BitmapUtils.java | 47 ScriptIntrinsicHistogram hist = ScriptIntrinsicHistogram.create(rs, Element.U8_4(rs)); local 53 hist.setOutput(sums); 54 hist.forEach(input);
|
/external/libvorbis/vq/ |
huffbuild.c | 130 long *hist=_ogg_calloc(vals,sizeof(long)); local 133 for(j=loval;j<vals;j++)hist[j]=guard; 141 hist[val]++; 149 build_tree_from_lengths0(vals,hist,lengths);
|
/external/opencv3/apps/traincascade/ |
HOGfeatures.h | 49 std::vector<cv::Mat> hist; member in class:CvHOGEvaluator 56 //return features[featureIdx].calc( hist, sampleIdx, componentIdx); 57 return features[featureIdx].calc( hist, normSum, sampleIdx, componentIdx);
|
/external/opencv3/modules/imgproc/perf/ |
perf_histogram.cpp | 25 Mat hist; local 40 calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); 43 SANITY_CHECK(hist); 54 Mat hist; local 68 calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); 71 SANITY_CHECK(hist); 81 Mat hist; local 96 calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); 99 SANITY_CHECK(hist);
|
/external/libedit/examples/ |
tc1.c | 137 History *hist; local 146 hist = history_init(); /* Init the builtin history */ 148 history(hist, &ev, H_SETSIZE, 100); 160 el_set(el, EL_HIST, history, hist); 222 if (history(hist, &ev, H_SET, lastevent) == -1) 224 history(hist, &ev, H_ADD , buf); 226 history(hist, &ev, H_ENTER, buf); 231 history(hist, &ev, continuation ? H_APPEND : H_ENTER, buf); 254 for (rv = history(hist, &ev, H_LAST); rv != -1; 255 rv = history(hist, &ev, H_PREV) [all...] |
wtc1.c | 114 HistoryW *hist; local 127 hist = history_winit(); /* Init built-in history */ 128 history_w(hist, &ev, H_SETSIZE, 100); /* Remember 100 events */ 129 history_w(hist, &ev, H_LOAD, hfile); 139 el_wset(el, EL_HIST, history_w, hist); /* FIXME - history_w? */ 193 history_w(hist, &ev, continuation ? H_APPEND : H_ENTER, line); 214 for(rc = history_w(hist, &ev, H_LAST); 216 rc = history_w(hist, &ev, H_PREV)) 222 history_w(hist, &ev, H_CLEAR); 228 history_w(hist, &ev, H_LOAD [all...] |
/external/libvpx/libvpx/ |
rate_hist.c | 40 struct rate_hist *hist = malloc(sizeof(*hist)); local 45 hist->samples = cfg->rc_buf_sz * 5 / 4 * fps->num / fps->den / 1000; 48 if (hist->samples == 0) 49 hist->samples = 1; 51 hist->frames = 0; 52 hist->total = 0; 54 hist->pts = calloc(hist->samples, sizeof(*hist->pts)) [all...] |
/external/opencv3/samples/tapi/ |
camshift.cpp | 102 cv::UMat hsv, hist, hue, mask, backproj; local 135 maskroi, hist, std::vector<int>(1, hsize), std::vector<float>(hranges, hranges + 2)); 136 cv::normalize(hist, hist, 0, 255, cv::NORM_MINMAX); 149 cv::Mat _hist = hist.getMat(cv::ACCESS_READ); 160 cv::calcBackProject(std::vector<cv::UMat>(1, hue), std::vector<int>(1, 0), hist, backproj,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
rate_hist.c | 40 struct rate_hist *hist = malloc(sizeof(*hist)); local 45 hist->samples = cfg->rc_buf_sz * 5 / 4 * fps->num / fps->den / 1000; 48 if (hist->samples == 0) 49 hist->samples = 1; 51 hist->frames = 0; 52 hist->total = 0; 54 hist->pts = calloc(hist->samples, sizeof(*hist->pts)) [all...] |
/external/jdiff/src/jdiff/ |
HTMLStatistics.java | 195 int[] hist = new int[101]; local 197 hist[i] = 0; 204 hist[bucket]++; 228 total += hist[i]; 231 if (hist[i] != 0) { 234 h_.writeText(" <TD>" + (hist[i]/total) + "</TD>"); 235 h_.writeText(" <TD><img alt=\"|\" src=\"../black.gif\" height=20 width=" + (hist[i]*300/total) + "></TD>"); 242 if (hist[i] != 0) { 243 h_.writeText(i + "," + (hist[i]/total)); 282 int[] hist = new int[101] local [all...] |
/external/libpng/ |
pnginfo.h | 36 * pcal_purpose, pcal_units, pcal_params, hist, iccp_name, iccp_profile, 189 /* The hIST chunk contains the relative frequency or importance of the 195 png_uint_16p hist; member in struct:png_info_def
|
/external/opencv/cv/src/ |
cvthresh.cpp | 197 icvGetThreshVal_Otsu( const CvHistogram* hist ) 214 if( !CV_IS_HIST(hist) || CV_IS_SPARSE_HIST(hist) || hist->mat.dims != 1 ) 218 count = hist->mat.dim[0].size; 219 h = (float*)cvPtr1D( hist->bins, 0 ); 221 if( !CV_HIST_HAS_RANGES(hist) || CV_IS_UNIFORM_HIST(hist) ) 223 if( CV_HIST_HAS_RANGES(hist) ) 225 low = hist->thresh[0][0] 299 CvHistogram* hist = 0; local [all...] |
/external/opencv3/3rdparty/libpng/ |
pnginfo.h | 37 * pcal_purpose, pcal_units, pcal_params, hist, iccp_name, iccp_profile, 177 /* The hIST chunk contains the relative frequency or importance of the 183 png_uint_16p hist; member in struct:png_info_def
|
/external/opencv3/modules/calib3d/src/ |
quadsubpix.cpp | 118 static int segment_hist_max(const Mat& hist, int& low_thresh, int& high_thresh) 121 double total_sum = sum(hist).val[0]; 131 for(int x = 0; x < hist.size[0]; x++) 133 quantile_sum += hist.at<float>(x); 173 Mat hist; local 182 calcHist(&img_roi, 1, &channels, Mat(), hist, 1, &nbins, &_ranges); 185 segment_hist_max(hist, black_thresh, white_thresh);
|
/external/opencv3/modules/imgproc/include/opencv2/imgproc/ |
imgproc_c.h | 657 @param hist Histogram. 661 CVAPI(void) cvSetHistBinRanges( CvHistogram* hist, float** ranges, 668 way. The function returns hist. 672 @param hist Histogram header initialized by the function. 678 int dims, int* sizes, CvHistogram* hist, 685 by the function. If \*hist pointer is already NULL, the function does nothing. 687 @param hist Double pointer to the released histogram. 689 CVAPI(void) cvReleaseHist( CvHistogram** hist ); variable 696 @param hist Histogram. 698 CVAPI(void) cvClearHist( CvHistogram* hist ); variable [all...] |
/external/pdfium/third_party/lpng_v163/ |
pnginfo.h | 37 * pcal_purpose, pcal_units, pcal_params, hist, iccp_name, iccp_profile,
190 /* The hIST chunk contains the relative frequency or importance of the
196 png_uint_16p hist;
member in struct:png_info_def
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pnginfo.h | 37 * pcal_purpose, pcal_units, pcal_params, hist, iccp_name, iccp_profile, 177 /* The hIST chunk contains the relative frequency or importance of the 183 png_uint_16p hist; member in struct:png_info_def
|