/external/webp/src/utils/ |
H A D | filters.c | 32 int bins[WEBP_FILTER_LAST][SMAX]; local 33 memset(bins, 0, sizeof(bins)); 46 bins[WEBP_FILTER_NONE][diff0] = 1; 47 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; 48 bins[WEBP_FILTER_VERTICAL][diff2] = 1; 49 bins[WEBP_FILTER_GRADIENT][diff3] = 1; 60 if (bins[filter][i] > 0) {
|
/external/libvorbis/vq/ |
H A D | distribution.c | 38 long bins=-1; local 45 fprintf(stderr,"Usage: distribution {data.vqd [bins]| book.vqh} \n\n"); 49 bins=atoi(argv[2])-1; 72 bins=_book_maptype1_quantvals(c); 75 bins=c->entries*c->dim; 82 for(i=0;i<bins;i++){ 96 long **sort=calloc(bins,sizeof(long *)); 98 countarray=calloc(bins,sizeof(long)); 100 for(i=0;i<bins;i++)sort[i]=c->quantlist+i; 101 qsort(sort,bins,sizeo [all...] |
H A D | latticetune.c | 139 long bins=_book_maptype1_quantvals(c); local 149 int index= (j/indexdiv)%bins; 152 indexdiv*=bins;
|
/external/skia/tests/ |
H A D | RandomTest.cpp | 34 static bool chi_square_test(int bins[256], int e) { argument 42 double delta = bins[j] - e; 60 int bins[256]; local 61 memset(bins, 0, sizeof(int)*256); 65 bins[(rand.nextU() >> shift) & 0xff]++; 68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); 72 int bins[256]; local 73 memset(bins, 0, sizeof(int)*256); 79 bins[(int)(f*256.f)]++; 81 REPORTER_ASSERT(reporter, chi_square_test(bins, 1000 169 int bins[256]; local [all...] |
/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/ |
H A D | calcBackProject_Demo1.cpp | 18 int bins = 25; variable 39 /// Create Trackbar to enter the number of bins 42 createTrackbar("* Hue bins: ", window_image, &bins, 180, Hist_and_Backproj ); 61 int histSize = MAX( bins, 2 ); 81 for( int i = 0; i < bins; i ++ )
|
/external/libdrm/nouveau/ |
H A D | bufctx.c | 56 struct nouveau_bufbin_priv bins[]; member in struct:nouveau_bufctx_priv 66 nouveau_bufctx_new(struct nouveau_client *client, int bins, argument 71 priv = calloc(1, sizeof(*priv) + sizeof(priv->bins[0]) * bins); 77 priv->nr_bins = bins; 106 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; 125 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; 153 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin];
|
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/ |
H A D | GraphStat.py | 52 bins = [0] * (bin_num) 62 bins[index] += 1 69 for i, y in enumerate(bins):
|
/external/opencv/cv/src/ |
H A D | cvhistogram.cpp | 62 hist->bins = 0; 65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, 67 CV_CALL( cvCreateData( hist->bins )); 71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE )); 109 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, 127 hist->bins = 0; 154 cvRelease( &temp->bins ); 157 cvReleaseData( temp->bins ); 158 temp->bins = 0; 180 cvZero( hist->bins ); 891 int* bins = ((CvMatND*)(hist->bins))->data.i; local 1149 int* bins = mat->data.i; local 1574 float* bins = mat->data.fl; local 1842 float* bins = mat->data.fl; local [all...] |
/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/ |
H A D | spreadsort.hpp | 44 //This is called for a set of bins, instead of bin-by-bin, to avoid performance overhead
96 //If we can finish in one iteration without exceeding either (2 to the MAX_SPLITS) or n bins, do so
120 //Make sure there is space for the bins
146 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count);
local 152 bins[0] = first;
154 bins[u + 1] = bins[u] + bin_sizes[u];
160 RandomAccessIter * local_bin = bins + u;
165 for(target_bin = (bins + ((*current >> log_divisor) - div_min)); target_bin != local_bin;
166 target_bin = bins 209 inner_swap_loop(RandomAccessIter * bins, const RandomAccessIter & nextbinstart, unsigned ii, right_shift &shift , const unsigned log_divisor, const div_type div_min) argument 237 swap_loop(RandomAccessIter * bins, RandomAccessIter & nextbinstart, unsigned ii, right_shift &shift , const std::vector<size_t> &bin_sizes, const unsigned log_divisor, const div_type div_min) argument 259 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local 307 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local 438 inner_float_swap_loop(RandomAccessIter * bins, const RandomAccessIter & nextbinstart, unsigned ii , const unsigned log_divisor, const div_type div_min) argument 464 float_swap_loop(RandomAccessIter * bins, RandomAccessIter & nextbinstart, unsigned ii , const std::vector<size_t> &bin_sizes, const unsigned log_divisor, const div_type div_min) argument 500 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local 549 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local 600 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local 649 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local 699 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local 783 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local 867 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local 1130 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count) + 1; local 1219 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count); local 1306 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count) + 1; local 1393 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count) + 1; local 1483 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count); local [all...] |
/external/opencv3/modules/core/src/ |
H A D | alloc.cpp | 348 ThreadData() { for(int i = 0; i <= MAX_BIN; i++) bins[i][START] = bins[i][FREE] = bins[i][GC] = 0; } 354 Block *bin = bins[i][START], *block = bin; 355 bins[i][START] = bins[i][FREE] = bins[i][GC] = 0; 382 Block*& freePtr = bins[i][FREE]; 386 Block*& gcPtr = bins[i][GC]; 400 Block* bins[MAX_BI [all...] |
/external/opencv/cvaux/include/ |
H A D | cvaux.hpp | 75 { return m_hist ? cvGetDims( m_hist->bins, dims ) : 0; } 87 bool set_threshold( int threshold ) // threshold applied to the histogram bins 115 { return m_hist ? (float)cvGetRealND(m_hist->bins, bin) : 0.f; }
|
/external/opencv3/3rdparty/libwebp/utils/ |
H A D | filters.c | 167 int bins[WEBP_FILTER_LAST][SMAX]; local 168 memset(bins, 0, sizeof(bins)); 181 bins[WEBP_FILTER_NONE][diff0] = 1; 182 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; 183 bins[WEBP_FILTER_VERTICAL][diff2] = 1; 184 bins[WEBP_FILTER_GRADIENT][diff3] = 1; 194 if (bins[filter][i] > 0) {
|
/external/jemalloc/src/ |
H A D | android_je_mallinfo.c | 34 arena_bin_t* bin = &arenas[i]->bins[j]; 70 arena_bin_t* bin = &arenas[aidx]->bins[j]; 89 arena_bin_t* bin = &arenas[aidx]->bins[bidx];
|
H A D | stats.c | 45 void *cbopaque, unsigned i, bool bins, bool large, bool huge); 62 "bins: size ind allocated nmalloc" 68 "bins: size ind allocated nmalloc" 76 CTL_M2_M4_GET("stats.arenas.0.bins.0.nruns", i, j, &nruns, 97 CTL_M2_M4_GET("stats.arenas.0.bins.0.nmalloc", i, j, 99 CTL_M2_M4_GET("stats.arenas.0.bins.0.ndalloc", i, j, 101 CTL_M2_M4_GET("stats.arenas.0.bins.0.curregs", i, j, 103 CTL_M2_M4_GET("stats.arenas.0.bins.0.nrequests", i, j, 106 CTL_M2_M4_GET("stats.arenas.0.bins.0.nfills", i, 108 CTL_M2_M4_GET("stats.arenas.0.bins 256 stats_arena_print(void (*write_cb)(void *, const char *), void *cbopaque, unsigned i, bool bins, bool large, bool huge) argument 378 bool bins = true; local [all...] |
H A D | tcache.c | 106 arena_bin_t *bin = &bin_arena->bins[binind]; 153 arena_bin_t *bin = &arena->bins[binind]; 367 arena_bin_t *bin = &arena->bins[i]; 425 arena_bin_t *bin = &arena->bins[i];
|
/external/opencv3/samples/python2/ |
H A D | hist.py | 11 2) hist_lines : return histogram of an image drawn as bins ( only for grayscale images ) 21 bins = np.arange(256).reshape(256,1) variable 33 pts = np.int32(np.column_stack((bins,hist)))
|
/external/bison/lib/ |
H A D | bitset_stats.c | 108 unsigned int n_bins, unsigned int *bins) 115 total += bins[i]; 124 (i + 1) * 100.0 / n_bins, bins[i], 125 (100.0 * bins[i]) / total); 132 unsigned int n_bins, unsigned int *bins) 140 total += bins[i]; 145 /* Determine number of useful bins. */ 146 for (i = n_bins; i > 3 && ! bins[i - 1]; i--) 156 max_width, i, bins[i], 100.0 * bins[ 107 bitset_percent_histogram_print(FILE *file, const char *name, const char *msg, unsigned int n_bins, unsigned int *bins) argument 131 bitset_log_histogram_print(FILE *file, const char *name, const char *msg, unsigned int n_bins, unsigned int *bins) argument [all...] |
/external/opencv3/modules/imgproc/test/ |
H A D | test_histograms.cpp | 252 Mat h = cvarrToMat(hist[hist_i]->bins); 257 CvArr* arr = hist[hist_i]->bins; 312 ////////////// testing operation for reading/writing individual histogram bins ////////////// 361 cvZero( hist[i]->bins ); 393 // set random histogram bins' values to the linear indices of the bins 410 // some histogram bins will not be initialized intentionally, 436 CvArr* h = hist[0]->bins; 441 // stage 1: write bins 502 // stage 2: read bins [all...] |
/external/opencv/cvaux/src/ |
H A D | camshift.cpp | 171 dims = cvGetDims( m_hist->bins ); 187 cvScale( m_hist->bins, m_hist->bins, max_val ? 255. / max_val : 0. ); 255 int c_dims2 = cvGetDims( m_hist->bins, dims2 );
|
/external/opencv3/modules/imgproc/src/ |
H A D | histogram.cpp | 2608 hist->bins = 0; 2611 hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, 2613 cvCreateData( hist->bins ); 2616 hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE ); 2640 hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, CV_HIST_DEFAULT_TYPE, data ); 2669 cvReleaseSparseMat( (CvSparseMat**)&temp->bins ); 2672 cvReleaseData( temp->bins ); 2673 temp->bins = 0; 2687 cvZero( hist->bins ); 2691 // Clears histogram bins tha [all...] |
/external/jemalloc/include/jemalloc/internal/ |
H A D | size_classes.sh | 213 * NTBINS: Number of tiny bins. 214 * NLBINS: Number of bins supported by the lookup table. 215 * NBINS: Number of small size class bins. 232 # Iterate through page sizes and compute how many bins there are.
|
/external/libvpx/libvpx/build/make/ |
H A D | Makefile | 370 .bins: $(BINS) 377 .install-bins: .bins $(addprefix $(DIST_DIR)/,$(INSTALL-BINS)) 381 rm -f .bins .install-bins $(BINS) 450 BUILD_TARGETS += .docs .libs .bins 451 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins
|
/external/autotest/frontend/tko/ |
H A D | graphing_utils.py | 697 bins = range(0, 100, interval) 698 if bins[-1] != 100: 699 bins.append(bins[-1] + interval) 706 bins=bins, align='left') 709 bars += subplot.bar([bins[-1]], len(perfect), 714 buckets = [(bin, min(bin + interval, 100)) for bin in bins[:-1]] 715 # set the x-axis range to cover all the normal bins plus the three "special" 717 subplot.set_xlim(-4 * interval, bins[ [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/ |
H A D | XLIFF2ICUConverter.java | 996 ResourceBinary[] bins = new ResourceBinary[2]; 998 bins[0] = new ResourceBinary(); 999 bins[1] = new ResourceBinary(); 1001 Resource currentSource = bins[0]; 1002 Resource currentTarget = bins[1]; 1017 parseResourceBinary(child, bins); 1026 set[0] = bins[0]; 1027 set[1] = bins[1];
|
/external/opencv/cv/include/ |
H A D | cvcompat.h | 480 ((float)cvGetReal1D( (hist)->bins, (idx0))) 482 ((float)cvGetReal2D( (hist)->bins, (idx0), (idx1))) 484 ((float)cvGetReal3D( (hist)->bins, (idx0), (idx1), (idx2))) 486 ((float)cvGetRealND( (hist)->bins, (idx))) 491 ((float*)cvPtr1D( (hist)->bins, (idx0), 0)) 493 ((float*)cvPtr2D( (hist)->bins, (idx0), (idx1), 0)) 495 ((float*)cvPtr3D( (hist)->bins, (idx0), (idx1), (idx2), 0)) 497 ((float*)cvPtrND( (hist)->bins, (idx), 0))
|