aclmdlSetAIPPInputFormat

Description

Sets the input format of the source image in the dynamic AIPP scenario.

Prototype

aclError aclmdlSetAIPPInputFormat(aclmdlAIPP *aippParmsSet, aclAippInputFormat inputFormat)

Parameters

Parameter

Input/Output

Description

aippParmsSet

Output

Pointer to the dynamic AIPP parameter object.

Call aclmdlCreateAIPP in advance to create data of the aclmdlAIPP type.

inputFormat

Input

Format of the source image.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.