Home
last modified time | relevance | path

Searched refs:sample_count (Results 1 – 25 of 57) sorted by relevance

123

/external/webrtc/tools/cpu/
Dcpu_mon.py24 def Capture(self, sample_count): argument
26 ((sample_count - len(self.samples)), self.label))
27 while len(self.samples) < sample_count:
40 def GrabCpuSamples(sample_count): argument
47 snapshot.Capture(sample_count)
54 sample_count = raw_input().strip()
55 if len(sample_count) > 0 and int(sample_count) > 0:
56 sample_count = int(sample_count)
59 sample_count = 60
63 snapshot = GrabCpuSamples(sample_count)
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_msaa.c41 unsigned sample_count = 1; in update_sample_mask() local
46 sample_count = framebuffer->zsbuf->texture->nr_samples; in update_sample_mask()
48 sample_count = framebuffer->cbufs[0]->texture->nr_samples; in update_sample_mask()
50 if (st->ctx->Multisample.Enabled && sample_count > 1) { in update_sample_mask()
54 nr_bits = st->ctx->Multisample.SampleCoverageValue * (float)sample_count; in update_sample_mask()
Dst_format.h53 enum pipe_texture_target target, unsigned sample_count,
58 GLenum internalFormat, unsigned sample_count);
Dst_format.c1419 unsigned sample_count, in find_supported_format() argument
1425 sample_count, tex_usage)) { in find_supported_format()
1534 enum pipe_texture_target target, unsigned sample_count, in st_choose_format() argument
1551 target, sample_count, bindings)) in st_choose_format()
1563 target, sample_count, bindings); in st_choose_format()
1578 GLenum internalFormat, unsigned sample_count) in st_choose_renderbuffer_format() argument
1586 sample_count, usage); in st_choose_renderbuffer_format()
/external/opencv/ml/src/
Dmlsvm.cpp413 sample_count = _sample_count; in create()
431 buf[i] = (Qfloat*)cvMemStorageAlloc( storage, sample_count*2*sizeof(buf[i][0]) ); in create()
452 cache_line_size = sample_count*sizeof(Qfloat); in create()
455 cache_size = MAX( cache_line_size*sample_count/4, CV_SVM_MIN_CACHE_SIZE ); in create()
458 rows_hdr_size = sample_count*sizeof(rows[0]); in create()
476 int i1 = i < sample_count ? i : i - sample_count; in get_row_base()
506 kernel->calc( sample_count, var_count, samples, samples[i1], row->data ); in get_row_base()
521 int j, len = sample_count; in get_row_svc()
522 assert( _y && i < sample_count ); in get_row_svc()
547 int j, len = sample_count; in get_row_svr()
[all …]
Dml_inner_functions.cpp641 int sample_count = sample_all; in cvPreprocessOrderedResponses() local
649 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessOrderedResponses()
670 if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) in cvPreprocessOrderedResponses()
673 sample_count = sample_idx->rows + sample_idx->cols - 1; in cvPreprocessOrderedResponses()
676 CV_CALL( out_responses = cvCreateMat( 1, sample_count, CV_32FC1 )); in cvPreprocessOrderedResponses()
682 for( i = 0; i < sample_count; i++ ) in cvPreprocessOrderedResponses()
692 for( i = 0; i < sample_count; i++ ) in cvPreprocessOrderedResponses()
731 int sample_count = sample_all; in cvPreprocessCategoricalResponses() local
739 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessCategoricalResponses()
754 if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) in cvPreprocessCategoricalResponses()
[all …]
Dmltree.cpp173 sample_count = data->sample_count; in CV_IMPLEMENT_QSORT_EX()
180 data_root = new_node( 0, sample_count, 0, 0 ); in CV_IMPLEMENT_QSORT_EX()
208 sample_count = sample_all; in CV_IMPLEMENT_QSORT_EX()
215 sample_count = sample_idx->rows + sample_idx->cols - 1; in CV_IMPLEMENT_QSORT_EX()
261 buf_size = (ord_var_count + get_work_var_count())*sample_count + 2; in CV_IMPLEMENT_QSORT_EX()
273 (MAX(0,sample_count - 33)/32)*sizeof(int),sizeof(void*)); in CV_IMPLEMENT_QSORT_EX()
286 if( sample_count < cv_n*MAX(params.min_sample_count,10) ) in CV_IMPLEMENT_QSORT_EX()
300 CV_CALL( data_root = new_node( 0, sample_count, 0, 0 )); in CV_IMPLEMENT_QSORT_EX()
301 CV_CALL( int_ptr = (int**)cvAlloc( sample_count*sizeof(int_ptr[0]) )); in CV_IMPLEMENT_QSORT_EX()
345 for( i = 0; i < sample_count; i++ ) in CV_IMPLEMENT_QSORT_EX()
[all …]
Dmlboost.cpp172 int i, count = node->sample_count; in try_split_node()
186 int i, n = node->sample_count, vi = node->split->var_idx; in calc_node_dir()
250 int n = node->sample_count; in find_split_ord_class()
337 int n = node->sample_count; in CV_IMPLEMENT_QSORT_EX()
446 int n = node->sample_count; in find_split_ord_reg()
495 int n = node->sample_count; in find_split_cat_reg()
642 int n = node->sample_count; in find_surrogate_split_cat()
701 int i, count = node->sample_count; in calc_node_value()
976 int i, count = data->sample_count; in update_weights()
1222 int i, count = data->sample_count, nz_count = 0; in CV_IMPLEMENT_QSORT_EX()
/external/tremolo/Tremolo/
Ddsp.c61 v->sample_count=-1; in vorbis_dsp_restart()
264 vd->sample_count=-1; in vorbis_dsp_synthesis()
270 if(vd->sample_count==-1){ in vorbis_dsp_synthesis()
271 vd->sample_count=0; in vorbis_dsp_synthesis()
273 vd->sample_count+= in vorbis_dsp_synthesis()
284 if(vd->sample_count>vd->granulepos){ in vorbis_dsp_synthesis()
294 vd->out_end-=(int)(vd->sample_count-vd->granulepos); in vorbis_dsp_synthesis()
297 vd->out_begin+=(int)(vd->sample_count-vd->granulepos); in vorbis_dsp_synthesis()
/external/webrtc/webrtc/base/
Dratetracker.cc108 void RateTracker::AddSamples(size_t sample_count) { in AddSamples() argument
125 sample_buckets_[current_bucket_] += sample_count; in AddSamples()
126 total_sample_count_ += sample_count; in AddSamples()
Dratetracker.h48 void AddSamples(size_t sample_count);
/external/autotest/client/site_tests/hardware_PerfCounterVerification/
Dperf_lbr_verification.py135 sample_count = 1 # assume program prolog takes one sample
144 sample_count += all_branches / count
145 sample_count += 1 # due to alignment
146 return sample_count
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c56 uint32_t sample_count; /* samples */ member
70 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
76 if (BN_data->arrival_time < BN_data->sample_count) in get_arrival_time()
77 BN_data->arrival_time = BN_data->sample_count; in get_arrival_time()
278 BN_data.sample_count = 0; in main()
Dkenny.cc48 uint32_t sample_count; /* samples */ member
63 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
69 if (BN_data->arrival_time < BN_data->sample_count) in get_arrival_time()
70 BN_data->arrival_time = BN_data->sample_count; in get_arrival_time()
486 BN_data.sample_count = 0; in main()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/util/
Dutility.c154 BN_data->sample_count = BN_data->sample_count + current_framesamples; in get_arrival_time()
Dutility.h96 unsigned int sample_count; /* samples, also used as "send time stamp" */ member
/external/libchrome/base/metrics/
Dhistogram.cc413 Count sample_count = snapshot->TotalCount(); in WriteAsciiImpl() local
415 WriteAsciiHeader(*snapshot, sample_count, output); in WriteAsciiImpl()
442 int64_t remaining = sample_count; in WriteAsciiImpl()
471 DCHECK_EQ(sample_count, past); in WriteAsciiImpl()
485 Count sample_count, in WriteAsciiHeader() argument
490 sample_count); in WriteAsciiHeader()
491 if (0 == sample_count) { in WriteAsciiHeader()
494 double average = static_cast<float>(samples.sum()) / sample_count; in WriteAsciiHeader()
/external/libvorbis/lib/
Dblock.c702 ((private_state *)(v->backend_state))->sample_count=-1; in vorbis_synthesis_restart()
737 b->sample_count=-1; in vorbis_synthesis_blockin()
847 if(b->sample_count==-1){ in vorbis_synthesis_blockin()
848 b->sample_count=0; in vorbis_synthesis_blockin()
850 b->sample_count+=ci->blocksizes[v->lW]/4+ci->blocksizes[v->W]/4; in vorbis_synthesis_blockin()
859 if(b->sample_count>v->granulepos){ in vorbis_synthesis_blockin()
869 v->pcm_current-=(b->sample_count-v->granulepos)>>hs; in vorbis_synthesis_blockin()
872 v->pcm_returned+=(b->sample_count-v->granulepos)>>hs; in vorbis_synthesis_blockin()
/external/opencv/cxcore/src/
Dcxutils.cpp61 int i, j, k, sample_count, dims; in cvKMeans2() local
86 sample_count = samples->rows; in cvKMeans2()
88 if( cluster_count > sample_count ) in cvKMeans2()
89 cluster_count = sample_count; in cvKMeans2()
99 for( i = 0; i < sample_count; i++ ) in cvKMeans2()
111 for( i = 0; i < sample_count; i++ ) in cvKMeans2()
149 i = cvRandInt( &rng ) % sample_count; in cvKMeans2()
170 for( i = 0; i < sample_count; i++ ) in cvKMeans2()
215 for( i = 0; i < sample_count; i++ ) in cvKMeans2()
223 i = cvRandInt(&rng) % sample_count; in cvKMeans2()
/external/mesa3d/src/gallium/drivers/i915/
Di915_screen.h72 unsigned sample_count,
Di915_screen.c289 unsigned sample_count, in i915_is_format_supported() argument
341 if (sample_count > 1) in i915_is_format_supported()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_screen.c267 unsigned sample_count, in softpipe_is_format_supported() argument
286 if (sample_count > 1) in softpipe_is_format_supported()
/external/mesa3d/src/gallium/drivers/trace/
Dtr_screen.c160 unsigned sample_count, in trace_screen_is_format_supported() argument
172 trace_dump_arg(uint, sample_count); in trace_screen_is_format_supported()
175 result = screen->is_format_supported(screen, format, target, sample_count, in trace_screen_is_format_supported()
/external/mesa3d/src/gallium/drivers/identity/
Did_screen.c105 unsigned sample_count, in identity_screen_is_format_supported() argument
114 sample_count, in identity_screen_is_format_supported()
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_screen.c108 unsigned sample_count, in rbug_screen_is_format_supported() argument
117 sample_count, in rbug_screen_is_format_supported()

123