Function: vdec_set_channel_desc_out_pic_format
C Prototype |
aclError aclvdecSetChannelDescOutPicFormat(aclvdecChannelDesc *channelDesc, acldvppPixelFormat outPicFormat) |
|---|---|
Python Function |
ret = acl.media.vdec_set_channel_desc_out_pic_format(vdec_channel_desc, out_pic_format) |
Function Usage |
Sets the decoding channel description attribute: YUV image storage format. |
Input Description |
vdec_channel_desc: int, pointer address of the description of a video decoding channel. Call acl.media.vdec_create_channel_desc to create data of the aclvdecChannelDesc type in advance. out_pic_format: int, YUV image storage format. For details about the supported formats, see Table 1. If the output format is not specified, YUV420SP NV12 is used by default. |
Return Value |
ret: int, error code.
|
Parent topic: VDEC