Function: dvpp_set_pic_desc_format

C Prototype

aclError acldvppSetPicDescFormat(acldvppPicDesc *picDesc, acldvppPixelFormat format)

Python Function

ret = acl.media.dvpp_set_pic_desc_format(dvpp_pic_desc, format)

Function Usage

Sets the image description parameter: image format.

Input 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.

format: int, image format. For details, see acldvppPixelFormat.

Return Value

ret: int, error code.

Restrictions

None