Function: vdec_get_channel_desc_bit_depth

C Prototype

uint32_t aclvdecGetChannelDescBitDepth(const aclvdecChannelDesc *channelDesc)

Python Function

desc_bit_depth = acl.media.vdec_get_channel_desc_bit_depth(vdec_channel_desc)

Function Usage

Obtains the description of a video decoding channel.

Input Description

vdec_channel_desc: int, description of the video decoding channel.

Return Value

desc_bit_depth: int, video bit depth.

Ascend 310 AI Processor: Not acquirable in the current version.

Ascend 910 AI Processor: Not acquirable in the current version.

Values:

  • 0: 8-bit

  • 1: 10-bit

Restrictions

None

Precautions

None