Lines Matching refs:maxPointCount
58 PRC_GetRecognitionBufferSizeEx_Superfine(int maxPointCount, in PRC_GetRecognitionBufferSizeEx_Superfine() argument
68 if (maxPointCount < protoDB->maxPointCount) in PRC_GetRecognitionBufferSizeEx_Superfine()
70 maxPointCount = protoDB->maxPointCount; in PRC_GetRecognitionBufferSizeEx_Superfine()
73 size += PRCi_ARRAY_SIZE(int, maxPointCount * maxPointCount,); in PRC_GetRecognitionBufferSizeEx_Superfine()
74 size += PRCi_ARRAY_SIZE(int, maxPointCount * maxPointCount,); in PRC_GetRecognitionBufferSizeEx_Superfine()
75 size += PRCi_ARRAY_SIZE(int, maxPointCount * maxPointCount,); in PRC_GetRecognitionBufferSizeEx_Superfine()
76 size += PRCi_ARRAY_SIZE(int, ((maxPointCount + 1) * (maxPointCount + 1)),); in PRC_GetRecognitionBufferSizeEx_Superfine()
77 size += PRCi_ARRAY_SIZE(int, maxPointCount,); in PRC_GetRecognitionBufferSizeEx_Superfine()
78 size += PRCi_ARRAY_SIZE(int, maxPointCount,); in PRC_GetRecognitionBufferSizeEx_Superfine()
79 size += PRCi_ARRAY_SIZE(int, maxPointCount,); in PRC_GetRecognitionBufferSizeEx_Superfine()
80 size += PRCi_ARRAY_SIZE(int, maxPointCount,); in PRC_GetRecognitionBufferSizeEx_Superfine()
81 size += PRCi_ARRAY_SIZE(int, maxPointCount + 2,); in PRC_GetRecognitionBufferSizeEx_Superfine()
82 size += PRCi_ARRAY_SIZE(int, maxPointCount + 2,); in PRC_GetRecognitionBufferSizeEx_Superfine()
282 #define nMatches_(x,y) (*(nMatches + (x) * maxPointCount + (y))) in PRCi_CalcStrokeDistance_Superfine()
283 #define sumScore_(x,y) (*(sumScore + (x) * maxPointCount + (y))) in PRCi_CalcStrokeDistance_Superfine()
284 #define direction_(x,y) (*(direction + (x) * maxPointCount + (y))) in PRCi_CalcStrokeDistance_Superfine()
285 #define angleScores_(x,y) (*(angleScores + (x) * (maxPointCount+1) + (y))) in PRCi_CalcStrokeDistance_Superfine()
313 int maxPointCount; in PRCi_CalcStrokeDistance_Superfine() local
316 maxPointCount = inputData->pointCount; in PRCi_CalcStrokeDistance_Superfine()
317 if (maxPointCount < protoData->pointCount) in PRCi_CalcStrokeDistance_Superfine()
318 maxPointCount = protoData->pointCount; in PRCi_CalcStrokeDistance_Superfine()
349 PRCi_ALLOC_ARRAY(nMatches, int, maxPointCount * maxPointCount, buffer, addr); in PRCi_CalcStrokeDistance_Superfine()
350 PRCi_ALLOC_ARRAY(sumScore, int, maxPointCount * maxPointCount, buffer, addr); in PRCi_CalcStrokeDistance_Superfine()
351 PRCi_ALLOC_ARRAY(direction, int, maxPointCount * maxPointCount, buffer, addr); in PRCi_CalcStrokeDistance_Superfine()
353 int, ((maxPointCount + 1) * (maxPointCount + 1)), buffer, addr); in PRCi_CalcStrokeDistance_Superfine()
354 PRCi_ALLOC_ARRAY(inputPair, int, maxPointCount, buffer, addr); in PRCi_CalcStrokeDistance_Superfine()
355 PRCi_ALLOC_ARRAY(inputMaxScore, int, maxPointCount, buffer, addr); in PRCi_CalcStrokeDistance_Superfine()
356 PRCi_ALLOC_ARRAY(protoPair, int, maxPointCount, buffer, addr); in PRCi_CalcStrokeDistance_Superfine()
357 PRCi_ALLOC_ARRAY(protoMaxScore, int, maxPointCount, buffer, addr); in PRCi_CalcStrokeDistance_Superfine()
358 PRCi_ALLOC_ARRAY(inputMatch, int, maxPointCount + 2, buffer, addr); in PRCi_CalcStrokeDistance_Superfine()
359 PRCi_ALLOC_ARRAY(protoMatch, int, maxPointCount + 2, buffer, addr); in PRCi_CalcStrokeDistance_Superfine()