vpc_set_chn_opt_attr
Applicability
Product |
Supported (√/x) |
|---|---|
x |
|
x |
|
x |
|
x |
|
x |
Function Usage
Sets optional channel attributes.
Prototype
- C Prototype
1hi_s32 hi_mpi_vpc_set_chn_opt_attr(hi_vpc_chn chn, const hi_opt_attr* opt_attr)
- Python Function
1task_id, ret = acl.himpi.vpc_set_chn_opt_attr(chn, opt_attr)
Parameter Description
Parameter |
Description |
|---|---|
chn |
Int, channel ID for image processing.
|
opt_attr |
Dict, optional channel attributes. For details, see hi_opt_attr. |
Return Value Description
Return Value |
Description |
|---|---|
ret |
ret: int.
|
Restrictions
None.
Parent topic: VPC APIs