vpc_copy_make_border
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
x |
|
√ |
|
√ |
Function Usage
Makes the borders of the input image. This API is asynchronous.
Prototype
- C Prototype
1hi_s32 hi_mpi_vpc_copy_make_border(hi_vpc_chn chn, const hi_vpc_pic_info *source_pic, hi_vpc_pic_info *dest_pic, hi_vpc_make_border_info make_border_info, hi_u32 *task_id, hi_s32 milli_sec);
- Python Function
1task_id, ret = acl.himpi.vpc_copy_make_border(chn, source_pic, dest_pic, make_border_info, milli_sec)
Parameter Description
Parameter |
Description |
|---|---|
chn |
Int, channel ID for image processing.
|
source_pic |
Dict, source image information. For details, see hi_vpc_pic_info. For details about related restrictions, see Restrictions. |
dest_pic |
Dict, destination image information. For details, see hi_vpc_pic_info. |
make_border_info |
Dict, information about border making. For details, see hi_vpc_make_border_info. |
milli_sec |
Int, timeout interval, in milliseconds.
|
Return Value Description
Return Value |
Description |
|---|---|
task_id |
Int, task ID, used to identify a task. |
ret |
Int, error code.
|
Restrictions
Version |
Restriction |
|---|---|
|
|
|