Function: dvpp_set_pic_desc_width_stride
Applicability
Product |
Supported (Yes/No) |
|---|---|
Atlas 350 Accelerator Card |
x |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Sets the image description parameter: width after alignment.
Prototype
- C Prototype
1aclError acldvppSetPicDescWidthStride(acldvppPicDesc *picDesc, uint32_t widthStride)
- Python Function
1ret = acl.media.dvpp_set_pic_desc_width_stride(dvpp_pic_desc, width_stride)
Parameters
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_stride |
Int, width stride. |
Return Value
Return Value |
Description |
|---|---|
ret |
Int, error code. 0 on success; else, failure. |
Parent topic: common