#include <float.h>
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
|
static float | lerpf (float v0, float v1, float f) |
|
static int | colorcontrast_slice8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorcontrast_slice16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorcontrast_slice8p (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorcontrast_slice16p (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | filter_frame (AVFilterLink *link, AVFrame *frame) |
|
static av_cold int | config_input (AVFilterLink *inlink) |
|
| AVFILTER_DEFINE_CLASS (colorcontrast) |
|
◆ PROCESS
◆ OFFSET
◆ VF
◆ lerpf()
◆ colorcontrast_slice8()
◆ colorcontrast_slice16()
◆ colorcontrast_slice8p()
◆ colorcontrast_slice16p()
◆ filter_frame()
◆ config_input()
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
colorcontrast |
| ) |
|
◆ pixel_fmts
◆ colorcontrast_inputs
◆ colorcontrast_outputs
◆ colorcontrast_options
◆ ff_vf_colorcontrast
Initial value:= {
.name = "colorcontrast",
.priv_class = &colorcontrast_class,
}
Definition at line 385 of file vf_colorcontrast.c.
#define AV_PIX_FMT_GBRAP16
#define FILTER_PIXFMTS_ARRAY(array)
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
#define AV_PIX_FMT_GBRP14
@ AV_PIX_FMT_GBRAP
planar GBRA 4:4:4:4 32bpp
#define AV_PIX_FMT_GBRP10
#define AV_PIX_FMT_GBRAP10
#define AV_PIX_FMT_GBRAP12
#define FILTER_INPUTS(array)
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
#define AV_PIX_FMT_GBRP16
#define AV_PIX_FMT_RGBA64
@ AV_PIX_FMT_BGR0
packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined
@ AV_PIX_FMT_ABGR
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
@ AV_PIX_FMT_RGB24
packed RGB 8:8:8, 24bpp, RGBRGB...
#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.
@ AV_PIX_FMT_RGB0
packed RGB 8:8:8, 32bpp, RGBXRGBX... X=unused/undefined
#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...
#define AV_PIX_FMT_BGRA64
#define AV_PIX_FMT_GBRP12
static int filter_frame(AVFilterLink *link, AVFrame *frame)
@ AV_PIX_FMT_0BGR
packed BGR 8:8:8, 32bpp, XBGRXBGR... X=unused/undefined
static const AVFilterPad colorcontrast_outputs[]
static enum AVPixelFormat pixel_fmts[]
static const AVFilterPad colorcontrast_inputs[]
@ AV_PIX_FMT_GBRP
planar GBR 4:4:4 24bpp
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
#define FILTER_OUTPUTS(array)
@ AV_PIX_FMT_0RGB
packed RGB 8:8:8, 32bpp, XRGBXRGB... X=unused/undefined
static av_cold int config_input(AVFilterLink *inlink)
#define AVFILTERPAD_FLAG_NEEDS_WRITABLE
The filter expects writable frames from its input link, duplicating data buffers if needed.