Home
last modified time | relevance | path

Searched refs:num_samples (Results 1 – 15 of 15) sorted by relevance

/external/opencv/ml/src/
Dmltestset.cpp60 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/
Dspec_anl.c50 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 …]
Dchelfep.c54 int num_samples, in make_frame() argument
72 inFramesWorth, refFramesWorth, num_samples); in make_frame()
Dca_front.c152 hWave->data.num_samples, in CA_MakeFrame()
159 hWave->data.num_samples, in CA_MakeFrame()
Dca_wave.c277 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()
Dwav_acc.c197 for (ii = 0; ii < wave->num_samples; ii++) in acc_wave_stats()
/external/opencv/cvaux/src/
Dcvhmm1d.cpp321 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 …]
Dcvhmm.cpp379 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/
Dpitch_filter.c114 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/
Dfront.h233 int num_samples,
243 int num_samples);
Dsample.h184 int num_samples; member
/external/srec/srec/EventLog/src/
Driff.c954 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()
DEventLogImpl.c592 int num_samples; in writeRiffHeader() local
597 num_samples = impl->waveform_num_bytes / impl->waveform_bytes_per_sample; in writeRiffHeader()
/external/opencv/cv/include/
Dcvcompat.h813 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/
Dml.h1552 int num_samples,