#include <mw/hgr/hgr.h> s32 HGRcgGetWorkSize( HGConfig *hgConfig, u32 *workSize );
Name | Description | |
---|---|---|
in | hgConfig | Specifies the image size, rectangular region targeted for processing, recognition movement mode, and speed sensitivity parameters. |
out | workSize | The working memory size is specified in bytes. |
Value | Description |
---|---|
PSERR_TRUE | Success. |
PSERR_ARGU | Argument error. |
PSERR_IMAG | Abnormal image. |
PSERR_PROC | Processing is impossible. |
Gets the required working memory size.
If you set an appropriate value for hgConfig
and call the HGRcgGetWorkSize
function, the required working memory size will always be set in bytes in workSize
.
Allocate the working memory area set in workSize
to the application, and set it in the HGRcgProcessInit
initialization function.
CONFIDENTIAL