#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ do_despill_slice()
◆ filter_frame()
◆ config_output()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
despill |
| ) |
|
◆ pixel_fmts
◆ despill_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 125 of file vf_despill.c.
◆ despill_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 134 of file vf_despill.c.
◆ despill_options
◆ ff_vf_despill
Initial value:= {
.name = "despill",
.priv_class = &despill_class,
}
Definition at line 161 of file vf_despill.c.
#define FILTER_PIXFMTS_ARRAY(array)
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
static int filter_frame(AVFilterLink *link, AVFrame *frame)
static av_cold int config_output(AVFilterLink *outlink)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
#define FILTER_INPUTS(array)
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
@ AV_PIX_FMT_ABGR
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags)
Generic processing of user supplied commands that are set in the same way as the filter options.
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
static const AVFilterPad despill_inputs[]
static enum AVPixelFormat pixel_fmts[]
static const AVFilterPad despill_outputs[]
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
static const int16_t alpha[]
#define FILTER_OUTPUTS(array)
#define AVFILTERPAD_FLAG_NEEDS_WRITABLE
The filter expects writable frames from its input link, duplicating data buffers if needed.