

#include <nitro/prc.h>
u32 PRC_GetRecognitionBufferSize(
int maxPointCount,
int maxStrokeCount,
const PRCPrototypeDB* protoDB );
u32 PRC_GetRecognitionBufferSizeEx(
int maxPointCount,
int maxStrokeCount,
const PRCPrototypeDB* protoDB,
const PRCRecognizeParam* param );
| maxPointCount | Maximum point count after processing. |
| maxStrokeCount | Maximum stroke count after processing. |
| protoDB | Sample DB. |
| param | Other parameter values that are dependent on the recognition algorithm (use NULL as the default). |
Returns the work area memory size required to run the recognition algorithm.
Before calling a PRC_GetRecognizedEntry* function, allocate at least as much memory as the size given by this return value.
The maxPointCount and maxStrokeCount arguments provide maximum numbers of points and strokes respectively. These are assumed in the recognition target PRCInputPattern.
PRC_GetRecognitionBufferSize is equivalent to calling PRC_GetRecognitionBufferSizeEx with param set to NULL.
2004/11/02 Corrected mistakes.
2004/06/25 Initial version.
CONFIDENTIAL