Function: set_aipp_input_format
Applicable Products
Product |
Supported (√/x) |
|---|---|
x |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets the original input image format, required in the dynamic AIPP scenario.
Prototype
- C Prototype
1aclError aclmdlSetAIPPInputFormat(aclmdlAIPP *aippParmsSet, aclAippInputFormat inputFormat)
- Python Function
1ret = acl.mdl.set_aipp_input_format(aipp_parms_set, input_format)
Parameter Description
Parameter |
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 Description
Return Value |
Description |
|---|---|
ret |
Int, error code.
|
Parent topic: Dynamic AIPP Parameter Settings