Sets an ROI configuration. This API is synchronous.
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)
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. For a paste ROI, the left offset must be rounded up to the nearest multiple of 16.
|
right |
Input |
Right offset.
|
top |
Input |
Top offset.
|
bottom |
Input |
Bottom offset.
|
0 on success; else, failure.