Function: vdec_set_channel_desc_bit_depth

C Prototype

aclError aclvdecSetChannelDescBitDepth(aclvdecChannelDesc *channelDesc, uint32_t bitDepth)

Python Function

ret = acl.media.vdec_set_channel_desc_bit_depth(vdec_channel_desc, desc_bit_depth)

Function Usage

Sets the description of a video decoding channel.

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.

desc_bit_depth: int, video bit depth.

The values are as follows:
  • 0: 8-bit
  • 1: 10-bit (default)

Atlas 200/300/500 Inference Product: Not configurable in the current version.

Atlas Training Series Product: Not configurable in the current version.

Return Value

ret: int, error code.