Function: dvpp_set_roi_config
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets an ROI configuration.
Prototype
- C Prototype
1aclError acldvppSetRoiConfig(acldvppRoiConfig *config, uint32_t left, uint32_t right, uint32_t top, uint32_t bottom)
- Python Function
1ret = acl.media.dvpp_set_roi_config(roi_config, left, right, top, bottom)
Parameter Description
Parameter |
Description |
|---|---|
roi_config |
Int, pointer address of the location data of a specified ROI. Call acl.media.dvpp_create_roi_config in advance to create data. |
left |
Int, left offset.
|
right |
Int, right offset.
|
top |
Int, top offset.
|
bottom |
Int, bottom offset.
|
Return Value Description
Return Value |
Description |
|---|---|
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: VPC