Function: dvpp_create_jpege_config

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

Description

Creates data of the acldvppJpegeConfig type as an image encoding configuration.

To destroy data of the acldvppJpegeConfig type, call acl.media.dvpp_destroy_jpege_config.

Prototype

  • C Prototype
    1
    acldvppJpegeConfig *acldvppCreateJpegeConfig()
    
  • Python Function
    1
    dvpp_jpege_config = acl.media.dvpp_create_jpege_config()
    

Parameters

None

Return Value

Return Value

Description

dvpp_jpege_config

Int, pointer address of the acldvppJpegeConfig type.

  • If a non-zero value is returned, the operation is successful.
  • If 0 is returned, the operation fails.