FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
vaapi_vp9.c File Reference
#include "libavutil/pixdesc.h"
#include "vaapi_internal.h"
#include "vp9.h"

Go to the source code of this file.

Functions

static void fill_picture_parameters (AVCodecContext *avctx, const VP9SharedContext *h, VADecPictureParameterBufferVP9 *pp)
 
static int vaapi_vp9_start_frame (AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
 
static int vaapi_vp9_end_frame (AVCodecContext *avctx)
 
static int vaapi_vp9_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 

Variables

AVHWAccel ff_vp9_vaapi_hwaccel
 

Function Documentation

static void fill_picture_parameters ( AVCodecContext avctx,
const VP9SharedContext h,
VADecPictureParameterBufferVP9 *  pp 
)
static

Definition at line 27 of file vaapi_vp9.c.

Referenced by vaapi_vp9_start_frame().

static int vaapi_vp9_start_frame ( AVCodecContext avctx,
av_unused const uint8_t buffer,
av_unused uint32_t  size 
)
static

Definition at line 91 of file vaapi_vp9.c.

static int vaapi_vp9_end_frame ( AVCodecContext avctx)
static

Definition at line 109 of file vaapi_vp9.c.

static int vaapi_vp9_decode_slice ( AVCodecContext avctx,
const uint8_t buffer,
uint32_t  size 
)
static

Definition at line 128 of file vaapi_vp9.c.

Variable Documentation

AVHWAccel ff_vp9_vaapi_hwaccel
Initial value:
= {
.name = "vp9_vaapi",
.pix_fmt = AV_PIX_FMT_VAAPI,
.start_frame = vaapi_vp9_start_frame,
.end_frame = vaapi_vp9_end_frame,
.decode_slice = vaapi_vp9_decode_slice,
.priv_data_size = sizeof(FFVAContext),
}
int ff_vaapi_context_fini(AVCodecContext *avctx)
Common AVHWAccel.uninit() implementation.
Definition: vaapi.c:66
static int vaapi_vp9_end_frame(AVCodecContext *avctx)
Definition: vaapi_vp9.c:109
int ff_vaapi_context_init(AVCodecContext *avctx)
Common AVHWAccel.init() implementation.
Definition: vaapi.c:45
static int vaapi_vp9_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
Definition: vaapi_vp9.c:128
static int vaapi_vp9_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
Definition: vaapi_vp9.c:91

Definition at line 157 of file vaapi_vp9.c.