Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ is_format_supported()
◆ nlmeans_opencl_init()
static int nlmeans_opencl_init |
( |
AVFilterContext * |
avctx, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
◆ nlmeans_plane()
static int nlmeans_plane |
( |
AVFilterContext * |
avctx, |
|
|
cl_mem |
dst, |
|
|
cl_mem |
src, |
|
|
cl_int |
width, |
|
|
cl_int |
height, |
|
|
cl_int |
p, |
|
|
cl_int |
r |
|
) |
| |
|
static |
◆ nlmeans_opencl_filter_frame()
◆ nlmeans_opencl_uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
nlmeans_opencl |
| ) |
|
◆ supported_formats
◆ nlmeans_opencl_options
◆ nlmeans_opencl_inputs
◆ nlmeans_opencl_outputs
◆ ff_vf_nlmeans_opencl
Initial value:= {
.name = "nlmeans_opencl",
.priv_class = &nlmeans_opencl_class,
}
Definition at line 430 of file vf_nlmeans_opencl.c.
#define FILTER_INPUTS(array)
static const AVFilterPad nlmeans_opencl_outputs[]
int ff_opencl_filter_config_output(AVFilterLink *outlink)
Create a suitable hardware frames context for the output.
@ AV_OPT_TYPE_DOUBLE
Underlying C type is double.
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define FILTER_OUTPUTS(array)
@ AV_PIX_FMT_OPENCL
Hardware surfaces for OpenCL.
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
int(* init)(AVBSFContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define AVFILTER_FLAG_HWDEVICE
The filter can create hardware frames using AVFilterContext.hw_device_ctx.
static const AVFilterPad nlmeans_opencl_inputs[]
static av_cold void nlmeans_opencl_uninit(AVFilterContext *avctx)
int ff_opencl_filter_config_input(AVFilterLink *inlink)
Check that the input link contains a suitable hardware frames context and extract the device from it.
static void uninit(AVBSFContext *ctx)
int ff_opencl_filter_init(AVFilterContext *avctx)
Initialise an OpenCL filter context.
@ AV_OPT_TYPE_INT
Underlying C type is int.
static int nlmeans_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_GBRP
planar GBR 4:4:4 24bpp
#define FILTER_SINGLE_PIXFMT(pix_fmt_)