#include "config.h"
#include "config_components.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/hwcontext.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/time.h"
#include "amfenc.h"
#include "encode.h"
#include "internal.h"
#include <dlfcn.h>
 
Go to the source code of this file.
 | 
| static enum AMF_SURFACE_FORMAT  | amf_av_to_amf_format (enum AVPixelFormat fmt) | 
|   | 
| static void AMF_CDECL_CALL  | AMFTraceWriter_Write (AMFTraceWriter *pThis, const wchar_t *scope, const wchar_t *message) | 
|   | 
| static void AMF_CDECL_CALL  | AMFTraceWriter_Flush (AMFTraceWriter *pThis) | 
|   | 
| static int  | amf_load_library (AVCodecContext *avctx) | 
|   | 
| static int  | amf_init_context (AVCodecContext *avctx) | 
|   | 
| static int  | amf_init_encoder (AVCodecContext *avctx) | 
|   | 
| int av_cold  | ff_amf_encode_close (AVCodecContext *avctx) | 
|   | Common encoder termination function.  More...
  | 
|   | 
| static int  | amf_copy_surface (AVCodecContext *avctx, const AVFrame *frame, AMFSurface *surface) | 
|   | 
| static int  | amf_copy_buffer (AVCodecContext *avctx, AVPacket *pkt, AMFBuffer *buffer) | 
|   | 
| int  | ff_amf_encode_init (AVCodecContext *avctx) | 
|   | Common encoder initization function.  More...
  | 
|   | 
| static AMF_RESULT  | amf_set_property_buffer (AMFSurface *object, const wchar_t *name, AMFBuffer *val) | 
|   | 
| static AMF_RESULT  | amf_get_property_buffer (AMFData *object, const wchar_t *name, AMFBuffer **val) | 
|   | 
| static AMFBuffer *  | amf_create_buffer_with_frame_ref (const AVFrame *frame, AMFContext *context) | 
|   | 
| static void  | amf_release_buffer_with_frame_ref (AMFBuffer *frame_ref_storage_buffer) | 
|   | 
| int  | ff_amf_receive_packet (AVCodecContext *avctx, AVPacket *avpkt) | 
|   | Ecoding one frame - common function for all AMF encoders.  More...
  | 
|   | 
◆ FFMPEG_AMF_WRITER_ID
      
        
          | #define FFMPEG_AMF_WRITER_ID   L"ffmpeg_amf" | 
        
      
 
 
◆ PTS_PROP
      
        
          | #define PTS_PROP   L"PtsProp" | 
        
      
 
 
◆ amf_av_to_amf_format()
  
  
      
        
          | static enum AMF_SURFACE_FORMAT amf_av_to_amf_format  | 
          ( | 
          enum AVPixelFormat  | 
          fmt | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ AMFTraceWriter_Write()
  
  
      
        
          | static void AMF_CDECL_CALL AMFTraceWriter_Write  | 
          ( | 
          AMFTraceWriter *  | 
          pThis,  | 
         
        
           | 
           | 
          const wchar_t *  | 
          scope,  | 
         
        
           | 
           | 
          const wchar_t *  | 
          message  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ AMFTraceWriter_Flush()
  
  
      
        
          | static void AMF_CDECL_CALL AMFTraceWriter_Flush  | 
          ( | 
          AMFTraceWriter *  | 
          pThis | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ amf_load_library()
◆ amf_init_context()
◆ amf_init_encoder()
◆ ff_amf_encode_close()
◆ amf_copy_surface()
◆ amf_copy_buffer()
◆ ff_amf_encode_init()
◆ amf_set_property_buffer()
  
  
      
        
          | static AMF_RESULT amf_set_property_buffer  | 
          ( | 
          AMFSurface *  | 
          object,  | 
         
        
           | 
           | 
          const wchar_t *  | 
          name,  | 
         
        
           | 
           | 
          AMFBuffer *  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ amf_get_property_buffer()
  
  
      
        
          | static AMF_RESULT amf_get_property_buffer  | 
          ( | 
          AMFData *  | 
          object,  | 
         
        
           | 
           | 
          const wchar_t *  | 
          name,  | 
         
        
           | 
           | 
          AMFBuffer **  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ amf_create_buffer_with_frame_ref()
  
  
      
        
          | static AMFBuffer* amf_create_buffer_with_frame_ref  | 
          ( | 
          const AVFrame *  | 
          frame,  | 
         
        
           | 
           | 
          AMFContext *  | 
          context  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ amf_release_buffer_with_frame_ref()
  
  
      
        
          | static void amf_release_buffer_with_frame_ref  | 
          ( | 
          AMFBuffer *  | 
          frame_ref_storage_buffer | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ ff_amf_receive_packet()
Ecoding one frame - common function for all AMF encoders. 
Definition at line 578 of file amfenc.c.
 
 
◆ ff_amf_pix_fmts
Initial value:
Supported formats. 
Definition at line 54 of file amfenc.c.
 
 
◆ format_map
◆ tracer_vtbl
  
  
      
        
          | AMFTraceWriterVtbl tracer_vtbl | 
         
       
   | 
  
static   | 
  
 
 
◆ ff_amfenc_hw_configs
Initial value:
Definition at line 772 of file amfenc.c.