FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/xga_font_data.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | ThreadData |
Used for passing data between threads. More... | |
struct | GraticuleLine |
struct | GraticuleLines |
struct | WaveformContext |
Macros | |
#define | OFFSET(x) offsetof(WaveformContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | LOWPASS16_FUNC(name, column, mirror) |
#define | LOWPASS_FUNC(name, column, mirror) |
#define | FLAT16_FUNC(name, column, mirror) |
#define | FLAT_FUNC(name, column, mirror) |
#define | AFLAT16(name, update_cr, column, mirror) |
#define | AFLAT(name, update_cr, column, mirror) |
#define | CHROMA16_FUNC(name, column, mirror) |
#define | CHROMA_FUNC(name, column, mirror) |
#define | COLOR16_FUNC(name, column, mirror) |
#define | COLOR_FUNC(name, column, mirror) |
#define | ACOLOR16_FUNC(name, column, mirror) |
#define | ACOLOR_FUNC(name, column, mirror) |
Enumerations | |
enum | FilterType { BUTTERWORTH, CHEBYSHEV1, CHEBYSHEV2, NB_TYPES, biquad, equalizer, bass, treble, bandpass, bandreject, allpass, highpass, lowpass, lowshelf, highshelf, WEAK, STRONG, NB_FILTER, LOWPASS, FLAT, AFLAT, CHROMA, COLOR, ACOLOR, XFLAT, NB_FILTERS } |
enum | DisplayType { OVERLAY, STACK, PARADE, NB_DISPLAYS } |
enum | ScaleType { DIGITAL, MILLIVOLTS, IRE, NB_SCALES } |
Functions | |
AVFILTER_DEFINE_CLASS (waveform) | |
static int | query_formats (AVFilterContext *ctx) |
static void | envelope_instant16 (WaveformContext *s, AVFrame *out, int plane, int component, int offset) |
static void | envelope_instant (WaveformContext *s, AVFrame *out, int plane, int component, int offset) |
static void | envelope_peak16 (WaveformContext *s, AVFrame *out, int plane, int component, int offset) |
static void | envelope_peak (WaveformContext *s, AVFrame *out, int plane, int component, int offset) |
static void | envelope16 (WaveformContext *s, AVFrame *out, int plane, int component, int offset) |
static void | envelope (WaveformContext *s, AVFrame *out, int plane, int component, int offset) |
static void | update16 (uint16_t *target, int max, int intensity, int limit) |
static void | update (uint8_t *target, int max, int intensity) |
static void | update_cr (uint8_t *target, int unused, int intensity) |
static void | update16_cr (uint16_t *target, int unused, int intensity, int limit) |
static av_always_inline void | lowpass16 (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static av_always_inline void | lowpass (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static av_always_inline void | flat16 (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static av_always_inline void | flat (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static av_always_inline void | chroma16 (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static av_always_inline void | chroma (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static av_always_inline void | color16 (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static av_always_inline void | color (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static av_always_inline void | acolor16 (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static av_always_inline void | acolor (WaveformContext *s, AVFrame *in, AVFrame *out, int component, int intensity, int offset_y, int offset_x, int column, int mirror, int jobnr, int nb_jobs) |
static void | blend_vline (uint8_t *dst, int height, int linesize, float o1, float o2, int v, int step) |
static void | blend_vline16 (uint16_t *dst, int height, int linesize, float o1, float o2, int v, int step) |
static void | blend_hline (uint8_t *dst, int width, float o1, float o2, int v, int step) |
static void | blend_hline16 (uint16_t *dst, int width, float o1, float o2, int v, int step) |
static void | draw_htext (AVFrame *out, int x, int y, float o1, float o2, const char *txt, const uint8_t color[4]) |
static void | draw_htext16 (AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) |
static void | draw_vtext (AVFrame *out, int x, int y, float o1, float o2, const char *txt, const uint8_t color[4]) |
static void | draw_vtext16 (AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) |
static void | graticule_none (WaveformContext *s, AVFrame *out) |
static void | graticule_row (WaveformContext *s, AVFrame *out) |
static void | graticule16_row (WaveformContext *s, AVFrame *out) |
static void | graticule_column (WaveformContext *s, AVFrame *out) |
static void | graticule16_column (WaveformContext *s, AVFrame *out) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static av_cold void | uninit (AVFilterContext *ctx) |
#define OFFSET | ( | x | ) | offsetof(WaveformContext, x) |
Definition at line 114 of file vf_waveform.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 115 of file vf_waveform.c.
#define LOWPASS16_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 712 of file vf_waveform.c.
#define LOWPASS_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 820 of file vf_waveform.c.
#define FLAT16_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 959 of file vf_waveform.c.
#define FLAT_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 1096 of file vf_waveform.c.
Definition at line 1121 of file vf_waveform.c.
Definition at line 1255 of file vf_waveform.c.
Referenced by config_input(), filter_frame(), and query_formats().
#define CHROMA16_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 1486 of file vf_waveform.c.
#define CHROMA_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 1590 of file vf_waveform.c.
#define COLOR16_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 1723 of file vf_waveform.c.
#define COLOR_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 1855 of file vf_waveform.c.
#define ACOLOR16_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 1989 of file vf_waveform.c.
#define ACOLOR_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 2122 of file vf_waveform.c.
enum FilterType |
Definition at line 40 of file vf_waveform.c.
enum DisplayType |
Enumerator | |
---|---|
OVERLAY | |
STACK | |
PARADE | |
NB_DISPLAYS |
Definition at line 51 of file vf_waveform.c.
enum ScaleType |
Enumerator | |
---|---|
DIGITAL | |
MILLIVOLTS | |
IRE | |
NB_SCALES |
Definition at line 58 of file vf_waveform.c.
AVFILTER_DEFINE_CLASS | ( | waveform | ) |
|
static |
Definition at line 288 of file vf_waveform.c.
|
static |
Definition at line 362 of file vf_waveform.c.
Referenced by envelope16(), and envelope_peak16().
|
static |
Definition at line 410 of file vf_waveform.c.
Referenced by envelope(), and envelope_peak().
|
static |
Definition at line 457 of file vf_waveform.c.
Referenced by envelope16().
|
static |
Definition at line 527 of file vf_waveform.c.
Referenced by envelope().
|
static |
Definition at line 596 of file vf_waveform.c.
Referenced by filter_frame().
|
static |
Definition at line 607 of file vf_waveform.c.
Referenced by filter_frame().
Definition at line 618 of file vf_waveform.c.
Referenced by acolor16(), chroma16(), flat16(), and lowpass16().
Definition at line 634 of file vf_waveform.c.
Definition at line 642 of file vf_waveform.c.
|
static |
Definition at line 650 of file vf_waveform.c.
|
static |
Definition at line 737 of file vf_waveform.c.
|
static |
Definition at line 845 of file vf_waveform.c.
|
static |
Definition at line 984 of file vf_waveform.c.
Referenced by ff_loop_filter_h_44_16_msa(), ff_loop_filter_h_48_16_msa(), ff_loop_filter_h_4_8_msa(), ff_loop_filter_h_84_16_msa(), ff_loop_filter_h_88_16_msa(), ff_loop_filter_h_8_8_msa(), ff_loop_filter_v_16_8_msa(), ff_loop_filter_v_44_16_msa(), ff_loop_filter_v_48_16_msa(), ff_loop_filter_v_4_8_msa(), ff_loop_filter_v_84_16_msa(), ff_loop_filter_v_88_16_msa(), ff_loop_filter_v_8_8_msa(), ff_vp8_h_loop_filter16_inner_msa(), ff_vp8_h_loop_filter16_msa(), ff_vp8_h_loop_filter8uv_inner_msa(), ff_vp8_h_loop_filter8uv_msa(), ff_vp8_v_loop_filter16_inner_msa(), ff_vp8_v_loop_filter16_msa(), ff_vp8_v_loop_filter8uv_inner_msa(), ff_vp8_v_loop_filter8uv_msa(), flat_init(), flat_print_section_header(), flat_print_str(), vp9_hz_lpf_t16_16w(), vp9_hz_lpf_t4_and_t8_16w(), vp9_vt_lpf_t16_16w(), vp9_vt_lpf_t16_8w(), vp9_vt_lpf_t4_and_t8_16w(), and vp9_vt_lpf_t4_and_t8_8w().
|
static |
Definition at line 1405 of file vf_waveform.c.
|
static |
Definition at line 1511 of file vf_waveform.c.
Referenced by check_idct_dc4(), deblocking_filter_CTB(), ff_h264_filter_mb(), fic_draw_cursor(), filter_frame(), h264_filter_mb_fast_internal(), pred_weight_table(), rv40_adaptive_loop_filter(), set_frame_data(), ulti_decode_frame(), and x8_decode_intra_mb().
|
static |
Definition at line 1615 of file vf_waveform.c.
|
static |
Definition at line 1748 of file vf_waveform.c.
|
static |
Definition at line 1880 of file vf_waveform.c.
|
static |
Definition at line 2014 of file vf_waveform.c.
|
static |
Definition at line 2462 of file vf_waveform.c.
Referenced by graticule_row().
|
static |
Definition at line 2473 of file vf_waveform.c.
Referenced by graticule16_row().
Definition at line 2484 of file vf_waveform.c.
Referenced by graticule_column().
Definition at line 2493 of file vf_waveform.c.
Referenced by graticule16_column().
|
static |
Definition at line 2502 of file vf_waveform.c.
Referenced by graticule_column().
|
static |
Definition at line 2528 of file vf_waveform.c.
Referenced by graticule16_column().
|
static |
Definition at line 2554 of file vf_waveform.c.
Referenced by graticule_row().
|
static |
Definition at line 2579 of file vf_waveform.c.
Referenced by graticule16_row().
|
static |
Definition at line 2604 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2608 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2649 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2691 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2732 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2774 of file vf_waveform.c.
|
static |
Definition at line 3016 of file vf_waveform.c.
|
static |
Definition at line 3078 of file vf_waveform.c.
|
static |
Definition at line 3173 of file vf_waveform.c.
|
static |
Definition at line 117 of file vf_waveform.c.
|
static |
Definition at line 171 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 189 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 206 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 221 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 226 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 231 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 236 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 241 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 246 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 251 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 256 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 261 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 266 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 271 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 276 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 281 of file vf_waveform.c.
|
static |
Definition at line 2147 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2148 of file vf_waveform.c.
|
static |
Definition at line 2150 of file vf_waveform.c.
|
static |
Definition at line 2156 of file vf_waveform.c.
|
static |
Definition at line 2162 of file vf_waveform.c.
|
static |
Definition at line 2168 of file vf_waveform.c.
|
static |
Definition at line 2174 of file vf_waveform.c.
|
static |
Definition at line 2182 of file vf_waveform.c.
|
static |
Definition at line 2190 of file vf_waveform.c.
|
static |
Definition at line 2198 of file vf_waveform.c.
|
static |
Definition at line 2206 of file vf_waveform.c.
|
static |
Definition at line 2216 of file vf_waveform.c.
|
static |
Definition at line 2226 of file vf_waveform.c.
|
static |
Definition at line 2236 of file vf_waveform.c.
|
static |
Definition at line 2246 of file vf_waveform.c.
|
static |
Definition at line 2252 of file vf_waveform.c.
|
static |
Definition at line 2258 of file vf_waveform.c.
|
static |
Definition at line 2264 of file vf_waveform.c.
|
static |
Definition at line 2270 of file vf_waveform.c.
|
static |
Definition at line 2278 of file vf_waveform.c.
|
static |
Definition at line 2286 of file vf_waveform.c.
|
static |
Definition at line 2294 of file vf_waveform.c.
|
static |
Definition at line 2302 of file vf_waveform.c.
|
static |
Definition at line 2312 of file vf_waveform.c.
|
static |
Definition at line 2322 of file vf_waveform.c.
|
static |
Definition at line 2332 of file vf_waveform.c.
|
static |
Definition at line 2342 of file vf_waveform.c.
|
static |
Definition at line 2348 of file vf_waveform.c.
|
static |
Definition at line 2354 of file vf_waveform.c.
|
static |
Definition at line 2360 of file vf_waveform.c.
|
static |
Definition at line 2366 of file vf_waveform.c.
|
static |
Definition at line 2374 of file vf_waveform.c.
|
static |
Definition at line 2382 of file vf_waveform.c.
|
static |
Definition at line 2390 of file vf_waveform.c.
|
static |
Definition at line 2398 of file vf_waveform.c.
|
static |
Definition at line 2406 of file vf_waveform.c.
|
static |
Definition at line 2414 of file vf_waveform.c.
|
static |
Definition at line 2422 of file vf_waveform.c.
|
static |
Definition at line 2430 of file vf_waveform.c.
|
static |
Definition at line 2438 of file vf_waveform.c.
|
static |
Definition at line 2446 of file vf_waveform.c.
|
static |
Definition at line 2454 of file vf_waveform.c.
|
static |
Definition at line 3180 of file vf_waveform.c.
|
static |
Definition at line 3190 of file vf_waveform.c.
AVFilter ff_vf_waveform |
Definition at line 3199 of file vf_waveform.c.