FFmpeg
|
#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 |
Macros | |
#define | VAAPI_VPP_BACKGROUND_BLACK 0xff000000 |
Functions | |
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) |
#define VAAPI_VPP_BACKGROUND_BLACK 0xff000000 |
Definition at line 36 of file vaapi_vpp.h.
|
inlinestatic |
Definition at line 30 of file vaapi_vpp.h.
Referenced by ff_vaapi_vpp_init_params(), and ff_vaapi_vpp_render_pictures().
void ff_vaapi_vpp_ctx_init | ( | AVFilterContext * | avctx | ) |
Definition at line 709 of file vaapi_vpp.c.
Referenced by deint_vaapi_init(), denoise_vaapi_init(), overlay_vaapi_init(), procamp_vaapi_init(), scale_vaapi_init(), sharpness_vaapi_init(), tonemap_vaapi_init(), transpose_vaapi_init(), and vaapi_stack_init().
void ff_vaapi_vpp_ctx_uninit | ( | AVFilterContext * | avctx | ) |
Definition at line 723 of file vaapi_vpp.c.
Referenced by overlay_vaapi_uninit().
int ff_vaapi_vpp_query_formats | ( | AVFilterContext * | avctx | ) |
Definition at line 27 of file vaapi_vpp.c.
void ff_vaapi_vpp_pipeline_uninit | ( | AVFilterContext * | avctx | ) |
Definition at line 48 of file vaapi_vpp.c.
Referenced by deint_vaapi_pipeline_uninit(), denoise_vaapi_init(), procamp_vaapi_init(), scale_vaapi_init(), sharpness_vaapi_init(), tonemap_vaapi_init(), and transpose_vaapi_init().
int ff_vaapi_vpp_config_input | ( | AVFilterLink * | inlink | ) |
Definition at line 74 of file vaapi_vpp.c.
Referenced by config_output(), and overlay_vaapi_config_input_main().
int ff_vaapi_vpp_config_output | ( | AVFilterLink * | outlink | ) |
Definition at line 99 of file vaapi_vpp.c.
Referenced by config_output(), deint_vaapi_config_output(), overlay_vaapi_config_output(), scale_vaapi_config_output(), and transpose_vaapi_vpp_config_output().
int ff_vaapi_vpp_init_params | ( | AVFilterContext * | avctx, |
VAProcPipelineParameterBuffer * | params, | ||
const AVFrame * | input_frame, | ||
AVFrame * | output_frame | ||
) |
Definition at line 528 of file vaapi_vpp.c.
Referenced by deint_vaapi_filter_frame(), misc_vaapi_filter_frame(), overlay_vaapi_blend(), procamp_vaapi_filter_frame(), process_frame(), scale_vaapi_filter_frame(), tonemap_vaapi_filter_frame(), and transpose_vaapi_filter_frame().
int ff_vaapi_vpp_make_param_buffers | ( | AVFilterContext * | avctx, |
int | type, | ||
const void * | data, | ||
size_t | size, | ||
int | count | ||
) |
Definition at line 577 of file vaapi_vpp.c.
Referenced by deint_vaapi_build_filter_params(), denoise_vaapi_build_filter_params(), procamp_vaapi_build_filter_params(), sharpness_vaapi_build_filter_params(), and tonemap_vaapi_build_filter_params().
int ff_vaapi_vpp_render_picture | ( | AVFilterContext * | avctx, |
VAProcPipelineParameterBuffer * | params, | ||
AVFrame * | output_frame | ||
) |
Definition at line 702 of file vaapi_vpp.c.
Referenced by deint_vaapi_filter_frame(), misc_vaapi_filter_frame(), procamp_vaapi_filter_frame(), scale_vaapi_filter_frame(), tonemap_vaapi_filter_frame(), and transpose_vaapi_filter_frame().
int ff_vaapi_vpp_render_pictures | ( | AVFilterContext * | avctx, |
VAProcPipelineParameterBuffer * | params_list, | ||
int | count, | ||
AVFrame * | output_frame | ||
) |
Definition at line 634 of file vaapi_vpp.c.
Referenced by ff_vaapi_vpp_render_picture(), overlay_vaapi_blend(), and process_frame().