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

1 2

  /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/libdrm/nouveau/
bufctx.c 62 struct nouveau_bufbin_priv bins[]; member in struct:nouveau_bufctx_priv
72 nouveau_bufctx_new(struct nouveau_client *client, int bins,
77 priv = calloc(1, sizeof(*priv) + sizeof(priv->bins[0]) * bins);
83 priv->nr_bins = bins;
112 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin];
131 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin];
159 struct nouveau_bufbin_priv *pbin = &pctx->bins[bin];
nouveau.h 178 int nouveau_bufctx_new(struct nouveau_client *, int 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...]
cvpgh.cpp 143 // ang_dim - number of angle bins (vertical size of histogram)
144 // dist_dim - number of distance bins (horizontal size of histogram)
349 dims = cvGetDims( hist->bins, size );
357 IPPI_CALL( icvCalcPGH( contour, ((CvMatND*)(hist->bins))->data.fl, size[0], size[1] ));
cvthresh.cpp 219 h = (float*)cvPtr1D( hist->bins, 0 );
  /external/webrtc/src/system_wrappers/source/spreadsortlib/
spreadsort.hpp 39 //This is called for a set of bins, instead of bin-by-bin, to avoid performance overhead
91 //If we can finish in one iteration without exceeding either (2 to the MAX_SPLITS) or n bins, do so
115 //Make sure there is space for the bins
141 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
147 bins[0] = first;
149 bins[u + 1] = bins[u] + bin_sizes[u];
155 RandomAccessIter * local_bin = bins + u;
160 for(target_bin = (bins + ((*current >> log_divisor) - div_min)); target_bin != local_bin;
161 target_bin = bins + ((*current >> log_divisor) - div_min)) {
254 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
302 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
495 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
544 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
595 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
644 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
694 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
778 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
862 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); local
1125 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count) + 1; local
1214 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count); local
1301 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count) + 1; local
1388 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count) + 1; local
1478 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, membin_count); local
    [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/webp/src/utils/
filters.c 205 int bins[WEBP_FILTER_LAST][SMAX]; local
206 memset(bins, 0, sizeof(bins));
219 bins[WEBP_FILTER_NONE][diff0] = 1;
220 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1;
221 bins[WEBP_FILTER_VERTICAL][diff2] = 1;
222 bins[WEBP_FILTER_GRADIENT][diff3] = 1;
233 if (bins[filter][i] > 0) {
  /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/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/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/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/jemalloc/include/jemalloc/internal/
size_classes.sh 209 * NTBINS: Number of tiny bins.
210 * NLBINS: Number of bins supported by the lookup table.
211 * NBINS: Number of small size class bins.
227 # Iterate through page sizes and compute how many bins there are.
arena.h 181 * Read-only information associated with each element of arena_t's bins array
397 /* bins is used to store trees of free regions. */
398 arena_bin_t bins[NBINS]; member in struct:arena_s
915 bin = &arena->bins[run_binind];
916 actual_binind = bin - arena->bins;
933 index_t binind = bin - arena->bins;
    [all...]
  /external/jemalloc/src/
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"
369 bool bins = true; local
    [all...]
tcache.c 107 arena_bin_t *bin = &bin_arena->bins[binind];
153 arena_bin_t *bin = &arena->bins[binind];
358 arena_bin_t *bin = &arena->bins[i];
416 arena_bin_t *bin = &arena->bins[i];
arena.c     [all...]
  /external/libvpx/libvpx/build/make/
Makefile 368 BINS=$(call enabled,BINS)
369 .bins: $(BINS)
372 INSTALL-BINS=$(call cond_enabled,CONFIG_INSTALL_BINS,INSTALL-BINS)
374 INSTALL-BINS+=$(call cond_enabled,CONFIG_INSTALL_BINS,DIST-BINS)
376 .install-bins: .bins $(addprefix $(DIST_DIR)/,$(INSTALL-BINS)
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Makefile 346 BINS=$(call enabled,BINS)
347 .bins: $(BINS)
350 INSTALL-BINS=$(call cond_enabled,CONFIG_INSTALL_BINS,INSTALL-BINS)
352 INSTALL-BINS+=$(call cond_enabled,CONFIG_INSTALL_BINS,DIST-BINS)
354 .install-bins: .bins $(addprefix $(DIST_DIR)/,$(INSTALL-BINS)
    [all...]
  /external/opencv/cv/include/
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))
    [all...]
  /external/v8/test/mjsunit/
unicode-test.js     [all...]
  /external/opencv/cxcore/include/
cxtypes.h 812 CvArr* bins; member in struct:CvHistogram
822 (hist)->bins != NULL)
828 CV_IS_SPARSE_MAT((hist)->bins)
    [all...]

Completed in 868 milliseconds

1 2