FFmpeg
|
#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.
Data Structures | |
struct | HueSaturationContext |
Macros | |
#define | R 0 |
#define | G 1 |
#define | B 2 |
#define | REDS 0 |
#define | YELLOWS 1 |
#define | GREENS 2 |
#define | CYANS 3 |
#define | BLUES 4 |
#define | MAGENTAS 5 |
#define | RED (1 << REDS) |
#define | YELLOW (1 << YELLOWS) |
#define | GREEN (1 << GREENS) |
#define | CYAN (1 << CYANS) |
#define | BLUE (1 << BLUES) |
#define | MAGENTA (1 << MAGENTAS) |
#define | ALL 0x3F |
#define | DENOM 0x10000 |
#define | FAST_DIV255(x) ((((x) + 128) * 257) >> 16) |
#define | HUESATURATION(name, type, clip, xall) |
#define | OFFSET(x) offsetof(HueSaturationContext, x) |
#define | VF AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Variables | |
static enum AVPixelFormat | pixel_fmts [] |
static const AVFilterPad | huesaturation_inputs [] |
static const AVFilterPad | huesaturation_outputs [] |
static const AVOption | huesaturation_options [] |
const AVFilter | ff_vf_huesaturation |
#define R 0 |
Definition at line 27 of file vf_huesaturation.c.
#define G 1 |
Definition at line 28 of file vf_huesaturation.c.
#define B 2 |
Definition at line 29 of file vf_huesaturation.c.
#define REDS 0 |
Definition at line 31 of file vf_huesaturation.c.
#define YELLOWS 1 |
Definition at line 32 of file vf_huesaturation.c.
#define GREENS 2 |
Definition at line 33 of file vf_huesaturation.c.
#define CYANS 3 |
Definition at line 34 of file vf_huesaturation.c.
#define BLUES 4 |
Definition at line 35 of file vf_huesaturation.c.
#define MAGENTAS 5 |
Definition at line 36 of file vf_huesaturation.c.
#define RED (1 << REDS) |
Definition at line 38 of file vf_huesaturation.c.
#define YELLOW (1 << YELLOWS) |
Definition at line 39 of file vf_huesaturation.c.
#define GREEN (1 << GREENS) |
Definition at line 40 of file vf_huesaturation.c.
#define CYAN (1 << CYANS) |
Definition at line 41 of file vf_huesaturation.c.
#define BLUE (1 << BLUES) |
Definition at line 42 of file vf_huesaturation.c.
#define MAGENTA (1 << MAGENTAS) |
Definition at line 43 of file vf_huesaturation.c.
#define ALL 0x3F |
Definition at line 44 of file vf_huesaturation.c.
#define DENOM 0x10000 |
Definition at line 71 of file vf_huesaturation.c.
#define FAST_DIV255 | ( | x | ) | ((((x) + 128) * 257) >> 16) |
Definition at line 82 of file vf_huesaturation.c.
Definition at line 94 of file vf_huesaturation.c.
#define OFFSET | ( | x | ) | offsetof(HueSaturationContext, x) |
Definition at line 444 of file vf_huesaturation.c.
Definition at line 445 of file vf_huesaturation.c.
Definition at line 73 of file vf_huesaturation.c.
Definition at line 84 of file vf_huesaturation.c.
Definition at line 89 of file vf_huesaturation.c.
|
static |
Definition at line 179 of file vf_huesaturation.c.
Referenced by init_matrix().
Definition at line 186 of file vf_huesaturation.c.
Referenced by colorscale_matrix(), saturation_matrix(), x_rotate_matrix(), y_rotate_matrix(), z_rotate_matrix(), and z_shear_matrix().
Definition at line 205 of file vf_huesaturation.c.
Referenced by init_matrix().
|
static |
Definition at line 217 of file vf_huesaturation.c.
Referenced by init_matrix().
|
static |
Definition at line 240 of file vf_huesaturation.c.
Referenced by init_matrix().
Definition at line 247 of file vf_huesaturation.c.
Referenced by hue_rotate_matrix(), and shue_rotate_matrix().
Definition at line 259 of file vf_huesaturation.c.
Referenced by hue_rotate_matrix(), and shue_rotate_matrix().
Definition at line 271 of file vf_huesaturation.c.
Referenced by hue_rotate_matrix(), and shue_rotate_matrix().
Definition at line 283 of file vf_huesaturation.c.
Referenced by hue_rotate_matrix().
|
static |
Definition at line 295 of file vf_huesaturation.c.
Referenced by hue_rotate_matrix().
|
static |
Definition at line 305 of file vf_huesaturation.c.
Referenced by init_matrix().
Definition at line 339 of file vf_huesaturation.c.
Referenced by init_matrix().
|
static |
Definition at line 361 of file vf_huesaturation.c.
Referenced by filter_frame().
|
static |
Definition at line 381 of file vf_huesaturation.c.
|
static |
Definition at line 405 of file vf_huesaturation.c.
AVFILTER_DEFINE_CLASS | ( | huesaturation | ) |
|
static |
Definition at line 394 of file vf_huesaturation.c.
|
static |
Definition at line 427 of file vf_huesaturation.c.
|
static |
Definition at line 437 of file vf_huesaturation.c.
|
static |
Definition at line 447 of file vf_huesaturation.c.
const AVFilter ff_vf_huesaturation |
Definition at line 469 of file vf_huesaturation.c.