Home
last modified time | relevance | path

Searched refs:protoData (Results 1 – 4 of 4) sorted by relevance

/TwlSDK-5.5/build/libraries/prc/common/src/
Dprc_algo_standard.c145 const PRCiPatternData_Common *protoData; in PRC_GetRecognizedEntriesEx_Standard() local
153 protoData = &proto->data; in PRC_GetRecognizedEntriesEx_Standard()
155 if (inputData->strokeCount != protoData->strokeCount) in PRC_GetRecognizedEntriesEx_Standard()
179 protoStrokeIndex = protoData->strokes[iStroke]; in PRC_GetRecognizedEntriesEx_Standard()
181 protoSize = protoData->strokeSizes[iStroke]; in PRC_GetRecognizedEntriesEx_Standard()
183 protoPoints = &protoData->pointArray[protoStrokeIndex]; in PRC_GetRecognizedEntriesEx_Standard()
185 protoAngle = &protoData->lineSegmentAngleArray[protoStrokeIndex]; in PRC_GetRecognizedEntriesEx_Standard()
187 protoRatio = &protoData->lineSegmentRatioToStrokeArray[protoStrokeIndex]; in PRC_GetRecognizedEntriesEx_Standard()
247 strokeRatio = protoData->strokeRatios[iStroke]; in PRC_GetRecognizedEntriesEx_Standard()
Dprc_algo_light.c124 const PRCiPatternData_Common *protoData; in PRC_GetRecognizedEntriesEx_Light() local
132 protoData = &proto->data; in PRC_GetRecognizedEntriesEx_Light()
134 if (inputData->strokeCount != protoData->strokeCount) in PRC_GetRecognizedEntriesEx_Light()
182 protoStrokeIndex = protoData->strokes[iStroke]; in PRC_GetRecognizedEntriesEx_Light()
184 protoSize = protoData->strokeSizes[iStroke]; in PRC_GetRecognizedEntriesEx_Light()
186 protoAngle = &protoData->lineSegmentAngleArray[protoStrokeIndex]; in PRC_GetRecognizedEntriesEx_Light()
188 protoRatio = &protoData->lineSegmentRatioToStrokeArray[protoStrokeIndex]; in PRC_GetRecognizedEntriesEx_Light()
191 …strokeRatio = protoData->strokeRatios[iStroke]; // If here do inputData->, then the relative weigh… in PRC_GetRecognizedEntriesEx_Light()
Dprc_algo_fine.c31 const PRCiPatternData_Common *protoData,
156 const PRCiPatternData_Common *protoData; in PRC_GetRecognizedEntriesEx_Fine() local
163 protoData = &proto->data; in PRC_GetRecognizedEntriesEx_Fine()
165 if (inputData->strokeCount != protoData->strokeCount) in PRC_GetRecognizedEntriesEx_Fine()
178 PRCi_CalcStrokeDistance_Fine(&score, &weight, inputData, protoData, normalizeSize, in PRC_GetRecognizedEntriesEx_Fine()
248 const PRCiPatternData_Common *protoData, in PRCi_CalcStrokeDistance_Fine() argument
280 if (maxPointCount < protoData->pointCount) in PRCi_CalcStrokeDistance_Fine()
281 maxPointCount = protoData->pointCount; in PRCi_CalcStrokeDistance_Fine()
291 tmp = protoData->wholeBoundingBox.x2 - protoData->wholeBoundingBox.x1; in PRCi_CalcStrokeDistance_Fine()
294 tmp = protoData->wholeBoundingBox.y2 - protoData->wholeBoundingBox.y1; in PRCi_CalcStrokeDistance_Fine()
[all …]
Dprc_algo_superfine.c31 const PRCiPatternData_Common *protoData,
162 const PRCiPatternData_Common *protoData; in PRC_GetRecognizedEntriesEx_Superfine() local
169 protoData = &proto->data; in PRC_GetRecognizedEntriesEx_Superfine()
171 if (inputData->strokeCount != protoData->strokeCount) in PRC_GetRecognizedEntriesEx_Superfine()
184 PRCi_CalcStrokeDistance_Superfine(&score, &weight, inputData, protoData, in PRC_GetRecognizedEntriesEx_Superfine()
277 const PRCiPatternData_Common *protoData, in PRCi_CalcStrokeDistance_Superfine() argument
317 if (maxPointCount < protoData->pointCount) in PRCi_CalcStrokeDistance_Superfine()
318 maxPointCount = protoData->pointCount; in PRCi_CalcStrokeDistance_Superfine()
328 tmp = protoData->wholeBoundingBox.x2 - protoData->wholeBoundingBox.x1; in PRCi_CalcStrokeDistance_Superfine()
331 tmp = protoData->wholeBoundingBox.y2 - protoData->wholeBoundingBox.y1; in PRCi_CalcStrokeDistance_Superfine()
[all …]