acldvppGetJpegeConfigLevel

Description

Obtains encoding configuration.

Prototype

uint32_t acldvppGetJpegeConfigLevel(const acldvppJpegeConfig *jpegeConfig)

Parameters

Parameter

Input/Output

Description

jpegeConfig

Input

Pointer to the encoding configuration.

Call acldvppCreateJpegeConfig to create data of the acldvppJpegeConfig type as an encoding configuration, and call acldvppSetJpegeConfigLevel to set the encoding configuration.

Returns

Returns the encoding quality level.

For the Atlas 200/300/500 Inference Product, the value range is [0, 100]. The quality of level 0 is similar to that of level 100. A smaller value in the range of [1, 100] indicates poorer output image quality.

For the Atlas Training Series Product, the value range is [0, 100]. The quality of level 0 is similar to that of level 100. A smaller value in the range of [1, 100] indicates poorer output image quality.