Function: dvpp_set_pic_desc_width
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets the image description parameter: source image width.
Prototype
- C Prototype
1aclError acldvppSetPicDescWidth(acldvppPicDesc *picDesc, uint32_t width)
- Python Function
1ret = acl.media.dvpp_set_pic_desc_width(dvpp_pic_desc, width)
Parameter Description
Parameter |
Description |
|---|---|
dvpp_pic_desc |
Int, pointer address of the image description. Call acl.media.dvpp_create_pic_desc to create data of the acldvppPicDesc type in advance. |
width |
Int, width of the source image. |
Return Value Description
Return Value |
Description |
|---|---|
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: common