FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ffmpeg_vaapi.c File Reference
#include "config.h"
#include "libavutil/avassert.h"
#include "libavutil/frame.h"
#include "libavutil/hwcontext.h"
#include "libavutil/log.h"
#include "ffmpeg.h"

Go to the source code of this file.

Data Structures

struct  VAAPIDecoderContext
 

Macros

#define DEFAULT_SURFACES   20
 

Functions

static int vaapi_get_buffer (AVCodecContext *avctx, AVFrame *frame, int flags)
 
static int vaapi_retrieve_data (AVCodecContext *avctx, AVFrame *input)
 
static void vaapi_decode_uninit (AVCodecContext *avctx)
 
int vaapi_decode_init (AVCodecContext *avctx)
 
av_cold int vaapi_device_init (const char *device)
 

Variables

static AVClass vaapi_class
 
static AVClassvaapi_log = &vaapi_class
 

Macro Definition Documentation

#define DEFAULT_SURFACES   20

Definition at line 35 of file ffmpeg_vaapi.c.

Referenced by vaapi_decode_init().

Function Documentation

static int vaapi_get_buffer ( AVCodecContext avctx,
AVFrame frame,
int  flags 
)
static

Definition at line 53 of file ffmpeg_vaapi.c.

Referenced by vaapi_decode_init().

static int vaapi_retrieve_data ( AVCodecContext avctx,
AVFrame input 
)
static

Definition at line 69 of file ffmpeg_vaapi.c.

Referenced by vaapi_decode_init().

static void vaapi_decode_uninit ( AVCodecContext avctx)
static

Definition at line 117 of file ffmpeg_vaapi.c.

Referenced by vaapi_decode_init().

int vaapi_decode_init ( AVCodecContext avctx)

Definition at line 136 of file ffmpeg_vaapi.c.

av_cold int vaapi_device_init ( const char *  device)

Definition at line 219 of file ffmpeg_vaapi.c.

Referenced by vaapi_decode_init().

Variable Documentation

AVClass vaapi_class
static
Initial value:
= {
.class_name = "vaapi",
.item_name = av_default_item_name,
}
#define LIBAVUTIL_VERSION_INT
Definition: version.h:86
av_default_item_name

Definition at line 29 of file ffmpeg_vaapi.c.

Referenced by vaapi_decode_init().

AVClass* vaapi_log = &vaapi_class
static

Definition at line 217 of file ffmpeg_vaapi.c.