Function: vdec_set_channel_desc_out_pic_height

C Prototype

aclError aclvdecSetChannelDescOutPicHeight(aclvdecChannelDesc *channelDesc, uint32_t outPicHeight)

Python Function

ret = acl.media.vdec_set_channel_desc_out_pic_height(vdec_channel_desc, out_pic_height)

Function Usage

Sets the decoding channel description attribute: image height.

Input Description

vdec_channel_desc: int, description of the video decoding channel.

Call acl.media.vdec_create_channel_desc to create data of the aclvdecChannelDesc type in advance.

out_pic_height: int, maximum output height.

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

Atlas Training Series Product: Defaults to 1120.

Return Value

ret: int, error code.