Function: set_aipp_ax_swap_switch
Applicable Products
Product |
Supported (√/x) |
|---|---|
x |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets the RGBA-to-ARGB or YUVA-to-AYUV swap switch in dynamic AIPP scenarios.
Prototype
- C Prototype
1aclError aclmdlSetAIPPAxSwapSwitch(aclmdlAIPP *aippParmsSet, int8_t axSwapSwitch)
- Python Function
1ret = acl.mdl.set_aipp_ax_swap_switch(aipp_parms_set, ax_swap_switch)
Parameter Description
Parameter |
Description |
|---|---|
aipp_parms_set |
Int, pointer address of the dynamic AIPP parameter object. acl.mdl.create_aipp needs to be called in advance to create data of the aclmdlAIPP type. |
ax_swap_switch |
Int, RGBA to ARGB or YUVA to AYUV switch. Value range:
|
Return Value Description
Return Value |
Description |
|---|---|
ret |
Int, error code.
|
Parent topic: Dynamic AIPP Parameter Settings