acldvppGetJpegeConfigLevel

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

Obtains encoding configuration.

Prototype

1
uint32_t acldvppGetJpegeConfigLevel(const acldvppJpegeConfig *jpegeConfig)

Parameters

Parameter

Input/Output

Description

jpegeConfig

Input

Pointer to the encoding configuration.

Call the acldvppCreateJpegeConfig API to create data of the acldvppJpegeConfig type in advance, and then call the acldvppSetJpegeConfigLevel API to set the encoding configuration data.

Returns

Returns the encoding quality level.

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