Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ is_format_supported()
◆ nlmeans_opencl_init()
◆ 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 432 of file vf_nlmeans_opencl.c.
static av_cold int init(AVCodecContext *avctx)
#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 nlmeans_opencl_outputs[]
int ff_opencl_filter_config_output(AVFilterLink *outlink)
Create a suitable hardware frames context for the output.
static const AVFilterPad outputs[]
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
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.
int ff_opencl_filter_init(AVFilterContext *avctx)
Initialise an OpenCL filter context.
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
static int query_formats(AVFilterContext *ctx)
static av_cold int uninit(AVCodecContext *avctx)
int ff_opencl_filter_query_formats(AVFilterContext *avctx)
Return that all inputs and outputs support only AV_PIX_FMT_OPENCL.