Home
last modified time | relevance | path

Searched refs:score (Results 1 – 8 of 8) sorted by relevance

/TwlSDK-5.1.0/build/libraries/prc/common/src/
Dprc_algo_light.c175 fx32 score; in PRC_GetRecognizedEntriesEx_Light() local
180 score = 0; in PRC_GetRecognizedEntriesEx_Light()
230 score += protoNextRatio * diff; in PRC_GetRecognizedEntriesEx_Light()
237 score += inputNextRatio * diff; in PRC_GetRecognizedEntriesEx_Light()
243 if (score > localBorder) in PRC_GetRecognizedEntriesEx_Light()
251 wholeScore += FX_Mul(score, strokeRatio); in PRC_GetRecognizedEntriesEx_Light()
291 fx32 score; in PRC_GetRecognizedEntriesEx_Light() local
297 score = resultScores[iRank]; in PRC_GetRecognizedEntriesEx_Light()
298 score = FX32_ONE - (score / 32768); in PRC_GetRecognizedEntriesEx_Light()
299 if (score < 0) in PRC_GetRecognizedEntriesEx_Light()
[all …]
Dprc_algo_standard.c200 int diff, score; in PRC_GetRecognizedEntriesEx_Standard() local
208 score = ((32768 - diff) / 128); in PRC_GetRecognizedEntriesEx_Standard()
214score *= (inputNextRatio < inputRatio[iInput] / 2) // Remainder of less than half = Next poin… in PRC_GetRecognizedEntriesEx_Standard()
222 strokeScore += protoNextRatio * score; in PRC_GetRecognizedEntriesEx_Standard()
232score *= (protoNextRatio < protoRatio[iProto] / 2) // Remainder of less than half = Next poin… in PRC_GetRecognizedEntriesEx_Standard()
240 strokeScore += inputNextRatio * score; in PRC_GetRecognizedEntriesEx_Standard()
Dprc_algo_fine.c28 PRCi_CalcStrokeDistance_Fine(fx32 *score,
174 fx32 score, weight; in PRC_GetRecognizedEntriesEx_Fine() local
176 score = 0; in PRC_GetRecognizedEntriesEx_Fine()
178 PRCi_CalcStrokeDistance_Fine(&score, &weight, inputData, protoData, normalizeSize, in PRC_GetRecognizedEntriesEx_Fine()
182 wholeScore += score; in PRC_GetRecognizedEntriesEx_Fine()
245 PRCi_CalcStrokeDistance_Fine(fx32 *score, in PRCi_CalcStrokeDistance_Fine() argument
335 *score = 0; in PRCi_CalcStrokeDistance_Fine()
635 *score = sumScore_(inputSize - 1, protoSize - 1); in PRCi_CalcStrokeDistance_Fine()
Dprc_algo_superfine.c28 PRCi_CalcStrokeDistance_Superfine(fx32 *score,
180 fx32 score, weight; in PRC_GetRecognizedEntriesEx_Superfine() local
182 score = 0; in PRC_GetRecognizedEntriesEx_Superfine()
184 PRCi_CalcStrokeDistance_Superfine(&score, &weight, inputData, protoData, in PRC_GetRecognizedEntriesEx_Superfine()
188 wholeScore += score; in PRC_GetRecognizedEntriesEx_Superfine()
274 PRCi_CalcStrokeDistance_Superfine(fx32 *score, in PRCi_CalcStrokeDistance_Superfine() argument
380 *score = 0; in PRCi_CalcStrokeDistance_Superfine()
803 *score = FX_Mul(weightedScore, ratio); in PRCi_CalcStrokeDistance_Superfine()
/TwlSDK-5.1.0/include/nitro/prc/
Dalgo_standard.h366 fx32 score; in PRC_GetRecognizedEntryEx_Standard() local
367 (void)PRC_GetRecognizedEntriesEx_Standard(resultEntry, &score, 1, buffer, input, protoDB, in PRC_GetRecognizedEntryEx_Standard()
369 return score; in PRC_GetRecognizedEntryEx_Standard()
Dalgo_fine.h369 fx32 score; in PRC_GetRecognizedEntryEx_Fine() local
370 (void)PRC_GetRecognizedEntriesEx_Fine(resultEntry, &score, 1, buffer, input, protoDB, kindMask, in PRC_GetRecognizedEntryEx_Fine()
372 return score; in PRC_GetRecognizedEntryEx_Fine()
Dalgo_superfine.h371 fx32 score; in PRC_GetRecognizedEntryEx_Superfine() local
372 (void)PRC_GetRecognizedEntriesEx_Superfine(resultEntry, &score, 1, buffer, input, protoDB, in PRC_GetRecognizedEntryEx_Superfine()
374 return score; in PRC_GetRecognizedEntryEx_Superfine()
Dalgo_light.h365 fx32 score; in PRC_GetRecognizedEntryEx_Light() local
366 (void)PRC_GetRecognizedEntriesEx_Light(resultEntry, &score, 1, buffer, input, protoDB, kindMask, in PRC_GetRecognizedEntryEx_Light()
368 return score; in PRC_GetRecognizedEntryEx_Light()