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.

The values are as follows:

  • 0: 8-bit
  • 1: 10-bit

In the current version of the Atlas 200/300/500 Inference Product, it is not supported to obtain this parameter value. The value obtained is invalid.

In the current version of the Atlas Training Series Product, it is not supported to obtain this parameter value. The value obtained is invalid.