FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.

Functions

static VASurfaceID ff_vaapi_get_surface_id (AVFrame *pic)
 Extract VASurfaceID from an AVFrame.
 
void ff_vaapi_common_end_frame (AVCodecContext *avctx)
 Common AVHWAccel.end_frame() implementation.
 
voidff_vaapi_alloc_pic_param (struct vaapi_context *vactx, unsigned int size)
 Allocate a new picture parameter buffer.
 
voidff_vaapi_alloc_iq_matrix (struct vaapi_context *vactx, unsigned int size)
 Allocate a new IQ matrix buffer.
 
uint8_tff_vaapi_alloc_bitplane (struct vaapi_context *vactx, uint32_t size)
 Allocate a new bit-plane buffer.
 
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.
 
int ff_vaapi_mpeg_end_frame (AVCodecContext *avctx)
 
int ff_vaapi_commit_slices (struct vaapi_context *vactx)
 
int ff_vaapi_render_picture (struct vaapi_context *vactx, VASurfaceID surface)