mw::mgr::MGRcgGetWorkSize Function

Syntax

#include <mw/mgr/mgr.h>

s32 MGRcgGetWorkSize(
     MGConfig *mgConfig,
     u32      *workSize
);

Arguments

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.

Return Values

Value Description
PSERR_TRUE Successful end
PSERR_ARGU Argument error.
PSERR_IMAG Abnormal image.
PSERR_PROC Processing is impossible.

Description

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.

Revision History

2010/06/30
Initial version.

CONFIDENTIAL