/external/webrtc/tools/cpu/ |
cpu_mon.py | 24 def Capture(self, sample_count): 26 ((sample_count - len(self.samples)), self.label)) 27 while len(self.samples) < sample_count: 40 def GrabCpuSamples(sample_count): 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) [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_msaa.c | 41 unsigned sample_count = 1; local 46 sample_count = framebuffer->zsbuf->texture->nr_samples; 48 sample_count = framebuffer->cbufs[0]->texture->nr_samples; 50 if (st->ctx->Multisample.Enabled && sample_count > 1) { 54 nr_bits = st->ctx->Multisample.SampleCoverageValue * (float)sample_count;
|
st_format.h | 53 enum pipe_texture_target target, unsigned sample_count, 58 GLenum internalFormat, unsigned sample_count);
|
/device/google/dragon/audio/hal/ |
cras_dsp_module.h | 51 * sample_count - The number of samples to be processed. 53 void (*run)(struct dsp_module *mod, unsigned long sample_count);
|
cras_dsp_mod_builtin.c | 30 static void empty_run(struct dsp_module *module, unsigned long sample_count) {} 71 unsigned long sample_count) 76 for (i = 0; i < sample_count; i++) { 117 unsigned long sample_count) 123 for (i = 0; i < sample_count; i++) { 174 static void eq_run(struct dsp_module *module, unsigned long sample_count) 195 sizeof(float) * sample_count); 196 eq_process(data->eq, data->ports[1], (int) sample_count); 246 static void eq2_run(struct dsp_module *module, unsigned long sample_count) 272 sizeof(float) * sample_count); [all...] |
cras_dsp_pipeline.h | 110 /* Processes a block of audio samples. sample_count should be no more 112 void cras_dsp_pipeline_run(struct pipeline *pipeline, int sample_count);
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_screen.h | 72 unsigned sample_count,
|
/external/opencv3/apps/traincascade/ |
boost.cpp | 357 CV_Assert( (isubsample_idx = cvPreprocessIndexArray( _subsample_idx, sample_count )) != 0 ); 359 if( isubsample_idx->cols + isubsample_idx->rows - 1 == sample_count ) 362 for( int i = 0; i < sample_count; i++ ) 403 CV_Assert( (subsample_co = cvCreateMat( 1, sample_count*2, CV_32SC1 )) != 0); 408 for( int i = 0; i < sample_count; i++ ) 419 cv::AutoBuffer<uchar> inn_buf(sample_count*(2*sizeof(int) + sizeof(float))); 427 float *src_val_buf = (float*)(src_idx_buf + sample_count); 428 int* sample_indices_buf = (int*)(src_val_buf + sample_count); 435 CV_Assert( num_valid == sample_count ); 440 (size_t)vi*sample_count + data_root->offset) 876 int sample_count; member in struct:FeatureIdxOnlyPrecalc 913 int sample_count; member in struct:FeatureValAndIdxPrecalc 935 int sample_count; member in struct:FeatureValOnlyPrecalc [all...] |
old_ml_tree.cpp | 201 sample_count = data->sample_count; 208 data_root = new_node( 0, sample_count, 0, 0 ); 241 sample_count = sample_all; 248 sample_count = sample_indices->rows + sample_indices->cols - 1; 259 if ( sample_count < 65536 ) 309 effective_buf_size = (uint64)(work_var_count + 1)*(uint64)sample_count * buf_count; // this is the total size of "CvMat buf" to be allocated 310 effective_buf_width = sample_count; 328 CV_CALL( pair16u32s_ptr = (CvPair16u32s*)cvAlloc( sample_count*sizeof(pair16u32s_ptr[0]) )); 333 CV_CALL( int_ptr = (int**)cvAlloc( sample_count*sizeof(int_ptr[0]) )) 3329 int sample_count = sample_idx ? sample_idx->cols : 0; local [all...] |
old_ml_inner_functions.cpp | 571 int sample_count = sample_all; local 579 if( responses->rows + responses->cols - 1 != sample_count ) 600 if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) 603 sample_count = sample_idx->rows + sample_idx->cols - 1; 606 CV_CALL( out_responses = cvCreateMat( 1, sample_count, CV_32FC1 )); 612 for( i = 0; i < sample_count; i++ ) 622 for( i = 0; i < sample_count; i++ ) 661 int sample_count = sample_all; local 669 if( responses->rows + responses->cols - 1 != sample_count ) 684 if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) 780 int i, j, var_count, sample_count, s_step, v_step; local 901 int sample_all = 0, sample_count = 0, var_all = 0, var_count = 0; local 1036 int i, k = 0, sample_count; local [all...] |
/bionic/libc/dns/resolv/ |
res_stats.c | 52 stats->sample_count = stats->sample_next = 0; 67 for (int i = 0 ; i < stats->sample_count ; ++i) { 108 if (stats->sample_count > 0) { 112 last = stats->samples[stats->sample_count - 1].at;
|
/external/webrtc/webrtc/base/ |
ratetracker.h | 47 // these samples, and increments the count for that bucket by sample_count. 48 void AddSamples(size_t sample_count);
|
ratetracker.cc | 108 void RateTracker::AddSamples(size_t sample_count) { 125 sample_buckets_[current_bucket_] += sample_count; 126 total_sample_count_ += sample_count;
|
/external/tremolo/Tremolo/ |
dsp.c | 61 v->sample_count=-1; 264 vd->sample_count=-1; 270 if(vd->sample_count==-1){ 271 vd->sample_count=0; 273 vd->sample_count+= 284 if(vd->sample_count>vd->granulepos){ 294 vd->out_end-=(int)(vd->sample_count-vd->granulepos); 297 vd->out_begin+=(int)(vd->sample_count-vd->granulepos);
|
/external/opencv/ml/src/ |
mlsvm.cpp | 413 sample_count = _sample_count; 431 buf[i] = (Qfloat*)cvMemStorageAlloc( storage, sample_count*2*sizeof(buf[i][0]) ); 452 cache_line_size = sample_count*sizeof(Qfloat); 455 cache_size = MAX( cache_line_size*sample_count/4, CV_SVM_MIN_CACHE_SIZE ); 458 rows_hdr_size = sample_count*sizeof(rows[0]); 476 int i1 = i < sample_count ? i : i - sample_count; 506 kernel->calc( sample_count, var_count, samples, samples[i1], row->data ); 521 int j, len = sample_count; 522 assert( _y && i < sample_count ); 1537 int svm_type, sample_count, var_count, sample_size; local 1605 int svm_type, sample_count, var_count, sample_size; local [all...] |
ml_inner_functions.cpp | 641 int sample_count = sample_all; local 649 if( responses->rows + responses->cols - 1 != sample_count ) 670 if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) 673 sample_count = sample_idx->rows + sample_idx->cols - 1; 676 CV_CALL( out_responses = cvCreateMat( 1, sample_count, CV_32FC1 )); 682 for( i = 0; i < sample_count; i++ ) 692 for( i = 0; i < sample_count; i++ ) 731 int sample_count = sample_all; local 739 if( responses->rows + responses->cols - 1 != sample_count ) 754 if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) 850 int i, j, var_count, sample_count, s_step, v_step; local 971 int sample_all = 0, sample_count = 0, var_all = 0, var_count = 0; local 1106 int i, k = 0, sample_count; local [all...] |
/external/opencv3/modules/ml/src/ |
svm.cpp | 487 sample_count = samples.rows; 503 buf[0].resize(sample_count*2); 504 buf[1].resize(sample_count*2); 516 int64 csize = (int64)sample_count*sample_count/4; 519 max_cache_size = (int)((csize + sample_count-1)/sample_count); 520 max_cache_size = std::min(std::max(max_cache_size, 1), sample_count); 524 lru_cache.resize(sample_count+1, KernelRow(-1, 0, 0)); 526 lru_cache_data.create(max_cache_size, sample_count, QFLOAT_TYPE) 1013 int sample_count = _samples.rows; local 1039 int sample_count = _samples.rows; local 1090 int sample_count = _samples.rows; local [all...] |
/system/extras/simpleperf/ |
sample_tree.h | 46 uint64_t sample_count; member in struct:SampleEntry 55 uint64_t sample_count, const ThreadEntry* thread, const MapEntry* map, 61 sample_count(sample_count),
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/util/ |
utility.c | 154 BN_data->sample_count = BN_data->sample_count + current_framesamples; 174 // if (BN_data->arrival_time < BN_data->sample_count) 175 // BN_data->arrival_time = BN_data->sample_count;
|
utility.h | 96 unsigned int sample_count; /* samples, also used as "send time stamp" */ member in struct:__anon26476
|
/bionic/libc/dns/include/ |
resolv_stats.h | 41 // Stats of the last <sample_count> queries. 44 uint8_t sample_count; member in struct:__res_stats
|
/development/ndk/platforms/android-3/include/linux/ |
msm_audio.h | 48 uint32_t sample_count; member in struct:msm_audio_stats
|
/external/autotest/client/site_tests/hardware_PerfCounterVerification/ |
perf_lbr_verification.py | 135 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/mesa3d/src/gallium/include/pipe/ |
p_screen.h | 129 unsigned sample_count,
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
msm_audio.h | 48 uint32_t sample_count; member in struct:msm_audio_stats
|