|
FFmpeg
|
Apply a hue/saturation filter to the input video Ported from MPlayer libmpcodecs/vf_hue.c. More...
#include <float.h>#include "libavutil/eval.h"#include "libavutil/imgutils.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "avfilter.h"#include "filters.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | HueContext |
Macros | |
| #define | SAT_MIN_VAL -10 |
| #define | SAT_MAX_VAL 10 |
| #define | OFFSET(x) |
| #define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
| #define | SET_EXPR(expr, option) |
| #define | SET_EXPR(expr, option) |
Enumerations | |
| enum | var_name { VAR_N , VAR_PTS , VAR_R , VAR_T , VAR_TB , VAR_NB } |
Functions | |
| AVFILTER_DEFINE_CLASS (hue) | |
| static void | compute_sin_and_cos (HueContext *hue) |
| static void | create_luma_lut (HueContext *h) |
| static void | create_chrominance_lut (HueContext *h, const int32_t c, const int32_t s) |
| static int | set_expr (AVExpr **pexpr_ptr, char **expr_ptr, const char *expr, const char *option, void *log_ctx) |
| static av_cold int | init (AVFilterContext *ctx) |
| static av_cold void | uninit (AVFilterContext *ctx) |
| static int | config_props (AVFilterLink *inlink) |
| static void | apply_luma_lut (HueContext *s, uint8_t *ldst, const int dst_linesize, uint8_t *lsrc, const int src_linesize, int w, int h) |
| static void | apply_luma_lut10 (HueContext *s, uint16_t *ldst, const int dst_linesize, uint16_t *lsrc, const int src_linesize, int w, int h) |
| static void | apply_lut (HueContext *s, uint8_t *udst, uint8_t *vdst, const int dst_linesize, uint8_t *usrc, uint8_t *vsrc, const int src_linesize, int w, int h) |
| static void | apply_lut10 (HueContext *s, uint16_t *udst, uint16_t *vdst, const int dst_linesize, uint16_t *usrc, uint16_t *vsrc, const int src_linesize, int w, int h) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *inpic) |
| static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
Variables | |
| static const char *const | var_names [] |
| static const AVOption | hue_options [] |
| static enum AVPixelFormat | pix_fmts [] |
| static const AVFilterPad | hue_inputs [] |
| const FFFilter | ff_vf_hue |
Apply a hue/saturation filter to the input video Ported from MPlayer libmpcodecs/vf_hue.c.
Definition in file vf_hue.c.
| #define SAT_MIN_VAL -10 |
Definition at line 39 of file vf_hue.c.
Referenced by filter_frame().
| #define SAT_MAX_VAL 10 |
Definition at line 40 of file vf_hue.c.
Referenced by filter_frame().
| #define OFFSET | ( | x | ) |
| #define SET_EXPR | ( | expr, | |
| option ) |
Referenced by init(), and process_command().
| #define SET_EXPR | ( | expr, | |
| option ) |
| enum var_name |
| AVFILTER_DEFINE_CLASS | ( | hue | ) |
|
inlinestatic |
Definition at line 104 of file vf_hue.c.
Referenced by filter_frame(), and init().
|
inlinestatic |
Definition at line 115 of file vf_hue.c.
Referenced by filter_frame().
|
inlinestatic |
Definition at line 128 of file vf_hue.c.
Referenced by filter_frame().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 282 of file vf_hue.c.
Referenced by filter_frame().
|
static |
Definition at line 298 of file vf_hue.c.
Referenced by filter_frame().
|
static |
Definition at line 314 of file vf_hue.c.
Referenced by filter_frame().
|
static |
Definition at line 337 of file vf_hue.c.
Referenced by filter_frame().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| const FFFilter ff_vf_hue |