Function: vdec_set_channel_desc_out_pic_width

C Prototype

aclError aclvdecSetChannelDescOutPicWidth(aclvdecChannelDesc *channelDesc, uint32_t outPicWidth)

Python Function

ret = acl.media.vdec_set_channel_desc_out_pic_width(vdec_channel_desc, out_pic_width)

Function Usage

Sets the decoding channel description attribute: image width.

Input Description

vdec_channel_desc: int, pointer address of the description of a video decoding channel.

out_pic_width: int, maximum output width.

Atlas 200/300/500 Inference Product: Defaults to 1920.

Atlas Training Series Product: Defaults to 1920.

Return Value

ret: int, error code.