vdec_get_tmv_buf_size
产品支持情况
| 
          产品  | 
        
          是否支持  | 
       
|---|---|
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          x  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          √  | 
       
| 
          | 
        
          x  | 
       
使用说明
| 
          c函数原型  | 
        
          hi_u32 hi_vdec_get_tmv_buf_size(hi_payload_type type, hi_u32 width, hi_u32 height);  | 
       
|---|---|
| 
          Python函数  | 
        
          ret = acl.himpi.vdec_get_tmv_buf_size(type, width, height)  | 
       
| 
          函数功能  | 
        
          取解码图像需要的矢量预测缓冲区的大小。  | 
       
| 
          输入说明  | 
        
          type:int,解码视频类型,具体请参见hi_payload_type。 width:int,解码图像宽。 height:int,解码图像高。  | 
       
| 
          返回值说明  | 
        
          ret:int,图像存储需要矢量预测缓冲区大小。  | 
       
| 
          约束说明  | 
        
          提供给用户来计算矢量预测缓冲区大小,在创建通道的时候初始化对应的参数。  | 
       
| 
          参考资源  | 
        
     父主题: VDEC视频解码/JPEGD图像解码接口