aclmdlSetAIPPAxSwapSwitch

Applicability

Product

Supported

Atlas 350 Accelerator Card

×

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Usage

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

Prototype

1
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 switch

  • 0: disabled
  • 1: enabled

Returns

0 on success; else, failure. For details, see aclError.