All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
vaapi_internal.h File Reference
#include <va/va.h>
#include "vaapi.h"
#include "avcodec.h"
#include "mpegvideo.h"

Go to the source code of this file.

Data Structures

struct  FFVAContext


static FFVAContextff_vaapi_get_context (AVCodecContext *avctx)
 Extract vaapi_context from an AVCodecContext. More...
static VASurfaceID ff_vaapi_get_surface_id (AVFrame *pic)
 Extract VASurfaceID from an AVFrame. More...
int ff_vaapi_context_init (AVCodecContext *avctx)
 Common AVHWAccel.init() implementation. More...
int ff_vaapi_context_fini (AVCodecContext *avctx)
 Common AVHWAccel.uninit() implementation. More...
void ff_vaapi_common_end_frame (AVCodecContext *avctx)
 Common AVHWAccel.end_frame() implementation. More...
voidff_vaapi_alloc_pic_param (FFVAContext *vactx, unsigned int size)
 Allocate a new picture parameter buffer. More...
voidff_vaapi_alloc_iq_matrix (FFVAContext *vactx, unsigned int size)
 Allocate a new IQ matrix buffer. More...
uint8_tff_vaapi_alloc_bitplane (FFVAContext *vactx, uint32_t size)
 Allocate a new bit-plane buffer. More...
VASliceParameterBufferBase * ff_vaapi_alloc_slice (FFVAContext *vactx, const uint8_t *buffer, uint32_t size)
 Allocate a new slice descriptor for the input slice. More...
int ff_vaapi_mpeg_end_frame (AVCodecContext *avctx)
int ff_vaapi_commit_slices (FFVAContext *vactx)
int ff_vaapi_render_picture (FFVAContext *vactx, VASurfaceID surface)