/external/opencv/ml/src/ |
D | mltestset.cpp | 60 int num_samples, in cvCreateTestSet() argument 87 if( num_samples < 1 ) in cvCreateTestSet() 105 CV_CALL( *samples = cvCreateMat( num_samples, num_features, CV_32FC1 ) ); in cvCreateTestSet() 106 CV_CALL( *responses = cvCreateMat( 1, num_samples, CV_32SC1 ) ); in cvCreateTestSet() 133 num_classes = MIN( num_samples, num_classes ); in cvCreateTestSet() 136 for( i = 0, cur_class = 0; i < num_samples; ++cur_class ) in cvCreateTestSet() 141 last_idx = num_samples * (cur_class + 1) / num_classes - 1; in cvCreateTestSet() 145 for( ; elem.d <= max_dst && i < num_samples; ++i ) in cvCreateTestSet() 148 if( i < num_samples - 1 ) in cvCreateTestSet()
|
/external/srec/srec/cfront/ |
D | spec_anl.c | 50 int num_samples, coefdata pre_mel, 58 samdata *outgo, int num_samples) in filterbank_emulation() argument 71 preemph(channel->prebuff, freqobj->window_length, income, num_samples, in filterbank_emulation() 144 int num_samples, coefdata pre_mel, in preemph() argument 156 ASSERT(num_samples >= 0); in preemph() 157 if (num_samples > window_len) in preemph() 158 num_samples = window_len; in preemph() 160 if (num_samples < window_len) in preemph() 161 MEMMOVE(data, data + num_samples, (window_len - num_samples), in preemph() 163 data += window_len - num_samples; in preemph() [all …]
|
D | chelfep.c | 54 int num_samples, in make_frame() argument 72 inFramesWorth, refFramesWorth, num_samples); in make_frame()
|
D | ca_front.c | 152 hWave->data.num_samples, in CA_MakeFrame() 159 hWave->data.num_samples, in CA_MakeFrame()
|
D | ca_wave.c | 277 hWave->data.num_samples = sampleCount; in CA_LoadSamples() 296 for (ii = 0; ii < hWave->data.num_samples; ii++) in CA_ConditionSamples() 300 for (ii = 0; ii < hWave->data.num_samples; ii++) in CA_ConditionSamples()
|
D | wav_acc.c | 197 for (ii = 0; ii < wave->num_samples; ii++) in acc_wave_stats()
|
/external/opencv/cvaux/src/ |
D | cvhmm1d.cpp | 321 int* num_samples; /* number of observations in every state */ 337 num_samples = (int*)icvAlloc( total * sizeof(int) ); 346 memset( num_samples, 0 , total*sizeof(int) ); 358 num_samples[state] += 1; 367 a_class[i] = (int*)icvAlloc( num_samples[i] * sizeof(int) ); 368 samples[i] = (CvVect32f*)icvAlloc( num_samples[i] * sizeof(CvVect32f) ); 369 samples_mix[i] = (int**)icvAlloc( num_samples[i] * sizeof(int*) ); 397 for (k = 0; k < num_samples[i]; k++) 403 else if( num_samples[i] ) 406 icvKMeans( first_state[i].num_mix, samples[i], num_samples[i], [all …]
|
D | cvhmm.cpp | 379 int* num_samples; /* number of observations in every state */ in icvInitMixSegm() local 401 num_samples = (int*)cvAlloc( total * sizeof(int) ); in icvInitMixSegm() 410 memset( num_samples, 0 , total*sizeof(int) ); in icvInitMixSegm() 425 num_samples[state] += 1; in icvInitMixSegm() 435 a_class[i] = (int*)cvAlloc( num_samples[i] * sizeof(int) ); in icvInitMixSegm() 436 samples[i] = (CvVect32f*)cvAlloc( num_samples[i] * sizeof(CvVect32f) ); in icvInitMixSegm() 437 samples_mix[i] = (int**)cvAlloc( num_samples[i] * sizeof(int*) ); in icvInitMixSegm() 465 for (k = 0; k < num_samples[i]; k++) in icvInitMixSegm() 471 else if( num_samples[i] ) in icvInitMixSegm() 474 cvKMeans( first_state[i].num_mix, samples[i], num_samples[i], in icvInitMixSegm() [all …]
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | pitch_filter.c | 114 int num_samples; member 149 for (n = 0; n < parameters->num_samples; ++n) { in FilterSegment() 312 filter_parameters.num_samples = PITCH_UPDATE; in FilterFrame() 353 filter_parameters.num_samples = QLOOKAHEAD; in FilterFrame()
|
/external/srec/srec/include/ |
D | front.h | 233 int num_samples, 243 int num_samples);
|
D | sample.h | 184 int num_samples; member
|
/external/srec/srec/EventLog/src/ |
D | riff.c | 954 int num_samples; in convertBuf2Riff() local 975 num_samples = num_bytes / bytes_per_sample; in convertBuf2Riff() 977 num_samples = num_bytes; in convertBuf2Riff() 1043 short_byte_swap((short *)(ptr + headerSize), num_samples); in convertBuf2Riff()
|
D | EventLogImpl.c | 592 int num_samples; in writeRiffHeader() local 597 num_samples = impl->waveform_num_bytes / impl->waveform_bytes_per_sample; in writeRiffHeader()
|
/external/opencv/cv/include/ |
D | cvcompat.h | 813 int num_samples, int vec_size, in cvKMeans() argument 816 CvMat* samples_mat = cvCreateMat( num_samples, vec_size, CV_32FC1 ); in cvKMeans() 817 CvMat cluster_idx_mat = cvMat( num_samples, 1, CV_32SC1, cluster_idx ); in cvKMeans() 819 for( i = 0; i < num_samples; i++ ) in cvKMeans()
|
/external/opencv/ml/include/ |
D | ml.h | 1552 int num_samples,
|