#include "config_components.h"
#include "libavutil/avassert.h"
#include "libavutil/hwcontext_d3d12va_internal.h"
#include "hevc_data.h"
#include "hevcdec.h"
#include "dxva2_internal.h"
#include "d3d12va_decode.h"
#include <dxva.h>
 
Go to the source code of this file.
◆ MAX_SLICES
◆ START_CODE
◆ START_CODE_SIZE
      
        
          | #define START_CODE_SIZE   3 | 
        
      
 
 
◆ fill_slice_short()
  
  
      
        
          | static void fill_slice_short  | 
          ( | 
          DXVA_Slice_HEVC_Short *  | 
          slice,  | 
         
        
           | 
           | 
          unsigned  | 
          position,  | 
         
        
           | 
           | 
          unsigned  | 
          size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ d3d12va_hevc_start_frame()
◆ d3d12va_hevc_decode_slice()
  
  
      
        
          | static int d3d12va_hevc_decode_slice  | 
          ( | 
          AVCodecContext *  | 
          avctx,  | 
         
        
           | 
           | 
          const uint8_t *  | 
          buffer,  | 
         
        
           | 
           | 
          uint32_t  | 
          size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ update_input_arguments()
  
  
      
        
          | static int update_input_arguments  | 
          ( | 
          AVCodecContext *  | 
          avctx,  | 
         
        
           | 
           | 
          D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS *  | 
          input_args,  | 
         
        
           | 
           | 
          ID3D12Resource *  | 
          buffer  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ d3d12va_hevc_end_frame()
◆ d3d12va_hevc_decode_init()