/art/runtime/base/ |
histogram_test.cc | 26 // Histogram *hist(new Histogram("SimplePercentiles")); 28 // hist->AddValue(121); 29 // hist->AddValue(132); 30 // hist->AddValue(140); 31 // hist->AddValue(145); 32 // hist->AddValue(155); 33 // hist->CreateHistogram(); 34 // PerValue = hist->PercentileVal(0.50); finds the 50th percentile(median). 37 std::unique_ptr<Histogram<uint64_t>> hist(new Histogram<uint64_t>("MeanTest", 5)); 41 hist->AddValue(static_cast<uint64_t>(50)) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/ |
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->pts)) [all...] |
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,
|
/external/libvpx/libvpx/ |
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->pts)) [all...] |
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,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
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->pts)) [all...] |
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,
|
/external/opencv/cv/src/ |
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->dims[0] * hist->mdims[0] [all...] |
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, ranges, uniform )) 2313 CvHistogram* hist = 0; local 2461 const CvHistogram * hist = (const CvHistogram *) struct_ptr; local [all...] |
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->thresh[0][0] 299 CvHistogram* hist = 0; local [all...] |
/external/srec/srec/clib/ |
specnorm.c | 48 else spec->hist[spec_val - spec->low_entry] += UNIT_SIZE; 105 count += spec->hist[ii]; 111 cumval += spec->hist[ii]; 116 count += spec->hist[jj]; 117 accum += spec->hist[jj] * (jj - ii); 141 count += spec->hist[jj]; 142 accum += spec->hist[jj] * ii; 149 totcount += spec->hist[jj]; 235 spec->hist = (long *) CALLOC_CLR(high_entry - low_entry + 1, 236 sizeof(int), "clib.spec.hist"); [all...] |
/external/netperf/ |
hist.h | 12 /* hist.h 59 typedef struct histogram_struct *HIST; 65 HIST HIST_new(void); 71 void HIST_clear(HIST h); 78 void HIST_add(register HIST h, int time_delta); 85 void HIST_report(HIST h);
|
/external/chromium_org/chrome/browser/chromeos/ |
external_metrics_unittest.cc | 40 scoped_ptr<metrics::MetricSample> hist = local 44 *hist.get(), external_metrics_->uma_events_file_)); 55 scoped_ptr<metrics::MetricSample> hist = local 59 *hist.get(), external_metrics_->uma_events_file_));
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
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/ |
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, &ev, H_PREV) [all...] |
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, &ev, H_LOAD [all...] |
/external/blktrace/btt/ |
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/linux-tools-perf/perf-3.12.0/tools/perf/ui/ |
setup.c | 5 #include "../util/hist.h"
|
/external/libvorbis/vq/ |
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);
|
/frameworks/base/core/res/res/raw-sk/ |
incognito_mode_start_page.html | 7 <p><strong>Ste v re?ime inkognito</strong> Stránky, ktoré si pozriete v tomto okne, sa nezobrazia v histórii prehliada?a ani v histórii vyh?adávania. Po zavretí okna inkognito na zariadení nezostanú ani ?iadne iné stopy, ako sú napr. súbory cookie. Napriek tomu v?ak zostanú zachované v?etky prevzaté súbory aj zálo?ky, ktoré ste vytvorili.</p>
|
/frameworks/base/core/res/res/raw-sk-xlarge/ |
incognito_mode_start_page.html | 7 <p><strong>Ste v re?ime inkognito</strong> Stránky, ktoré si pozriete v tomto okne, sa nezobrazia v histórii prehliada?a ani v histórii vyh?adávania. Po zavretí okna inkognito na zariadení nezostanú ani ?iadne iné stopy, ako sú napr. súbory cookie. Napriek tomu v?ak zostanú zachované v?etky prevzaté súbory aj zálo?ky, ktoré ste vytvorili.</p>
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicHistogram.java | 89 ScriptIntrinsicHistogram hist = local 91 hist.setOutput(mAout); 92 hist.forEach(mAin, makeClipper(x1, y1, x2, y2)); 213 ScriptIntrinsicHistogram hist = local 215 hist.setOutput(mAout); 216 hist.setDotCoefficients(dotVals[0], dotVals[1], dotVals[2], dotVals[3]); 217 hist.forEach_Dot(mAin, makeClipper(x1, y1, x2, y2));
|
/pdk/apps/CameraITS/tests/inprog/ |
test_param_black_level_lock.py | 58 hist,_ = numpy.histogram(yimg*255, 256, (0,256)) 59 modes.append(numpy.argmax(hist)) 63 pylab.plot(range(16), hist.tolist()[:16])
|
/external/llvm/lib/LineEditor/ |
LineEditor.cpp | 100 History *Hist; 203 Data->Hist = ::history_init(); 204 assert(Data->Hist); 211 ::el_set(Data->EL, EL_HIST, history, Data->Hist); 224 ::history(Data->Hist, &HE, H_SETSIZE, 800); 225 ::history(Data->Hist, &HE, H_SETUNIQUE, 1); 232 ::history_end(Data->Hist); 240 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); 247 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); 267 ::history(Data->Hist, &HE, H_ENTER, Line) [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/Documentation/ |
perf-diff.txt | 82 Show period values for both compared hist entries. 154 - A/B being matching hist entry from data/baseline file specified 157 - period_percent being the % of the hist entry period value within 167 - A/B being matching hist entry from data/baseline file specified 170 - period being the hist entry period value 178 - A/B being matching hist entry from data/baseline file specified 181 - period being the hist entry period value
|