Function: dvpp_set_border_config_top
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
x |
|
√ |
|
√ |
Function Usage
Sets the border configuration parameter: length of the border in pixels at the top of the image.
Prototype
- C Prototype
1aclError acldvppSetBorderConfigTop(acldvppBorderConfig *borderConfig, uint32_t top);
- Python Function
1ret = acl.media.dvpp_set_border_config_top(border_config, top)
Parameter Description
Parameter |
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 Description
Return Value |
Description |
|---|---|
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: common