Home | History | Annotate | Download | only in libmedia

Lines Matching defs:confidence

112             // since 'buf' is empty, ICU would return a UTF-8 matcher with low confidence, so
129 // the ISO detector reports a confidence of 0, while the GB18030 detector reports
130 // a confidence of 10 with no invalid characters)
197 ALOGV("@@@@ recognized charset: %s for %s confidence %d",
273 * - recalculate the starting confidence level for multibyte encodings using a different
277 * - signal to the caller whether this match is considered good: confidence > 15, and confidence
292 int confidence = ucsdet_getConfidence(ucma[i], &status);
293 ALOGV("%zu: %s %d", i, encname, confidence);
302 int confidence = ucsdet_getConfidence(matches[0], &status);
303 if (confidence > 15) {
319 int confidence = ucsdet_getConfidence(matches[i], &status);
337 ALOGV("%zu: %s %d", i, encname, confidence);
343 confidence = 0;
394 ALOGV("ICU confidence: %d, my confidence: %d (%d %d)", confidence, myconfidence,
398 confidence = myconfidence;
400 ALOGV("%d-%d=%d", confidence, demerit, confidence - demerit);
401 newconfidence.push_back(confidence - demerit);
403 if (i == 0 && (confidence - demerit) == 100) {
409 // find match with highest confidence after adjusting for unlikely characters
427 ALOGV("selecting: '%s' w/ %d confidence",
435 ALOGV("runner up: '%s' w/ %d confidence",