aclmdlSetAIPPAxSwapSwitch

Description

Sets the RGBA-to-ARGB or YUVA-to-AYUV swap switch in the dynamic AIPP scenario.

Prototype

aclError aclmdlSetAIPPAxSwapSwitch(aclmdlAIPP *aippParmsSet, int8_t axSwapSwitch)

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.

axSwapSwitch

Input

RGBA to ARGB, or YUVA to AYUV swap enable.

  • 0: disabled
  • 1: enabled

Returns

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