|
FFmpeg
|
#include "libavutil/intreadwrite.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "filters.h"Go to the source code of this file.
Data Structures | |
| struct | SignalstatsContext |
| struct | ThreadData |
| Used for passing data between threads. More... | |
| struct | ThreadDataHueSatMetrics |
Macros | |
| #define | OFFSET(x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
| #define | FILTER(i, j) |
| #define | FILTER3(j) |
| #define | VREP_START 4 |
| #define | SET_META(key, fmt, val) |
Enumerations | |
| enum | FilterMode { FILTER_NONE = -1 , FILTER_TOUT , FILTER_VREP , FILTER_BRNG , FILT_NUMB } |
Functions | |
| AVFILTER_DEFINE_CLASS (signalstats) | |
| static av_cold int | init (AVFilterContext *ctx) |
| static av_cold void | uninit (AVFilterContext *ctx) |
| static AVFrame * | alloc_frame (enum AVPixelFormat pixfmt, int w, int h) |
| static int | config_output (AVFilterLink *outlink) |
| static void | burn_frame8 (const SignalstatsContext *s, AVFrame *f, int x, int y) |
| static void | burn_frame16 (const SignalstatsContext *s, AVFrame *f, int x, int y) |
| static int | filter8_brng (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | filter16_brng (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | filter_tout_outlier (uint8_t x, uint8_t y, uint8_t z) |
| static int | filter8_tout (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | filter16_tout (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | filter8_vrep (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | filter16_vrep (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | compute_sat_hue_metrics8 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | compute_sat_hue_metrics16 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static unsigned | compute_bit_depth (uint16_t mask) |
| static int | filter_frame (AVFilterLink *link, AVFrame *in) |
Variables | ||
| static const AVOption | signalstats_options [] | |
| static enum AVPixelFormat | pix_fmts [] | |
| struct { | ||
| const char * name | ||
| int(* process8 )(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) | ||
| int(* process16 )(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) | ||
| } | filters_def [] | |
| static const AVFilterPad | signalstats_inputs [] | |
| static const AVFilterPad | signalstats_outputs [] | |
| const FFFilter | ff_vf_signalstats | |
| #define OFFSET | ( | x | ) |
Definition at line 71 of file vf_signalstats.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 72 of file vf_signalstats.c.
| #define FILTER | ( | i, | |
| j ) |
| #define FILTER3 | ( | j | ) |
Referenced by filter16_tout(), and filter8_tout().
| #define VREP_START 4 |
Definition at line 376 of file vf_signalstats.c.
Referenced by filter16_vrep(), and filter8_vrep().
Referenced by filter_frame().
| enum FilterMode |
| Enumerator | |
|---|---|
| FILTER_NONE | |
| FILTER_TOUT | |
| FILTER_VREP | |
| FILTER_BRNG | |
| FILT_NUMB | |
Definition at line 29 of file vf_signalstats.c.
| AVFILTER_DEFINE_CLASS | ( | signalstats | ) |
|
static |
Definition at line 90 of file vf_signalstats.c.
|
static |
Definition at line 107 of file vf_signalstats.c.
|
static |
Definition at line 136 of file vf_signalstats.c.
Referenced by config_output().
|
static |
Definition at line 154 of file vf_signalstats.c.
|
static |
Definition at line 194 of file vf_signalstats.c.
Referenced by filter8_brng(), filter8_tout(), and filter8_vrep().
|
static |
Definition at line 203 of file vf_signalstats.c.
Referenced by filter16_brng(), filter16_tout(), and filter16_vrep().
|
static |
Definition at line 213 of file vf_signalstats.c.
|
static |
Definition at line 247 of file vf_signalstats.c.
|
static |
Definition at line 282 of file vf_signalstats.c.
|
static |
Definition at line 287 of file vf_signalstats.c.
|
static |
Definition at line 335 of file vf_signalstats.c.
|
static |
Definition at line 378 of file vf_signalstats.c.
|
static |
Definition at line 412 of file vf_signalstats.c.
|
static |
Definition at line 458 of file vf_signalstats.c.
Referenced by filter_frame().
|
static |
Definition at line 496 of file vf_signalstats.c.
Referenced by filter_frame().
|
static |
Definition at line 535 of file vf_signalstats.c.
Referenced by filter_frame().
|
static |
Definition at line 540 of file vf_signalstats.c.
|
static |
Definition at line 74 of file vf_signalstats.c.
|
static |
Definition at line 121 of file vf_signalstats.c.
| const char* name |
Definition at line 448 of file vf_signalstats.c.
| int(* process8) (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) | ( | AVFilterContext * | ctx, |
| void * | arg, | ||
| int | jobnr, | ||
| int | nb_jobs ) |
Definition at line 449 of file vf_signalstats.c.
Referenced by filter_frame().
| int(* process16) (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) | ( | AVFilterContext * | ctx, |
| void * | arg, | ||
| int | jobnr, | ||
| int | nb_jobs ) |
Definition at line 450 of file vf_signalstats.c.
Referenced by filter_frame().
| const struct { ... } filters_def[] |
Referenced by filter_frame().
|
static |
Definition at line 814 of file vf_signalstats.c.
|
static |
Definition at line 822 of file vf_signalstats.c.
| const FFFilter ff_vf_signalstats |
Definition at line 830 of file vf_signalstats.c.