acldvppGetBorderConfig Series
Applicable Products
Product |
Supported |
|---|---|
x |
|
√ |
|
√ |
|
√ |
|
√ |
|
x |
Function
Obtains a border configuration.
Prototype
1 2 3 4 5 6 | double acldvppGetBorderConfigValue(const acldvppBorderConfig *borderConfig, uint32_t index) acldvppBorderType acldvppGetBorderConfigBorderType(const acldvppBorderConfig *borderConfig) uint32_t acldvppGetBorderConfigTop(const acldvppBorderConfig *borderConfig) uint32_t acldvppGetBorderConfigBottom(const acldvppBorderConfig *borderConfig) uint32_t acldvppGetBorderConfigLeft(const acldvppBorderConfig *borderConfig) uint32_t acldvppGetBorderConfigRight(const acldvppBorderConfig *borderConfig) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
borderConfig |
Input |
Pointer to the border padding configuration. Call acldvppCreateBorderConfig to create data of the acldvppBorderConfig type and call the acldvppSetBorderConfig series to set border configuration in advance. |
index |
Input |
Element index of the color component array. The value 0 indicates the R or Y component, the value 1 indicates the G or U component, the value 2 indicates the B or V component, and the value 3 is reserved. |
Returns
Parameter |
Description |
|---|---|
value |
Color value of a component. |
borderType |
Border type. For details, see acldvppBorderType. |
top |
Length of the border in pixels at the top of the image. |
bottom |
Length of the border in pixels at the bottom of the image. |
left |
Length of the border in pixels at the left of the image. |
right |
Length of the border in pixels at the right of the image. |