Searched refs:proto (Results 1 – 4 of 4) sorted by relevance
| /TwlSDK-5.1.0/build/libraries/prc/common/src/ |
| D | prc_algo_light.c | 113 const PRCiPrototypeEntry_Common *proto; in PRC_GetRecognizedEntriesEx_Light() local 120 proto = protoDB->patterns; in PRC_GetRecognizedEntriesEx_Light() 122 for (iPattern = 0; iPattern < protoDB->patternCount; iPattern++, proto++) in PRC_GetRecognizedEntriesEx_Light() 129 if (!proto->entry->enabled || !(proto->entry->kind & kindMask)) in PRC_GetRecognizedEntriesEx_Light() 132 protoData = &proto->data; in PRC_GetRecognizedEntriesEx_Light() 141 if (proto->entry->correction != 0) in PRC_GetRecognizedEntriesEx_Light() 145 if (proto->entry->correction < -FX32_ONE) in PRC_GetRecognizedEntriesEx_Light() 149 else if (proto->entry->correction < 0) in PRC_GetRecognizedEntriesEx_Light() 152 patternBorder = FX_Mul(patternBorder, FX32_ONE + proto->entry->correction / 2); in PRC_GetRecognizedEntriesEx_Light() 154 else if (proto->entry->correction < FX32_ONE / 2) in PRC_GetRecognizedEntriesEx_Light() [all …]
|
| D | prc_algo_standard.c | 138 const PRCiPrototypeEntry_Common *proto; in PRC_GetRecognizedEntriesEx_Standard() local 141 proto = protoDB->patterns; in PRC_GetRecognizedEntriesEx_Standard() 143 for (iPattern = 0; iPattern < protoDB->patternCount; iPattern++, proto++) in PRC_GetRecognizedEntriesEx_Standard() 150 if (!proto->entry->enabled || !(proto->entry->kind & kindMask)) in PRC_GetRecognizedEntriesEx_Standard() 153 protoData = &proto->data; in PRC_GetRecognizedEntriesEx_Standard() 260 if (proto->entry->correction != 0) in PRC_GetRecognizedEntriesEx_Standard() 262 wholeScore = FX_Mul(wholeScore, FX32_ONE - proto->entry->correction) in PRC_GetRecognizedEntriesEx_Standard() 263 + proto->entry->correction; in PRC_GetRecognizedEntriesEx_Standard() 275 resultEntries[numRanking - 1] = (PRCPrototypeEntry *)proto->entry; in PRC_GetRecognizedEntriesEx_Standard()
|
| D | prc_algo_fine.c | 149 const PRCiPrototypeEntry_Common *proto; in PRC_GetRecognizedEntriesEx_Fine() local 152 proto = protoDB->patterns; in PRC_GetRecognizedEntriesEx_Fine() 154 for (iPattern = 0; iPattern < protoDB->patternCount; iPattern++, proto++) in PRC_GetRecognizedEntriesEx_Fine() 160 if (!proto->entry->enabled || !(proto->entry->kind & kindMask)) in PRC_GetRecognizedEntriesEx_Fine() 163 protoData = &proto->data; in PRC_GetRecognizedEntriesEx_Fine() 193 if (proto->entry->correction != 0) in PRC_GetRecognizedEntriesEx_Fine() 195 wholeScore = FX_Mul(wholeScore, FX32_ONE - proto->entry->correction) in PRC_GetRecognizedEntriesEx_Fine() 196 + proto->entry->correction; in PRC_GetRecognizedEntriesEx_Fine() 202 resultEntries[numRanking - 1] = (PRCPrototypeEntry *)proto->entry; in PRC_GetRecognizedEntriesEx_Fine() 242 #define PRCi_ANGLE_SCORE(input, proto) ((32768-PRCi_ABS((s16)(protoAngles[(proto)]-inputAngles[(inp… argument
|
| D | prc_algo_superfine.c | 155 const PRCiPrototypeEntry_Common *proto; in PRC_GetRecognizedEntriesEx_Superfine() local 158 proto = protoDB->patterns; in PRC_GetRecognizedEntriesEx_Superfine() 160 for (iPattern = 0; iPattern < protoDB->patternCount; iPattern++, proto++) in PRC_GetRecognizedEntriesEx_Superfine() 166 if (!proto->entry->enabled || !(proto->entry->kind & kindMask)) in PRC_GetRecognizedEntriesEx_Superfine() 169 protoData = &proto->data; in PRC_GetRecognizedEntriesEx_Superfine() 198 if (proto->entry->correction != 0) in PRC_GetRecognizedEntriesEx_Superfine() 200 wholeScore = FX_Mul(wholeScore, FX32_ONE - proto->entry->correction) in PRC_GetRecognizedEntriesEx_Superfine() 201 + proto->entry->correction; in PRC_GetRecognizedEntriesEx_Superfine() 207 resultEntries[numRanking - 1] = (PRCPrototypeEntry *)proto->entry; in PRC_GetRecognizedEntriesEx_Superfine() 271 #define PRCi_ANGLE_SCORE(input, proto) ((FX_CosIdx((u16)(protoAngles[(proto)]-inputAngles[(input)])… argument
|