Go to the source code of this file.
◆ MAX_DIAMETER
◆ OFFSET
◆ FLAGS
◆ unsharp_opencl_init()
◆ unsharp_opencl_make_filter_params()
◆ unsharp_opencl_filter_frame()
◆ unsharp_opencl_uninit()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
unsharp_opencl |
| ) |
|
◆ unsharp_opencl_options
◆ unsharp_opencl_inputs
◆ unsharp_opencl_outputs
◆ ff_vf_unsharp_opencl
Initial value:= {
.name = "unsharp_opencl",
.priv_class = &unsharp_opencl_class,
}
Definition at line 401 of file vf_unsharp_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 int unsharp_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input)
int ff_opencl_filter_config_output(AVFilterLink *outlink)
Create a suitable hardware frames context for the output.
static const AVFilterPad unsharp_opencl_outputs[]
static const AVFilterPad outputs[]
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.
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 av_cold void unsharp_opencl_uninit(AVFilterContext *avctx)
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.
static const AVFilterPad unsharp_opencl_inputs[]