19 #ifndef AVFILTER_VAAPI_VPP_H 20 #define AVFILTER_VAAPI_VPP_H 23 #include <va/va_vpp.h> 31 #define VAAPI_VPP_BACKGROUND_BLACK 0xff000000 72 VAProcPipelineParameterBuffer *params,
83 VAProcPipelineParameterBuffer *params,
int ff_vaapi_vpp_config_input(AVFilterLink *inlink)
void ff_vaapi_vpp_pipeline_uninit(AVFilterContext *avctx)
This structure describes decoded (raw) audio or video data.
Main libavfilter public API header.
int ff_vaapi_vpp_make_param_buffers(AVFilterContext *avctx, int type, const void *data, size_t size, int count)
API-specific header for AV_HWDEVICE_TYPE_VAAPI.
A link between two filters.
AVBufferRef * input_frames_ref
typedef void(RENAME(mix_any_func_type))
int ff_vaapi_vpp_render_picture(AVFilterContext *avctx, VAProcPipelineParameterBuffer *params, AVFrame *output_frame)
VABufferID filter_buffers[VAProcFilterCount]
static int output_frame(H264Context *h, AVFrame *dst, H264Picture *srcp)
Describe the class of an AVClass context structure.
This struct describes a set or pool of "hardware" frames (i.e.
enum AVPixelFormat output_format
AVVAAPIDeviceContext * hwctx
A reference to a data buffer.
void ff_vaapi_vpp_ctx_uninit(AVFilterContext *avctx)
void ff_vaapi_vpp_ctx_init(AVFilterContext *avctx)
AVHWFramesContext * input_frames
VAAPI connection details.
int ff_vaapi_vpp_query_formats(AVFilterContext *avctx)
int(* build_filter_params)(AVFilterContext *avctx)
int ff_vaapi_vpp_config_output(AVFilterLink *outlink)
AVPixelFormat
Pixel format.
void(* pipeline_uninit)(AVFilterContext *avctx)
int ff_vaapi_vpp_init_params(AVFilterContext *avctx, VAProcPipelineParameterBuffer *params, const AVFrame *input_frame, AVFrame *output_frame)