19#ifndef AVFILTER_VAAPI_VPP_H
20#define AVFILTER_VAAPI_VPP_H
32 return (uintptr_t)
frame->data[3];
36#define VAAPI_VPP_BACKGROUND_BLACK 0xff000000
81 VAProcPipelineParameterBuffer *
params,
92 VAProcPipelineParameterBuffer *
params,
96 VAProcPipelineParameterBuffer *params_list,
SwsAArch64OpImplParams params
Main libavfilter public API header.
API-specific header for AV_HWDEVICE_TYPE_VAAPI.
static int output_frame(H264Context *h, AVFrame *dst, H264Picture *srcp)
AVPixelFormat
Pixel format.
A reference to a data buffer.
Describe the class of an AVClass context structure.
A link between two filters.
This structure describes decoded (raw) audio or video data.
This struct describes a set or pool of "hardware" frames (i.e.
VAAPI connection details.
VABufferID filter_buffers[VAProcFilterCount]
void(* pipeline_uninit)(AVFilterContext *avctx)
enum AVPixelFormat output_format
int(* build_filter_params)(AVFilterContext *avctx)
AVBufferRef * input_frames_ref
AVHWFramesContext * input_frames
AVVAAPIDeviceContext * hwctx
int ff_vaapi_vpp_config_output(AVFilterLink *outlink)
int ff_vaapi_vpp_config_input(AVFilterLink *inlink)
int ff_vaapi_vpp_query_formats(const AVFilterContext *avctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out)
void ff_vaapi_vpp_pipeline_uninit(AVFilterContext *avctx)
void ff_vaapi_vpp_ctx_init(AVFilterContext *avctx)
int ff_vaapi_vpp_make_param_buffers(AVFilterContext *avctx, int type, const void *data, size_t size, int count)
static VASurfaceID ff_vaapi_vpp_get_surface_id(const AVFrame *frame)
int ff_vaapi_vpp_init_params(AVFilterContext *avctx, VAProcPipelineParameterBuffer *params, const AVFrame *input_frame, AVFrame *output_frame)
int ff_vaapi_vpp_render_picture(AVFilterContext *avctx, VAProcPipelineParameterBuffer *params, AVFrame *output_frame)
void ff_vaapi_vpp_ctx_uninit(AVFilterContext *avctx)
int ff_vaapi_vpp_render_pictures(AVFilterContext *avctx, VAProcPipelineParameterBuffer *params_list, int count, AVFrame *output_frame)