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

/external/chromium_org/content/browser/media/capture/
H A Dvideo_capture_oracle.cc317 int64 votes = 0; local
321 if (votes == 0) {
323 votes = candidate->size().GetArea();
325 votes += i->damage_rect.size().GetArea();
327 votes -= i->damage_rect.size().GetArea();
328 if (votes < 0) {
330 votes = -votes;
334 return (votes > 0) ? *candidate : gfx::Rect();
/external/opencv/ml/src/
H A Dmlrtrees.cpp410 CvMat votes; local
412 cvGetRow(oob_sample_votes, &votes, i);
413 votes.data.i[predicted_node->class_idx]++;
416 cvMinMaxLoc( &votes, 0, 0, 0, &max_loc );
457 // predict "permuted" cases and calculate the number of votes for the
547 int* votes = (int*)alloca( sizeof(int)*nclasses ); local
548 memset( votes, 0, sizeof(*votes)*nclasses );
556 nvotes = ++votes[class_idx];

Completed in 756 milliseconds