Function: dvpp_set_jpege_config_level
C Prototype |
aclError acldvppSetJpegeConfigLevel(acldvppJpegeConfig *jpegeConfig, uint32_t level) |
|---|---|
Python Function |
ret = acl.media.dvpp_set_jpege_config_level(dvpp_jpege_config, level) |
Function Usage |
Sets encoding configuration data. |
Input Description |
dvpp_jpege_config: int, pointer address of the encoding configuration data. acl.media.dvpp_create_jpege_config is called to create encoding configuration data. level: int, 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. |
Return Value |
ret: int, error code.
|