Function: vdec_create_frame_config

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

√

Atlas A2 products

√

Atlas training products

√

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Creates data of the aclvdecFrameConfig type as a single-frame decoding configuration.

To destroy data of the aclvdecFrameConfig type, see acl.media.vdec_destroy_frame_config.

Prototype

  • C Prototype
    1
    aclvdecFrameConfig *aclvdecCreateFrameConfig()
    
  • Python Function
    1
    vdec_frame_config = acl.media.vdec_create_frame_config()
    

Parameters

None

Return Values

Return Value

Description

vdec_frame_config

Int, pointer address of aclvdecFrameConfig type data.

  • Non-zero: success
  • 0: failure