Function: dvpp_create_jpege_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 acldvppJpegeConfig type as an image encoding configuration.

To destroy data of the acldvppJpegeConfig type, see 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

Returns

Return Value

Description

dvpp_jpege_config

Int, pointer address of the acldvppJpegeConfig type.

  • Non-zero: success
  • 0: failure