Searched defs:row_sample (Results 1 - 2 of 2) sorted by relevance

/external/opencv/ml/src/
H A Dml_inner_functions.cpp1153 float* row_sample = 0; local
1187 CV_ERROR( CV_StsNullPtr, "INTERNAL ERROR: The row_sample pointer is NULL" );
1212 vec_size = !as_sparse ? dims_selected*sizeof(row_sample[0]) :
1218 sample_step = sample->step / sizeof(row_sample[0]);
1224 CV_CALL( row_sample = (float*)cvAlloc( vec_size ));
1228 row_sample[i] = sample_data[sample_step*i];
1234 row_sample[i] = sample_data[comp[i]];
1237 row_sample[i] = sample_data[sample_step*comp[i]];
1240 *_row_sample = row_sample;
1245 const float* src = (const float*)row_sample;
[all...]
H A Dmlsvm.cpp1881 float* row_sample = 0; local
1898 class_count, 0, &row_sample ));
1919 kernel->calc( sv_count, var_count, (const float**)sv, row_sample, buffer );
1933 kernel->calc( sv_total, var_count, (const float**)sv, row_sample, buffer );
1962 if( sample && (!CV_IS_MAT(sample) || sample->data.fl != row_sample) )
1963 cvFree( &row_sample );

Completed in 113 milliseconds