Lines Matching refs:_samples
103 CvVectors* _samples;
131 CV_CALL( _samples = (CvVectors*)cvAlloc( sizeof(*_samples) + _rsize ));
132 _samples->next = samples;
133 _samples->type = CV_32F;
134 _samples->data.fl = _data;
135 _samples->count = _count;
138 samples = _samples;
139 memcpy( _samples + 1, responses->data.fl, _rsize );
150 void CvKNearest::find_neighbors_direct( const CvMat* _samples, int k, int start, int end,
166 const float* u = (float*)(_samples->data.ptr + _samples->step*(start + i));
305 float CvKNearest::find_nearest( const CvMat* _samples, int k, CvMat* _results,
322 if( !CV_IS_MAT(_samples) ||
323 CV_MAT_TYPE(_samples->type) != CV_32FC1 ||
324 _samples->cols != var_count )
329 _results->cols + _results->rows - 1 != _samples->rows) )
344 _neighbor_responses->rows != _samples->rows || _neighbor_responses->cols != k )
352 _dist->rows != _samples->rows || _dist->cols != k )
357 count = _samples->rows;
383 find_neighbors_direct( _samples, k, i, i + blk_count,