Function: vdec_get_channel_desc_callback

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

√

Atlas A2 products

√

Atlas training products

√

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

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)
    

Parameters

Parameter

Description

vdec_channel_desc

Int, description of the video decoding channel.

Return Values

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