vdec_create_chn
| 
         c函数原型  | 
       
         hi_s32 hi_mpi_vdec_create_chn(hi_vdec_chn chn, const hi_vdec_chn_attr *attr);  | 
      
|---|---|
| 
         Python函数  | 
       
         ret = acl.himpi.vdec_create_chn(chn, attr)  | 
      
| 
         函数功能  | 
       
         根据设置的通道属性创建解码通道。  | 
      
| 
         输入说明  | 
       
         
         chn:int,解码通道号 。
          
        
 
           说明: 
           
        对于 对于 对于 昇腾虚拟化实例(Ascend Virtual Instance)在各场景下的算力资源规格,在安装昇腾AI处理器的服务器上使用npu-smi info -t template-info命令查看。 
         attr:dict,解码通道属性字典,具体请参见hi_vdec_chn_attr。
          
  | 
      
| 
         返回值说明  | 
       
         ret:int,错误码。 
  | 
      
| 
         约束说明  | 
       
        
  | 
      
| 
         参考资源  |