acldvppSetPicDesc Series
Description
Sets an image description.
Prototype
aclError acldvppSetPicDescData(acldvppPicDesc *picDesc, void *dataDev)
aclError acldvppSetPicDescSize(acldvppPicDesc *picDesc, uint32_t size)
aclError acldvppSetPicDescFormat(acldvppPicDesc *picDesc, acldvppPixelFormat format)
aclError acldvppSetPicDescWidth(acldvppPicDesc *picDesc, uint32_t width)
aclError acldvppSetPicDescHeight(acldvppPicDesc *picDesc, uint32_t height)
aclError acldvppSetPicDescWidthStride(acldvppPicDesc *picDesc, uint32_t widthStride)
aclError acldvppSetPicDescHeightStride(acldvppPicDesc *picDesc, uint32_t heightStride)
aclError acldvppSetPicDescRetCode(acldvppPicDesc *picDesc,uint32_t retCode)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
picDesc |
Output |
Pointer to the image description. Call acldvppCreatePicDesc to create data of the acldvppPicDesc type in advance. |
dataDev |
Input |
Pointer to the image data memory on the device, allocated by using acldvppMalloc. |
size |
Input |
Buffer size in bytes. |
format |
Input |
Image format. |
width |
Input |
Width of the source image. |
height |
Input |
Height of the source image. |
widthStride |
Input |
Width stride. |
heightStride |
Input |
Height stride. |
retCode |
Input |
Return code (0 on success; else, failure). |
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.