Function: venc_destroy_frame_config

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

x

Atlas A2 products

x

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Destroys data of the aclvencFrameConfig type created by calling acl.media.venc_create_frame_config.

Prototype

  • C Prototype
    1
    aclError aclvencDestroyFrameConfig(aclvencFrameConfig *config)
    
  • Python Function
    1
    ret = acl.media.venc_destroy_frame_config(frame_config)
    

Parameters

Parameter

Description

frame_config

Int, pointer address of the aclvencFrameConfig data to be destroyed.

Return Values

Return Value

Description

ret

Int, error code: 0 on success; else, failure.