Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (colorlevels) |
|
static int | colorlevels_slice_8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_slice_16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_preserve_slice_8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_preserve_slice_16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_slice_8_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_slice_9_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_slice_10_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_slice_12_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_slice_14_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_slice_16_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_slice_32_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_preserve_slice_8_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_preserve_slice_9_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_preserve_slice_10_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_preserve_slice_12_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_preserve_slice_14_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_preserve_slice_16_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | colorlevels_preserve_slice_32_planar (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
|
static int | config_input (AVFilterLink *inlink) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
◆ OFFSET
◆ FLAGS
◆ DO_COMMON
◆ CLIP8
◆ CLIP16
◆ NOCLIP
#define NOCLIP |
( |
|
x, |
|
|
|
depth |
|
) |
| (x) |
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
colorlevels |
| ) |
|
◆ colorlevels_slice_8()
◆ colorlevels_slice_16()
◆ colorlevels_preserve_slice_8()
◆ colorlevels_preserve_slice_16()
◆ colorlevels_slice_8_planar()
◆ colorlevels_slice_9_planar()
◆ colorlevels_slice_10_planar()
◆ colorlevels_slice_12_planar()
◆ colorlevels_slice_14_planar()
◆ colorlevels_slice_16_planar()
◆ colorlevels_slice_32_planar()
◆ colorlevels_preserve_slice_8_planar()
◆ colorlevels_preserve_slice_9_planar()
◆ colorlevels_preserve_slice_10_planar()
◆ colorlevels_preserve_slice_12_planar()
◆ colorlevels_preserve_slice_14_planar()
◆ colorlevels_preserve_slice_16_planar()
◆ colorlevels_preserve_slice_32_planar()
◆ config_input()
◆ filter_frame()
◆ colorlevels_options
◆ colorlevels_inputs
◆ ff_vf_colorlevels
Initial value:= {
.name = "colorlevels",
.priv_class = &colorlevels_class,
}
Definition at line 560 of file vf_colorlevels.c.
#define AV_PIX_FMT_GBRAP16
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
static const AVFilterPad colorlevels_inputs[]
static void preserve_color(int preserve_color, float ir, float ig, float ib, float r, float g, float b, float max, float *icolor, float *ocolor)
@ AV_PIX_FMT_BGR24
packed RGB 8:8:8, 24bpp, BGRBGR...
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
static int config_input(AVFilterLink *inlink)
#define AV_PIX_FMT_GBRP14
@ AV_PIX_FMT_GBRAP
planar GBRA 4:4:4:4 32bpp
#define AV_PIX_FMT_GBRP10
const AVFilterPad ff_video_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_VIDEO.
#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.
#define FILTER_PIXFMTS(...)
#define AV_PIX_FMT_GBRPF32
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
@ AV_PIX_FMT_0BGR
packed BGR 8:8:8, 32bpp, XBGRXBGR... X=unused/undefined
#define AV_PIX_FMT_GBRAPF32
@ 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