Function: set_aipp_input_format

C Prototype

aclError aclmdlSetAIPPInputFormat(aclmdlAIPP *aippParmsSet, aclAippInputFormat inputFormat)

Python Function

ret = acl.mdl.set_aipp_input_format(aipp_parms_set, input_format)

Function Usage

Sets the original input image format, required in the dynamic AIPP scenario.

Input Description

aipp_parms_set: int, pointer address of the dynamic AIPP configuration object. The aclmdlAIPP data must be created by the acl.mdl.create_aipp call in advance.

input_format: int, format of the original input image. See aclAippInputFormat.

Return Value

ret: int, error code.

Restrictions

None