/external/libvorbis/vq/ |
D | distribution.c | 38 long bins=-1; in main() local 49 bins=atoi(argv[2])-1; in main() 72 bins=_book_maptype1_quantvals(c); in main() 75 bins=c->entries*c->dim; in main() 82 for(i=0;i<bins;i++){ in main() 96 long **sort=calloc(bins,sizeof(long *)); in main() 98 countarray=calloc(bins,sizeof(long)); in main() 100 for(i=0;i<bins;i++)sort[i]=c->quantlist+i; in main() 101 qsort(sort,bins,sizeof(long *),ascend); in main() 112 int index= (j/indexdiv)%bins; in main() [all …]
|
D | latticetune.c | 139 long bins=_book_maptype1_quantvals(c); in main() local 149 int index= (j/indexdiv)%bins; in main() 152 indexdiv*=bins; in main()
|
/external/skia/tests/ |
D | RandomTest.cpp | 34 static bool chi_square_test(int bins[256], int e) { in chi_square_test() 42 double delta = bins[j] - e; in chi_square_test() 60 int bins[256]; in test_random_byte() local 61 memset(bins, 0, sizeof(int)*256); in test_random_byte() 65 bins[(rand.nextU() >> shift) & 0xff]++; in test_random_byte() 68 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_byte() 72 int bins[256]; in test_random_float() local 73 memset(bins, 0, sizeof(int)*256); in test_random_float() 79 bins[(int)(f*256.f)]++; in test_random_float() 81 REPORTER_ASSERT(reporter, chi_square_test(bins, 10000)); in test_random_float() [all …]
|
/external/opencv/cv/src/ |
D | cvhistogram.cpp | 62 hist->bins = 0; in cvCreateHist() 65 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, in cvCreateHist() 67 CV_CALL( cvCreateData( hist->bins )); in cvCreateHist() 71 CV_CALL( hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE )); in cvCreateHist() 109 CV_CALL( hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, in cvMakeHistHeaderForArray() 127 hist->bins = 0; in cvMakeHistHeaderForArray() 154 cvRelease( &temp->bins ); in cvReleaseHist() 157 cvReleaseData( temp->bins ); in cvReleaseHist() 158 temp->bins = 0; in cvReleaseHist() 180 cvZero( hist->bins ); in cvClearHist() [all …]
|
/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/ |
D | spreadsort.hpp | 146 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in spread_sort_rec() local 152 bins[0] = first; in spread_sort_rec() 154 bins[u + 1] = bins[u] + bin_sizes[u]; in spread_sort_rec() 160 RandomAccessIter * local_bin = bins + u; in spread_sort_rec() 165 for(target_bin = (bins + ((*current >> log_divisor) - div_min)); target_bin != local_bin; in spread_sort_rec() 166 target_bin = bins + ((*current >> log_divisor) - div_min)) { in spread_sort_rec() 171 RandomAccessIter * b_bin = bins + ((*b >> log_divisor) - div_min); in spread_sort_rec() 185 bins[bin_count - 1] = last; in spread_sort_rec() 209 …inline void inner_swap_loop(RandomAccessIter * bins, const RandomAccessIter & nextbinstart, unsign… in inner_swap_loop() argument 212 RandomAccessIter * local_bin = bins + ii; in inner_swap_loop() [all …]
|
/external/webp/src/utils/ |
D | filters.c | 32 int bins[WEBP_FILTER_LAST][SMAX]; in WebPEstimateBestFilter() local 33 memset(bins, 0, sizeof(bins)); in WebPEstimateBestFilter() 46 bins[WEBP_FILTER_NONE][diff0] = 1; in WebPEstimateBestFilter() 47 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in WebPEstimateBestFilter() 48 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in WebPEstimateBestFilter() 49 bins[WEBP_FILTER_GRADIENT][diff3] = 1; in WebPEstimateBestFilter() 60 if (bins[filter][i] > 0) { in WebPEstimateBestFilter()
|
/external/opencv3/modules/core/src/ |
D | alloc.cpp | 348 …ThreadData() { for(int i = 0; i <= MAX_BIN; i++) bins[i][START] = bins[i][FREE] = bins[i][GC] = 0;… in ThreadData() 354 Block *bin = bins[i][START], *block = bin; in ~ThreadData() 355 bins[i][START] = bins[i][FREE] = bins[i][GC] = 0; in ~ThreadData() 382 Block*& freePtr = bins[i][FREE]; in moveBlockToFreeList() 386 Block*& gcPtr = bins[i][GC]; in moveBlockToFreeList() 400 Block* bins[MAX_BIN+1][3]; member 460 Block* block = tls->bins[idx][START]; 463 CV_DbgAssert( tls->bins[idx][FREE] == 0 && tls->bins[idx][GC] == 0 ); 471 if( tls->bins[idx][FREE] == block ) 473 if( tls->bins[idx][GC] == block ) [all …]
|
/external/libdrm/nouveau/ |
D | bufctx.c | 56 struct nouveau_bufbin_priv bins[]; member 66 nouveau_bufctx_new(struct nouveau_client *client, int bins, in nouveau_bufctx_new() argument 71 priv = calloc(1, sizeof(*priv) + sizeof(priv->bins[0]) * bins); in nouveau_bufctx_new() 77 priv->nr_bins = bins; in nouveau_bufctx_new() 106 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_reset() 125 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_refn() 153 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin]; in nouveau_bufctx_mthd()
|
/external/opencv3/doc/py_tutorials/py_ml/py_svm/py_svm_opencv/ |
D | py_svm_opencv.markdown | 38 sub-square, calculate the histogram of direction (16 bins) weighted with their magnitude. So each 48 bins = np.int32(bin_n*ang/(2*np.pi)) 51 bin_cells = bins[:10,:10], bins[10:,:10], bins[:10,10:], bins[10:,10:] 65 bin_n = 16 # Number of bins 86 bins = np.int32(bin_n*ang/(2*np.pi)) # quantizing binvalues in (0...16) 87 bin_cells = bins[:10,:10], bins[10:,:10], bins[:10,10:], bins[10:,10:]
|
/external/opencv3/3rdparty/libwebp/utils/ |
D | filters.c | 167 int bins[WEBP_FILTER_LAST][SMAX]; in EstimateBestFilter() local 168 memset(bins, 0, sizeof(bins)); in EstimateBestFilter() 181 bins[WEBP_FILTER_NONE][diff0] = 1; in EstimateBestFilter() 182 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in EstimateBestFilter() 183 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in EstimateBestFilter() 184 bins[WEBP_FILTER_GRADIENT][diff3] = 1; in EstimateBestFilter() 194 if (bins[filter][i] > 0) { in EstimateBestFilter()
|
/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/ |
D | calcBackProject_Demo1.cpp | 18 int bins = 25; variable 42 createTrackbar("* Hue bins: ", window_image, &bins, 180, Hist_and_Backproj ); in main() 61 int histSize = MAX( bins, 2 ); in Hist_and_Backproj() 81 for( int i = 0; i < bins; i ++ ) in Hist_and_Backproj()
|
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/ |
D | GraphStat.py | 52 bins = [0] * (bin_num) 62 bins[index] += 1 69 for i, y in enumerate(bins):
|
/external/opencv3/modules/imgproc/test/ |
D | test_histograms.cpp | 252 Mat h = cvarrToMat(hist[hist_i]->bins); in init_hist() 257 CvArr* arr = hist[hist_i]->bins; in init_hist() 361 cvZero( hist[i]->bins ); in init_hist() 436 CvArr* h = hist[0]->bins; in run_func() 624 cvSetRealND( hist[0]->bins, min_idx0, min_val0 ); in init_hist() 625 cvSetRealND( hist[0]->bins, max_idx0, max_val0 ); in init_hist() 634 ((CvSparseMat*)hist[0]->bins)->copyToSparseMat(h); in run_func() 719 ((CvSparseMat*)hist[0]->bins)->heap->active_count == 0 ) in prepare_test_case() 732 ((CvSparseMat*)hist[0]->bins)->copyToSparseMat(h); in run_func() 734 cvReleaseSparseMat((CvSparseMat**)&hist[0]->bins); in run_func() [all …]
|
/external/bison/lib/ |
D | bitset_stats.c | 108 unsigned int n_bins, unsigned int *bins) in bitset_percent_histogram_print() argument 115 total += bins[i]; in bitset_percent_histogram_print() 124 (i + 1) * 100.0 / n_bins, bins[i], in bitset_percent_histogram_print() 125 (100.0 * bins[i]) / total); in bitset_percent_histogram_print() 132 unsigned int n_bins, unsigned int *bins) in bitset_log_histogram_print() argument 140 total += bins[i]; in bitset_log_histogram_print() 146 for (i = n_bins; i > 3 && ! bins[i - 1]; i--) in bitset_log_histogram_print() 156 max_width, i, bins[i], 100.0 * bins[i] / total); in bitset_log_histogram_print() 163 bins[i], in bitset_log_histogram_print() 164 (100.0 * bins[i]) / total); in bitset_log_histogram_print()
|
/external/llvm/test/Analysis/ScalarEvolution/ |
D | trip-count.ll | 42 %bins = alloca [16 x i64], align 16 43 %0 = bitcast [16 x i64]* %bins to i8* 55 %arrayidx = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %v11 68 %arrayidx8 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 2 76 %arrayidx.1 = getelementptr [16 x i64], [16 x i64]* %bins, i64 0, i64 %next12
|
/external/opencv3/modules/imgproc/src/ |
D | histogram.cpp | 2608 hist->bins = 0; in cvCreateHist() 2611 hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, in cvCreateHist() 2613 cvCreateData( hist->bins ); in cvCreateHist() 2616 hist->bins = cvCreateSparseMat( dims, sizes, CV_HIST_DEFAULT_TYPE ); in cvCreateHist() 2640 hist->bins = cvInitMatNDHeader( &hist->mat, dims, sizes, CV_HIST_DEFAULT_TYPE, data ); in cvMakeHistHeaderForArray() 2669 cvReleaseSparseMat( (CvSparseMat**)&temp->bins ); in cvReleaseHist() 2672 cvReleaseData( temp->bins ); in cvReleaseHist() 2673 temp->bins = 0; in cvReleaseHist() 2687 cvZero( hist->bins ); in cvClearHist() 2698 if( !CV_IS_SPARSE_MAT(hist->bins) ) in cvThreshHist() [all …]
|
/external/opencv3/doc/tutorials/imgproc/histograms/back_projection/ |
D | back_projection.markdown | 66 - Let the user to enter the number of bins to be used in the calculation of the histogram. 67 - Calculate the histogram (and update it if the bins change) and the backprojection of the 88 -# Declare the matrices to store our images and initialize the number of bins to be used by our 92 int bins = 25; 123 createTrackbar("* Hue bins: ", window_image, &bins, 180, Hist_and_Backproj ); 134 number of bins comes from the Trackbar: 139 int histSize = MAX( bins, 2 ); 166 for( int i = 0; i < bins; i ++ )
|
/external/jemalloc/src/ |
D | android_je_mallinfo.c | 34 arena_bin_t* bin = &arenas[i]->bins[j]; in je_mallinfo() 70 arena_bin_t* bin = &arenas[aidx]->bins[j]; in __mallinfo_arena_info() 89 arena_bin_t* bin = &arenas[aidx]->bins[bidx]; in __mallinfo_bin_info()
|
D | stats.c | 45 void *cbopaque, unsigned i, bool bins, bool large, bool huge); 257 unsigned i, bool bins, bool large, bool huge) in stats_arena_print() argument 360 if (bins) in stats_arena_print() 378 bool bins = true; in stats_print() local 418 bins = false; in stats_print() 638 narenas, bins, large, huge); in stats_print() 664 cbopaque, i, bins, large, in stats_print()
|
/external/autotest/frontend/tko/ |
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]] 717 subplot.set_xlim(-4 * interval, bins[-1] + interval) 718 subplot.set_xticks([-3 * interval, -interval] + bins + [100 + interval])
|
/external/opencv/cvaux/src/ |
D | camshift.cpp | 171 dims = cvGetDims( m_hist->bins ); in update_histogram() 187 cvScale( m_hist->bins, m_hist->bins, max_val ? 255. / max_val : 0. ); in update_histogram() 255 int c_dims2 = cvGetDims( m_hist->bins, dims2 ); in set_hist_dims()
|
/external/opencv/cvaux/include/ |
D | cvaux.hpp | 75 { return m_hist ? cvGetDims( m_hist->bins, dims ) : 0; } in get_hist_dims() 115 { return m_hist ? (float)cvGetRealND(m_hist->bins, bin) : 0.f; } in query()
|
/external/opencv3/doc/tutorials/imgproc/histograms/histogram_calculation/ |
D | histogram_calculation.markdown | 18 - Histograms are collected *counts* of data organized into a set of predefined *bins* 28 **bins**) like: 36 this to the example above we get the image below ( axis x represents the bins and axis y the 47 -# **bins**: It is the number of **subdivisions** in each dim. In our example, **bins = 16** 98 -# Establish number of bins (5, 10...): 108 -# We want our bins to have the same size (uniform) and to clear the histograms in the 135 - **histSize:** The number of bins per each used dimension
|
/external/libvpx/libvpx/build/make/ |
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/chromium-trace/catapult/telemetry/third_party/altgraph/doc/ |
D | graphstat.rst | 13 Groups the number of edges per node into *bin_num* bins 14 and returns the list of those bins. Every item in the result
|