acldvppSetJpegeConfigLevel

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function

Sets an encoding configuration.

Prototype

1
aclError acldvppSetJpegeConfigLevel(acldvppJpegeConfig *jpegeConfig, uint32_t level)

Parameters

Parameter

Input/Output

Description

jpegeConfig

Output

Pointer to the encoding configuration.

Call the acldvppCreateJpegeConfig API to create data of the acldvppJpegeConfig type in advance.

level

Input

Encoding quality level.

Value range: [1, 100]. A smaller value indicates higher output image quality.

Returns

0 on success; otherwise, failure. For details, see aclError.