Function: dvpp_set_border_config_top

C Prototype

aclError acldvppSetBorderConfigTop(acldvppBorderConfig *borderConfig, uint32_t top);

Python Function

ret = acl.media.dvpp_set_border_config_top(border_config, top)

Function Usage

Sets the border configuration parameter: pixel value of the image top.

The Atlas 200/300/500 Inference Product does not support this API in the current version.

The Atlas Training Series Product does not support this API in the current version.

Input Description

border_config: int, pointer address of the border making configuration data. Call acl.media.dvpp_create_border_config to create data of the acldvppBorderConfig type in advance.

top: int, length of the border in pixels at the top of the image.

Return Value

ret: int, error code.

Restrictions

None