Home
last modified time | relevance | path

Searched refs:bins (Results 1 – 15 of 15) sorted by relevance

/external/libvorbis/vq/
Ddistribution.c38 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 …]
Dlatticetune.c139 long bins=_book_maptype1_quantvals(c); in main() local
149 int index= (j/indexdiv)%bins; in main()
152 indexdiv*=bins; in main()
/external/opencv/cv/src/
Dcvhistogram.cpp62 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 …]
Dcvpgh.cpp349 dims = cvGetDims( hist->bins, size ); in cvCalcPGH()
357 IPPI_CALL( icvCalcPGH( contour, ((CvMatND*)(hist->bins))->data.fl, size[0], size[1] )); in cvCalcPGH()
Dcvthresh.cpp219 h = (float*)cvPtr1D( hist->bins, 0 ); in icvGetThreshVal_Otsu()
/external/webrtc/src/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp141 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in spread_sort_rec() local
147 bins[0] = first; in spread_sort_rec()
149 bins[u + 1] = bins[u] + bin_sizes[u]; in spread_sort_rec()
155 RandomAccessIter * local_bin = bins + u; in spread_sort_rec()
160 for(target_bin = (bins + ((*current >> log_divisor) - div_min)); target_bin != local_bin; in spread_sort_rec()
161 target_bin = bins + ((*current >> log_divisor) - div_min)) { in spread_sort_rec()
166 RandomAccessIter * b_bin = bins + ((*b >> log_divisor) - div_min); in spread_sort_rec()
180 bins[bin_count - 1] = last; in spread_sort_rec()
204 …inline void inner_swap_loop(RandomAccessIter * bins, const RandomAccessIter & nextbinstart, unsign… in inner_swap_loop() argument
207 RandomAccessIter * local_bin = bins + ii; in inner_swap_loop()
[all …]
/external/webp/src/utils/
Dfilters.c167 int bins[WEBP_FILTER_LAST][SMAX]; in EstimateBestFilter() local
168 memset(bins, 0, sizeof(bins)); in EstimateBestFilter()
180 bins[WEBP_FILTER_NONE][diff0] = 1; in EstimateBestFilter()
181 bins[WEBP_FILTER_HORIZONTAL][diff1] = 1; in EstimateBestFilter()
182 bins[WEBP_FILTER_VERTICAL][diff2] = 1; in EstimateBestFilter()
183 bins[WEBP_FILTER_GRADIENT][diff3] = 1; in EstimateBestFilter()
193 if (bins[filter][i] > 0) { in EstimateBestFilter()
/external/bison/lib/
Dbitset_stats.c108 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/libvpx/build/make/
DMakefile277 .bins: $(BINS)
284 .install-bins: .bins $(addprefix $(DIST_DIR)/,$(INSTALL-BINS))
288 rm -f .bins .install-bins $(BINS)
353 BUILD_TARGETS += .docs .libs .bins
354 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins
/external/opencv/cvaux/src/
Dcamshift.cpp171 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/
Dcvaux.hpp75 { 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/opencv/cv/include/
Dcvcompat.h480 ((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))
/external/eigen/unsupported/Eigen/
DFFT62 * number of bins in complex vs real.
213 dst.resize( (src.size()>>1)+1); // half the bins + Nyquist bin
331 …e_input<0) { //shrinking -- create the Nyquist bin as the average of the two bins that fold into it
/external/openfst/
DNEWS16 support throughout scripts/bins/dsos (1.2.8)
/external/opencv/cxcore/include/
Dcxtypes.h812 CvArr* bins; member
822 (hist)->bins != NULL)
828 CV_IS_SPARSE_MAT((hist)->bins)