HomeSort by relevance Sort by last modified time
    Searched refs:bins (Results 1 - 25 of 47) sorted by null

1 2

  /external/webp/src/utils/
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/
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,sizeof(long *),ascend)
    [all...]
latticetune.c 139 long bins=_book_maptype1_quantvals(c); local
149 int index= (j/indexdiv)%bins;
152 indexdiv*=bins;
  /external/skia/tests/
RandomTest.cpp 34 static bool chi_square_test(int bins[256], int e) {
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, 10000))
169 int bins[256]; local
    [all...]
  /external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/
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/
bufctx.c 56 struct nouveau_bufbin_priv bins[]; member in struct:nouveau_bufctx_priv
66 nouveau_bufctx_new(struct nouveau_client *client, int bins,
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/
GraphStat.py 39 Bins data that falls between certain limits, if the limits are (0, 0) the
52 bins = [0] * (bin_num)
62 bins[index] += 1
69 for i, y in enumerate(bins):
  /external/opencv/cv/src/
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/
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 + ((*current >> log_divisor) - div_min)) {
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
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/
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_BIN+1][3]
    [all...]
  /external/opencv/cvaux/include/
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/
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/
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];
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.0.nflushes"
378 bool bins = true; local
    [all...]
  /external/opencv3/samples/python2/
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/
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[i] / total)
    [all...]
  /external/opencv3/modules/imgproc/test/
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/
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 );
  /hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/
extra_data_handler.cpp 50 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; local
55 bins <<= shift;
57 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift;
66 bins <<= rem_bits;
67 bins |= ((rbsp_buf[byte_ptr] << (8-bit_ptr)) & 0xFF) >> (8-rem_bits);
77 DEBUG_PRINT_LOW("\nIn %s() bin/num_bits : %x/%d", __func__, bins, num_bits);
78 return bins;
  /hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
extra_data_handler.cpp 52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; local
57 bins <<= shift;
59 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift;
69 bins <<= rem_bits;
70 bins |= ((rbsp_buf[byte_ptr] << (8-bit_ptr)) & 0xFF) >> (8-rem_bits);
82 DEBUG_PRINT_LOW("In %s() bin/num_bits : %x/%u", __func__, (unsigned)bins, (unsigned int)num_bits);
83 return bins;
  /hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
extra_data_handler.cpp 52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; local
57 bins <<= shift;
59 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift;
69 bins <<= rem_bits;
70 bins |= ((rbsp_buf[byte_ptr] << (8-bit_ptr)) & 0xFF) >> (8-rem_bits);
82 DEBUG_PRINT_LOW("In %s() bin/num_bits : %x/%u", __func__, (unsigned)bins, (unsigned int)num_bits);
83 return bins;
  /hardware/qcom/media/msmcobalt/mm-video-v4l2/vidc/common/src/
extra_data_handler.cpp 52 OMX_U32 rem_bits = num_bits, bins = 0, shift = 0; local
57 bins <<= shift;
59 bins |= ((rbsp_buf[byte_ptr] << shift) & 0xFF) >> shift;
69 bins <<= rem_bits;
70 bins |= ((rbsp_buf[byte_ptr] << (8-bit_ptr)) & 0xFF) >> (8-rem_bits);
82 DEBUG_PRINT_LOW("In %s() bin/num_bits : %x/%u", __func__, (unsigned)bins, (unsigned int)num_bits);
83 return bins;
  /external/chromium-trace/catapult/experimental/
plot_bisect_results.py 80 # Calculate bounds and bins.
87 bins = numpy.linspace(lower_bound, upper_bound,
94 axis.hist(values, bins, alpha=0.5, normed=True, histtype='stepfilled',
  /external/opencv3/modules/imgproc/src/
histogram.cpp     [all...]
  /external/jemalloc/include/jemalloc/internal/
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.

Completed in 1150 milliseconds

1 2