Function: vdec_get_channel_desc_callback

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

Obtains the decoding channel description attribute: callback function.

Prototype

  • C Prototype
    1
    aclvdecCallback aclvdecGetChannelDescCallback(const aclvdecChannelDesc *channelDesc)
    
  • Python Function
    1
    callback = acl.media.vdec_get_channel_desc_callback(vdec_channel_desc)
    

Parameter Description

Parameter

Description

vdec_channel_desc

Int, description of the video decoding channel.

Return Value Description

Return Value

Description

callback

Python function object, callback function.

Callback function format in Python:

def vdec_call_back_func(dvpp_stream_desc, dvpp_pic_desc, user_data):
pass