#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "vaapi_vpp.h"
Go to the source code of this file.
◆ DENOISE_MIN
◆ DENOISE_MAX
◆ DENOISE_DEFAULT
#define DENOISE_DEFAULT 0 |
◆ SHARPNESS_MIN
◆ SHARPNESS_MAX
◆ SHARPNESS_DEFAULT
#define SHARPNESS_DEFAULT 44 |
◆ DOFFSET
◆ FLAGS
◆ SOFFSET
◆ map()
static float map |
( |
int |
x, |
|
|
int |
in_min, |
|
|
int |
in_max, |
|
|
float |
out_min, |
|
|
float |
out_max |
|
) |
| |
|
static |
◆ denoise_vaapi_build_filter_params()
◆ sharpness_vaapi_build_filter_params()
◆ misc_vaapi_filter_frame()
◆ denoise_vaapi_init()
◆ sharpness_vaapi_init()
◆ AVFILTER_DEFINE_CLASS() [1/2]
AVFILTER_DEFINE_CLASS |
( |
denoise_vaapi |
| ) |
|
◆ AVFILTER_DEFINE_CLASS() [2/2]
AVFILTER_DEFINE_CLASS |
( |
sharpness_vaapi |
| ) |
|
◆ denoise_vaapi_options
Initial value:= {
{ "denoise", "denoise level",
}
Definition at line 230 of file vf_misc_vaapi.c.
◆ sharpness_vaapi_options
const AVOption sharpness_vaapi_options[] |
|
static |
Initial value:= {
{ "sharpness", "sharpness level",
}
#define SHARPNESS_DEFAULT
Definition at line 237 of file vf_misc_vaapi.c.
◆ misc_vaapi_inputs
Initial value:= {
{
.name = "default",
},
}
int ff_vaapi_vpp_config_input(AVFilterLink *inlink)
static int misc_vaapi_filter_frame(AVFilterLink *inlink, AVFrame *input_frame)
Definition at line 246 of file vf_misc_vaapi.c.
◆ misc_vaapi_outputs
Initial value:= {
{
.name = "default",
},
}
int ff_vaapi_vpp_config_output(AVFilterLink *outlink)
Definition at line 256 of file vf_misc_vaapi.c.
◆ ff_vf_denoise_vaapi
Initial value:= {
.name = "denoise_vaapi",
.priv_class = &denoise_vaapi_class,
}
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
static const AVFilterPad misc_vaapi_inputs[]
static av_cold int init(AVCodecContext *avctx)
static const AVFilterPad misc_vaapi_outputs[]
static av_cold int uninit(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int denoise_vaapi_init(AVFilterContext *avctx)
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
int ff_vaapi_vpp_query_formats(AVFilterContext *avctx)
static int query_formats(AVFilterContext *ctx)
void ff_vaapi_vpp_ctx_uninit(AVFilterContext *avctx)
Definition at line 265 of file vf_misc_vaapi.c.
◆ ff_vf_sharpness_vaapi
Initial value:= {
.name = "sharpness_vaapi",
.priv_class = &sharpness_vaapi_class,
}
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
static const AVFilterPad misc_vaapi_inputs[]
static av_cold int init(AVCodecContext *avctx)
static const AVFilterPad misc_vaapi_outputs[]
static av_cold int uninit(AVCodecContext *avctx)
static av_cold int sharpness_vaapi_init(AVFilterContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
int ff_vaapi_vpp_query_formats(AVFilterContext *avctx)
static int query_formats(AVFilterContext *ctx)
void ff_vaapi_vpp_ctx_uninit(AVFilterContext *avctx)
Definition at line 278 of file vf_misc_vaapi.c.