mw::mgr::MGRcgGetWorkSize
Function#include <mw/mgr/mgr.h> s32 MGRcgGetWorkSize( MGConfig *mgConfig, u32 *workSize );
Name | Description | |
---|---|---|
in | mgConfig | Specifies the image size, rectangular region targeted for processing, recognition movement mode, difference sensitivity between frames, and speed sensitivity parameters. |
out | workSize | The working memory size is specified in bytes. |
Value | Description |
---|---|
PSERR_TRUE |
Successful end |
PSERR_ARGU |
Argument error. |
PSERR_IMAG |
Abnormal image. |
PSERR_PROC |
Processing is impossible. |
Gets the required working memory size.
When an appropriate value is set in mgConfig and the MGRcgGetWorkSize
function is called, the required working memory size is set in workSize, in bytes.
Allocate a working memory region of the size set in workSize on the application side, and set the MGRcgProcessInit
function for initialization.
CONFIDENTIAL