/external/libvpx/libvpx/ |
H A D | rate_hist.h | 25 void destroy_rate_histogram(struct rate_hist *hist); 27 void update_rate_histogram(struct rate_hist *hist, 33 void show_rate_histogram(struct rate_hist *hist, const vpx_codec_enc_cfg_t *cfg,
|
H A D | rate_hist.c | 40 struct rate_hist *hist = malloc(sizeof(*hist)); local 45 hist->samples = cfg->rc_buf_sz * 5 / 4 * fps->num / fps->den / 1000; 48 if (hist->samples == 0) 49 hist->samples = 1; 51 hist->frames = 0; 52 hist->total = 0; 54 hist->pts = calloc(hist->samples, sizeof(*hist 65 destroy_rate_histogram(struct rate_hist *hist) argument 73 update_rate_histogram(struct rate_hist *hist, const vpx_codec_enc_cfg_t *cfg, const vpx_codec_cx_pkt_t *pkt) argument 271 show_rate_histogram(struct rate_hist *hist, const vpx_codec_enc_cfg_t *cfg, int max_buckets) argument [all...] |
/external/opencv/cv/src/ |
H A D | cvcalccontrasthistogram.cpp | 46 CvHistogram* hist, int dont_clear )) 50 CvHistogram* hist, int dont_clear )) 63 CvHistogram* hist, int dont_clear ) 68 if( !hist || !img ) 71 dims = hist->c_dims; 75 if( hist->type != CV_HIST_ARRAY ) 82 for( i = 0; i < hist->c_dims; i++ ) 84 if( !hist->thresh[i] ) 86 assert( hist->chdims[i] ); 89 j = hist [all...] |
H A D | cvhistogram.cpp | 47 CvHistogram *hist = 0; local 58 CV_CALL( hist = (CvHistogram *)cvAlloc( sizeof( CvHistogram ))); 60 hist->type = CV_HIST_MAGIC_VAL; 61 hist->thresh2 = 0; 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 )); 79 CV_CALL( cvSetHistBinRanges( hist, range 92 cvMakeHistHeaderForArray( int dims, int *sizes, CvHistogram *hist, float *data, float **ranges, int uniform ) argument 188 cvThreshHist( CvHistogram* hist, double thresh ) argument 224 cvNormalizeHist( CvHistogram* hist, double factor ) argument 273 cvGetMinMaxHistValue( const CvHistogram* hist, float *value_min, float* value_max, int* idx_min, int* idx_max ) argument 721 cvSetHistBinRanges( CvHistogram* hist, float** ranges, int uniform ) argument 794 icvCalcHistLookupTables8u( const CvHistogram* hist, int dims, int* size, int* tab ) argument 1402 cvCalcArrHist( CvArr** img, CvHistogram* hist, int do_not_clear, const CvArr* mask ) argument 2141 cvCalcArrBackProjectPatch( CvArr** arr, CvArr* dst, CvSize patch_size, CvHistogram* hist, int method, double norm_factor ) argument 2261 cvCalcProbDensity( const CvHistogram* hist, const CvHistogram* hist_mask, CvHistogram* hist_dens, double scale ) argument 2313 CvHistogram* hist = 0; local 2461 const CvHistogram * hist = (const CvHistogram *) struct_ptr; local [all...] |
H A D | cvthresh.cpp | 197 icvGetThreshVal_Otsu( const CvHistogram* hist ) 214 if( !CV_IS_HIST(hist) || CV_IS_SPARSE_HIST(hist) || hist->mat.dims != 1 ) 218 count = hist->mat.dim[0].size; 219 h = (float*)cvPtr1D( hist->bins, 0 ); 221 if( !CV_HIST_HAS_RANGES(hist) || CV_IS_UNIFORM_HIST(hist) ) 223 if( CV_HIST_HAS_RANGES(hist) ) 225 low = hist 299 CvHistogram* hist = 0; local [all...] |
H A D | cvpgh.cpp | 320 /* convert hist to floats */ 334 cvCalcPGH( const CvSeq * contour, CvHistogram * hist ) 343 if( !CV_IS_HIST(hist)) 346 if( CV_IS_SPARSE_HIST( hist )) 349 dims = cvGetDims( hist->bins, size ); 357 IPPI_CALL( icvCalcPGH( contour, ((CvMatND*)(hist->bins))->data.fl, size[0], size[1] ));
|
H A D | cvmotempl.cpp | 288 CvHistogram* hist = 0; local 328 CV_CALL( hist = cvCreateHist( 1, &hist_size, CV_HIST_ARRAY, &ranges )); 330 cvCalcArrHist( &_orient, hist, 0, mask ); 333 cvGetMinMaxHistValue( hist, 0, 0, 0, &base_orient ); 408 cvReleaseHist( &hist );
|
/external/blktrace/btt/ |
H A D | unplug_hist.c | 30 int hist[NBKTS * sizeof(int)]; member in struct:hist_bkt 41 memset(hbp->hist, 0, NBKTS * sizeof(int)); 60 hbp->hist[idx]++; 78 fprintf(fp, "%d %d\n", i, hbp->hist[i]);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
H A D | ISACHist.cc | 34 unsigned long int hist[601]; local 39 hist[n] = 0; 144 hist[encodedLen]++; 152 totalFrames += hist[n]; 153 fprintf(outFile, "%10lu\n", hist[n]); 164 if(hist[n] > 0) 167 printf(" %3d %3d\n", n, hist[n]);
|
/external/libedit/examples/ |
H A D | tc1.c | 137 History *hist; local 146 hist = history_init(); /* Init the builtin history */ 148 history(hist, &ev, H_SETSIZE, 100); 160 el_set(el, EL_HIST, history, hist); 222 if (history(hist, &ev, H_SET, lastevent) == -1) 224 history(hist, &ev, H_ADD , buf); 226 history(hist, &ev, H_ENTER, buf); 231 history(hist, &ev, continuation ? H_APPEND : H_ENTER, buf); 254 for (rv = history(hist, &ev, H_LAST); rv != -1; 255 rv = history(hist, [all...] |
H A D | wtc1.c | 114 HistoryW *hist; local 127 hist = history_winit(); /* Init built-in history */ 128 history_w(hist, &ev, H_SETSIZE, 100); /* Remember 100 events */ 129 history_w(hist, &ev, H_LOAD, hfile); 139 el_wset(el, EL_HIST, history_w, hist); /* FIXME - history_w? */ 193 history_w(hist, &ev, continuation ? H_APPEND : H_ENTER, line); 214 for(rc = history_w(hist, &ev, H_LAST); 216 rc = history_w(hist, &ev, H_PREV)) 222 history_w(hist, &ev, H_CLEAR); 228 history_w(hist, [all...] |
/external/libvorbis/vq/ |
H A D | bookutil.h | 39 extern void build_tree_from_lengths(int vals, long *hist, long *lengths); 40 extern void build_tree_from_lengths0(int vals, long *hist, long *lengths);
|
H A D | bookutil.c | 338 void build_tree_from_lengths(int vals, long *hist, long *lengths){ argument 342 memcpy(histsave,hist,vals*sizeof(long)); 356 if(least==-1 || hist[j]<=least){ 357 least=hist[j]; 362 if((least==-1 || hist[j]<=least) && membership[j]!=first){ 363 least=hist[j]; 372 least=hist[first]+hist[second]; 376 hist[j]=least; 407 void build_tree_from_lengths0(int vals, long *hist, lon argument [all...] |
H A D | huffbuild.c | 130 long *hist=_ogg_calloc(vals,sizeof(long)); local 133 for(j=loval;j<vals;j++)hist[j]=guard; 141 hist[val]++; 149 build_tree_from_lengths0(vals,hist,lengths);
|
/external/libpng/ |
H A D | pnginfo.h | 37 * pcal_purpose, pcal_units, pcal_params, hist, iccp_name, iccp_profile, 196 png_uint_16p hist; member in struct:png_info_def
|
H A D | pngget.c | 746 png_uint_16p *hist) 751 && hist != NULL) 753 *hist = info_ptr->hist; 745 png_get_hIST(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_16p *hist) argument
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
H A D | pnginfo.h | 37 * pcal_purpose, pcal_units, pcal_params, hist, iccp_name, iccp_profile,
196 png_uint_16p hist;
member in struct:png_info_def
|
H A D | fx_pngget.c | 745 png_uint_16p *hist)
750 && hist != NULL)
752 *hist = info_ptr->hist;
744 png_get_hIST(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_16p *hist) argument
|
/external/opencv/cv/include/ |
H A D | cvcompat.h | 124 #define cvCalcHistMask(img, mask, hist, doNotClear) cvCalcHist(img, hist, doNotClear, mask) 479 #define cvQueryHistValue_1D( hist, idx0 ) \ 480 ((float)cvGetReal1D( (hist)->bins, (idx0))) 481 #define cvQueryHistValue_2D( hist, idx0, idx1 ) \ 482 ((float)cvGetReal2D( (hist)->bins, (idx0), (idx1))) 483 #define cvQueryHistValue_3D( hist, idx0, idx1, idx2 ) \ 484 ((float)cvGetReal3D( (hist)->bins, (idx0), (idx1), (idx2))) 485 #define cvQueryHistValue_nD( hist, idx ) \ 486 ((float)cvGetRealND( (hist) [all...] |
H A D | cv.h | 779 CVAPI(void) cvCalcPGH( const CvSeq* contour, CvHistogram* hist ); 829 CVAPI(void) cvSetHistBinRanges( CvHistogram* hist, float** ranges, 834 int dims, int* sizes, CvHistogram* hist, 839 CVAPI(void) cvReleaseHist( CvHistogram** hist ); variable 842 CVAPI(void) cvClearHist( CvHistogram* hist ); variable 845 CVAPI(void) cvGetMinMaxHistValue( const CvHistogram* hist, 853 CVAPI(void) cvNormalizeHist( CvHistogram* hist, double factor ); 857 CVAPI(void) cvThreshHist( CvHistogram* hist, double threshold ); 880 CVAPI(void) cvCalcArrHist( CvArr** arr, CvHistogram* hist, 884 CV_INLINE void cvCalcHist( IplImage** image, CvHistogram* hist, argument [all...] |
/external/jdiff/src/jdiff/ |
H A D | HTMLStatistics.java | 195 int[] hist = new int[101]; 197 hist[i] = 0; 204 hist[bucket]++; 228 total += hist[i]; 231 if (hist[i] != 0) { 234 h_.writeText(" <TD>" + (hist[i]/total) + "</TD>"); 235 h_.writeText(" <TD><img alt=\"|\" src=\"../black.gif\" height=20 width=" + (hist[i]*300/total) + "></TD>"); 242 if (hist[i] != 0) { 243 h_.writeText(i + "," + (hist[i]/total)); 282 int[] hist [all...] |
/external/netperf/ |
H A D | Android.mk | 21 L_COMMON_SRC := hist.h netlib.c netsh.c nettest_bsd.c nettest_dlpi.c \
|
/external/linux-tools-perf/src/tools/perf/ |
H A D | Android.mk | 90 ui/hist.c \ 93 ui/stdio/hist.c \ 116 util/hist.c \
|
/external/opencv/cxcore/include/ |
H A D | cxtypes.h | 806 it turns to CV_HIST_UNIFORM_FLAG of hist->type */ 819 #define CV_IS_HIST( hist ) \ 820 ((hist) != NULL && \ 821 (((CvHistogram*)(hist))->type & CV_MAGIC_MASK) == CV_HIST_MAGIC_VAL && \ 822 (hist)->bins != NULL) 824 #define CV_IS_UNIFORM_HIST( hist ) \ 825 (((hist)->type & CV_HIST_UNIFORM_FLAG) != 0) 827 #define CV_IS_SPARSE_HIST( hist ) \ 828 CV_IS_SPARSE_MAT((hist)->bins) 830 #define CV_HIST_HAS_RANGES( hist ) \ [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | texcompress_fxt1.c | 394 } hist[N_TEXELS]; local 397 memset(hist, 0, sizeof(hist)); 409 if (!hist[l].flag) { 411 hist[l].flag = !0; 412 hist[l].key = key; 413 hist[l].freq = 1; 414 hist[l].idx = k; 417 } else if (hist[l].key == key) { 418 hist[ [all...] |