FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
vaapi_decode.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "internal.h"
#include "vaapi_decode.h"

Go to the source code of this file.

Macros

#define MAP(c, p, v)   { AV_CODEC_ID_ ## c, FF_PROFILE_ ## p, VAProfile ## v }
 

Functions

int ff_vaapi_decode_make_param_buffer (AVCodecContext *avctx, VAAPIDecodePicture *pic, int type, const void *data, size_t size)
 
int ff_vaapi_decode_make_slice_buffer (AVCodecContext *avctx, VAAPIDecodePicture *pic, const void *params_data, size_t params_size, const void *slice_data, size_t slice_size)
 
static void ff_vaapi_decode_destroy_buffers (AVCodecContext *avctx, VAAPIDecodePicture *pic)
 
int ff_vaapi_decode_issue (AVCodecContext *avctx, VAAPIDecodePicture *pic)
 
int ff_vaapi_decode_cancel (AVCodecContext *avctx, VAAPIDecodePicture *pic)
 
static int vaapi_decode_make_config (AVCodecContext *avctx)
 
int ff_vaapi_decode_init (AVCodecContext *avctx)
 
int ff_vaapi_decode_uninit (AVCodecContext *avctx)
 

Variables

struct {
   enum AVCodecID   codec_id
 
   int   codec_profile
 
   VAProfile   va_profile
 
vaapi_profile_map []
 

Macro Definition Documentation

#define MAP (   c,
  p,
 
)    { AV_CODEC_ID_ ## c, FF_PROFILE_ ## p, VAProfile ## v }

Function Documentation

int ff_vaapi_decode_make_param_buffer ( AVCodecContext avctx,
VAAPIDecodePicture pic,
int  type,
const void data,
size_t  size 
)
int ff_vaapi_decode_make_slice_buffer ( AVCodecContext avctx,
VAAPIDecodePicture pic,
const void params_data,
size_t  params_size,
const void slice_data,
size_t  slice_size 
)
static void ff_vaapi_decode_destroy_buffers ( AVCodecContext avctx,
VAAPIDecodePicture pic 
)
static

Definition at line 121 of file vaapi_decode.c.

Referenced by ff_vaapi_decode_cancel(), and ff_vaapi_decode_issue().

int ff_vaapi_decode_issue ( AVCodecContext avctx,
VAAPIDecodePicture pic 
)
int ff_vaapi_decode_cancel ( AVCodecContext avctx,
VAAPIDecodePicture pic 
)
static int vaapi_decode_make_config ( AVCodecContext avctx)
static

Definition at line 275 of file vaapi_decode.c.

Referenced by ff_vaapi_decode_init().

int ff_vaapi_decode_init ( AVCodecContext avctx)

Definition at line 472 of file vaapi_decode.c.

int ff_vaapi_decode_uninit ( AVCodecContext avctx)

Definition at line 604 of file vaapi_decode.c.

Referenced by ff_vaapi_decode_init().

Variable Documentation

enum AVCodecID codec_id
int codec_profile

Definition at line 236 of file vaapi_decode.c.

VAProfile va_profile

Definition at line 237 of file vaapi_decode.c.

Referenced by vaapi_decode_make_config().

const { ... } vaapi_profile_map[]