Data Structures | Macros | Functions
vaapi_vpp.h File Reference
#include <va/va.h>
#include <va/va_vpp.h>
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_vaapi.h"
#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  VAAPIVPPContext


#define VAAPI_VPP_BACKGROUND_BLACK   0xff000000


static VASurfaceID ff_vaapi_vpp_get_surface_id (const AVFrame *frame)
void ff_vaapi_vpp_ctx_init (AVFilterContext *avctx)
void ff_vaapi_vpp_ctx_uninit (AVFilterContext *avctx)
int ff_vaapi_vpp_query_formats (AVFilterContext *avctx)
void ff_vaapi_vpp_pipeline_uninit (AVFilterContext *avctx)
int ff_vaapi_vpp_config_input (AVFilterLink *inlink)
int ff_vaapi_vpp_config_output (AVFilterLink *outlink)
int ff_vaapi_vpp_init_params (AVFilterContext *avctx, VAProcPipelineParameterBuffer *params, const AVFrame *input_frame, AVFrame *output_frame)
int ff_vaapi_vpp_make_param_buffers (AVFilterContext *avctx, int type, const void *data, size_t size, int count)
int ff_vaapi_vpp_render_picture (AVFilterContext *avctx, VAProcPipelineParameterBuffer *params, AVFrame *output_frame)
int ff_vaapi_vpp_render_pictures (AVFilterContext *avctx, VAProcPipelineParameterBuffer *params_list, int count, AVFrame *output_frame)

Macro Definition Documentation


#define VAAPI_VPP_BACKGROUND_BLACK   0xff000000

Definition at line 36 of file vaapi_vpp.h.

Function Documentation

◆ ff_vaapi_vpp_get_surface_id()

static VASurfaceID ff_vaapi_vpp_get_surface_id ( const AVFrame frame)

Definition at line 30 of file vaapi_vpp.h.

Referenced by ff_vaapi_vpp_init_params(), and ff_vaapi_vpp_render_pictures().

◆ ff_vaapi_vpp_ctx_init()

void ff_vaapi_vpp_ctx_init ( AVFilterContext avctx)

◆ ff_vaapi_vpp_ctx_uninit()

void ff_vaapi_vpp_ctx_uninit ( AVFilterContext avctx)

Definition at line 729 of file vaapi_vpp.c.

Referenced by drawbox_vaapi_uninit(), and overlay_vaapi_uninit().

◆ ff_vaapi_vpp_query_formats()

int ff_vaapi_vpp_query_formats ( AVFilterContext avctx)

Definition at line 28 of file vaapi_vpp.c.

◆ ff_vaapi_vpp_pipeline_uninit()

void ff_vaapi_vpp_pipeline_uninit ( AVFilterContext avctx)

◆ ff_vaapi_vpp_config_input()

int ff_vaapi_vpp_config_input ( AVFilterLink inlink)

Definition at line 75 of file vaapi_vpp.c.

Referenced by config_output(), and overlay_vaapi_config_input_main().

◆ ff_vaapi_vpp_config_output()

int ff_vaapi_vpp_config_output ( AVFilterLink outlink)

◆ ff_vaapi_vpp_init_params()

int ff_vaapi_vpp_init_params ( AVFilterContext avctx,
VAProcPipelineParameterBuffer *  params,
const AVFrame input_frame,
AVFrame output_frame 

◆ ff_vaapi_vpp_make_param_buffers()

int ff_vaapi_vpp_make_param_buffers ( AVFilterContext avctx,
int  type,
const void *  data,
size_t  size,
int  count 

◆ ff_vaapi_vpp_render_picture()

int ff_vaapi_vpp_render_picture ( AVFilterContext avctx,
VAProcPipelineParameterBuffer *  params,
AVFrame output_frame 

◆ ff_vaapi_vpp_render_pictures()

int ff_vaapi_vpp_render_pictures ( AVFilterContext avctx,
VAProcPipelineParameterBuffer *  params_list,
int  count,
AVFrame output_frame