vaapi.c File Reference
#include "h264.h"
#include "vaapi_internal.h"
Include dependency graph for vaapi.c:

Go to the source code of this file.

Functions

static void destroy_buffers (VADisplay display, VABufferID *buffers, unsigned int n_buffers)
 
int ff_vaapi_render_picture (struct vaapi_context *vactx, VASurfaceID surface)
 
int ff_vaapi_commit_slices (struct vaapi_context *vactx)
 
static voidalloc_buffer (struct vaapi_context *vactx, int type, unsigned int size, uint32_t *buf_id)
 
voidff_vaapi_alloc_pic_param (struct vaapi_context *vactx, unsigned int size)
 Allocate a new picture parameter buffer. More...
 
voidff_vaapi_alloc_iq_matrix (struct vaapi_context *vactx, unsigned int size)
 Allocate a new IQ matrix buffer. More...
 
uint8_tff_vaapi_alloc_bitplane (struct vaapi_context *vactx, uint32_t size)
 Allocate a new bit-plane buffer. More...
 
VASliceParameterBufferBase * ff_vaapi_alloc_slice (struct vaapi_context *vactx, const uint8_t *buffer, uint32_t size)
 Allocate a new slice descriptor for the input slice. More...
 
void ff_vaapi_common_end_frame (AVCodecContext *avctx)
 Common AVHWAccel.end_frame() implementation. More...
 
int ff_vaapi_mpeg_end_frame (AVCodecContext *avctx)