acldvppSetRoiConfig Series
Description
Sets an ROI configuration.
Prototype
aclError acldvppSetRoiConfig(acldvppRoiConfig *config, uint32_t left, uint32_t right, uint32_t top, uint32_t bottom)
aclError acldvppSetRoiConfigLeft(acldvppRoiConfig *config, uint32_t left)
aclError acldvppSetRoiConfigRight(acldvppRoiConfig *config, uint32_t right)
aclError acldvppSetRoiConfigTop(acldvppRoiConfig *config, uint32_t top)
aclError acldvppSetRoiConfigBottom(acldvppRoiConfig *config, uint32_t bottom)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
config |
Output |
Pointer to the ROI configuration. Call acldvppCreateRoiConfig to create data of the acldvppRoiConfig type in advance. |
left |
Input |
Left offset
|
right |
Input |
Right offset.
|
top |
Input |
Top offset.
|
bottom |
Input |
Bottom offset.
|
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.