= {
.p.name = "colorkey_opencl",
.p.description =
NULL_IF_CONFIG_SMALL(
"Turns a certain color into transparency. Operates on RGB colors."),
.p.priv_class = &colorkey_opencl_class,
}
int(* init)(AVBSFContext *ctx)
#define AVFILTER_FLAG_HWDEVICE
The filter can create hardware frames using AVFilterContext.hw_device_ctx.
static av_cold void uninit(AVBitStreamFilterContext *ctx)
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FF_FILTER_FLAG_HWFRAME_AWARE
The filter is aware of hardware frames, and any hardware frame context should not be automatically pr...
#define FILTER_SINGLE_PIXFMT(pix_fmt_)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
int ff_opencl_filter_init(AVFilterContext *avctx)
Initialise an OpenCL filter context.
@ AV_PIX_FMT_OPENCL
Hardware surfaces for OpenCL.
static av_cold void colorkey_opencl_uninit(AVFilterContext *avctx)
static const AVFilterPad colorkey_opencl_inputs[]
static const AVFilterPad colorkey_opencl_outputs[]