hi_mpi_rgn_get_display_attr
Applicable Products
|
Product |
Supported |
|---|---|
|
|
☓ |
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
☓ |
|
|
☓ |
Function
Obtains the channel display attributes of a region.
The
Prototype
hi_s32 hi_mpi_rgn_get_display_attr(hi_rgn_handle handle, const hi_mpp_chn *chn, hi_rgn_chn_attr *chn_attr)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
handle |
Input |
Region handle ID. Value range: [0, 1024) |
|
chn |
Input |
Pointer to the channel structure. It cannot be a null pointer. For details about how to set this parameter, see Table 2. |
|
chn_attr |
Output |
Pointer to the channel display attributes of a region. It cannot be a null pointer. |
Returns
- 0: success
- Other values: failure. For details, see Region Management Return Codes.
Restrictions
The regions must have been created before you call this API.