#include <va/va.h>
#include <va/va_dec_hevc.h>
#include "avcodec.h"
#include "hevcdec.h"
#include "hwconfig.h"
#include "vaapi_decode.h"
#include "vaapi_hevc.h"
#include "h265_profile_level.h"
 
Go to the source code of this file.
 | 
| static void  | init_vaapi_pic (VAPictureHEVC *va_pic) | 
|   | 
| static void  | fill_vaapi_pic (VAPictureHEVC *va_pic, const HEVCFrame *pic, int rps_type) | 
|   | 
| static int  | find_frame_rps_type (const HEVCContext *h, const HEVCFrame *pic) | 
|   | 
| static void  | fill_vaapi_reference_frames (const HEVCContext *h, VAPictureParameterBufferHEVC *pp) | 
|   | 
| static int  | vaapi_hevc_start_frame (AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) | 
|   | 
| static int  | vaapi_hevc_end_frame (AVCodecContext *avctx) | 
|   | 
| static void  | fill_pred_weight_table (const HEVCContext *h, const SliceHeader *sh, VASliceParameterBufferHEVC *slice_param) | 
|   | 
| static uint8_t  | get_ref_pic_index (const HEVCContext *h, const HEVCFrame *frame) | 
|   | 
| static int  | vaapi_hevc_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) | 
|   | 
| static int  | ptl_convert (const PTLCommon *general_ptl, H265RawProfileTierLevel *h265_raw_ptl) | 
|   | 
| VAProfile  | ff_vaapi_parse_hevc_rext_profile (AVCodecContext *avctx) | 
|   | 
◆ copy_field
      
        
          | #define copy_field | 
          ( | 
            | 
          name | ) | 
             h265_raw_ptl->general_ ## name = general_ptl->name | 
        
      
 
 
◆ init_vaapi_pic()
  
  
      
        
          | static void init_vaapi_pic  | 
          ( | 
          VAPictureHEVC *  | 
          va_pic | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ fill_vaapi_pic()
  
  
      
        
          | static void fill_vaapi_pic  | 
          ( | 
          VAPictureHEVC *  | 
          va_pic,  | 
         
        
           | 
           | 
          const HEVCFrame *  | 
          pic,  | 
         
        
           | 
           | 
          int  | 
          rps_type  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ find_frame_rps_type()
◆ fill_vaapi_reference_frames()
  
  
      
        
          | static void fill_vaapi_reference_frames  | 
          ( | 
          const HEVCContext *  | 
          h,  | 
         
        
           | 
           | 
          VAPictureParameterBufferHEVC *  | 
          pp  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ vaapi_hevc_start_frame()
◆ vaapi_hevc_end_frame()
◆ fill_pred_weight_table()
  
  
      
        
          | static void fill_pred_weight_table  | 
          ( | 
          const HEVCContext *  | 
          h,  | 
         
        
           | 
           | 
          const SliceHeader *  | 
          sh,  | 
         
        
           | 
           | 
          VASliceParameterBufferHEVC *  | 
          slice_param  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ get_ref_pic_index()
◆ vaapi_hevc_decode_slice()
◆ ptl_convert()
◆ ff_vaapi_parse_hevc_rext_profile()
◆ ff_hevc_vaapi_hwaccel
Initial value:= {
    .name                 = "hevc_vaapi",
}
 
Definition at line 569 of file vaapi_hevc.c.