Function: set_aipp_rbuv_swap_switch

Applicability

Product

Supported

Atlas 350 Accelerator Card

x

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Function Usage

Sets the RB or UV channel swap switch before CSC in dynamic AIPP scenarios.

Prototype

  • C Prototype
    1
    aclError aclmdlSetAIPPRbuvSwapSwitch(aclmdlAIPP *aippParmsSet, int8_t rbuvSwapSwitch)
    
  • Python Function
    1
    ret = acl.mdl.set_aipp_rbuv_swap_switch(aipp_parms_set, rbuv_swap_switch)
    

Parameters

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.

rbuv_swap_switch

Int, RB or UV channel swap switch.

Value range:

  • 0 (default): disabled
  • 1: enabled

Returns

Return Value

Description

ret

Int, error code.