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_cb, update_cr, column, mirror) |
#define | AFLAT(name, update_cb, 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, YFLAT, NB_FILTERS } |
enum | DisplayType { OVERLAY, STACK, PARADE, NB_DISPLAYS } |
enum | ScaleType { DIGITAL, MILLIVOLTS, IRE, NB_SCALES } |
enum | GraticuleType { GRAT_NONE, GRAT_GREEN, GRAT_ORANGE, GRAT_INVERT, NB_GRATICULES } |
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 (uint8_t *ddst, int height, int linesize, float o1, float o2, int v, int step) |
static void | blend_hline (uint8_t *dst, int width, int unused, float o1, float o2, int v, int step) |
static void | blend_hline16 (uint8_t *ddst, int width, int unused, float o1, float o2, int v, int step) |
static void | draw_htext (AVFrame *out, int x, int y, int mult, 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, int mult, 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 | iblend_vline (uint8_t *dst, int height, int linesize, float o1, float o2, int v, int step) |
static void | iblend_vline16 (uint8_t *ddst, int height, int linesize, float o1, float o2, int v, int step) |
static void | iblend_hline (uint8_t *dst, int width, int unused, float o1, float o2, int v, int step) |
static void | iblend_hline16 (uint8_t *ddst, int width, int unused, float o1, float o2, int v, int step) |
static void | idraw_htext (AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) |
static void | idraw_htext16 (AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) |
static void | idraw_vtext (AVFrame *out, int x, int y, int mult, float o1, float o2, const char *txt, const uint8_t color[4]) |
static void | idraw_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 128 of file vf_waveform.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 129 of file vf_waveform.c.
Definition at line 735 of file vf_waveform.c.
Definition at line 843 of file vf_waveform.c.
Definition at line 982 of file vf_waveform.c.
Definition at line 1119 of file vf_waveform.c.
Definition at line 1144 of file vf_waveform.c.
Definition at line 1278 of file vf_waveform.c.
Referenced by config_input(), filter_frame(), and query_formats().
Definition at line 1517 of file vf_waveform.c.
Definition at line 1621 of file vf_waveform.c.
Definition at line 1754 of file vf_waveform.c.
Definition at line 1886 of file vf_waveform.c.
Definition at line 2020 of file vf_waveform.c.
Definition at line 2153 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 52 of file vf_waveform.c.
enum ScaleType |
Enumerator | |
---|---|
DIGITAL | |
MILLIVOLTS | |
IRE | |
NB_SCALES |
Definition at line 59 of file vf_waveform.c.
enum GraticuleType |
Enumerator | |
---|---|
GRAT_NONE | |
GRAT_GREEN | |
GRAT_ORANGE | |
GRAT_INVERT | |
NB_GRATICULES |
Definition at line 66 of file vf_waveform.c.
AVFILTER_DEFINE_CLASS | ( | waveform | ) |
|
static |
Definition at line 304 of file vf_waveform.c.
|
static |
Definition at line 385 of file vf_waveform.c.
Referenced by envelope16(), and envelope_peak16().
|
static |
Definition at line 433 of file vf_waveform.c.
Referenced by envelope(), and envelope_peak().
|
static |
Definition at line 480 of file vf_waveform.c.
Referenced by envelope16().
|
static |
Definition at line 550 of file vf_waveform.c.
Referenced by envelope().
|
static |
Definition at line 619 of file vf_waveform.c.
Referenced by filter_frame().
|
static |
Definition at line 630 of file vf_waveform.c.
Referenced by filter_frame().
Definition at line 641 of file vf_waveform.c.
Referenced by acolor16(), chroma16(), flat16(), and lowpass16().
Definition at line 657 of file vf_waveform.c.
Definition at line 665 of file vf_waveform.c.
|
static |
Definition at line 673 of file vf_waveform.c.
|
static |
Definition at line 760 of file vf_waveform.c.
|
static |
Definition at line 868 of file vf_waveform.c.
|
static |
Definition at line 1007 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 1436 of file vf_waveform.c.
|
static |
Definition at line 1542 of file vf_waveform.c.
Referenced by check_idct_dc4(), compute_quant_matrix(), deblocking_filter_CTB(), dv_init_enc_block(), 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 1646 of file vf_waveform.c.
|
static |
Definition at line 1779 of file vf_waveform.c.
|
static |
Definition at line 1911 of file vf_waveform.c.
|
static |
Definition at line 2045 of file vf_waveform.c.
|
static |
Definition at line 2493 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2504 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2516 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2525 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2535 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2561 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2587 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2612 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2637 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2648 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2660 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2669 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2679 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2705 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2731 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2756 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2781 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2785 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2826 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2868 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2909 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2951 of file vf_waveform.c.
|
static |
Definition at line 3219 of file vf_waveform.c.
|
static |
Definition at line 3281 of file vf_waveform.c.
|
static |
Definition at line 3377 of file vf_waveform.c.
|
static |
Definition at line 131 of file vf_waveform.c.
|
static |
Definition at line 187 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 205 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 222 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 237 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 242 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 247 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 252 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 257 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 262 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 267 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 272 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 277 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 282 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 287 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 292 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 297 of file vf_waveform.c.
|
static |
Definition at line 2178 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2179 of file vf_waveform.c.
|
static |
Definition at line 2181 of file vf_waveform.c.
|
static |
Definition at line 2187 of file vf_waveform.c.
|
static |
Definition at line 2193 of file vf_waveform.c.
|
static |
Definition at line 2199 of file vf_waveform.c.
|
static |
Definition at line 2205 of file vf_waveform.c.
|
static |
Definition at line 2213 of file vf_waveform.c.
|
static |
Definition at line 2221 of file vf_waveform.c.
|
static |
Definition at line 2229 of file vf_waveform.c.
|
static |
Definition at line 2237 of file vf_waveform.c.
|
static |
Definition at line 2247 of file vf_waveform.c.
|
static |
Definition at line 2257 of file vf_waveform.c.
|
static |
Definition at line 2267 of file vf_waveform.c.
|
static |
Definition at line 2277 of file vf_waveform.c.
|
static |
Definition at line 2283 of file vf_waveform.c.
|
static |
Definition at line 2289 of file vf_waveform.c.
|
static |
Definition at line 2295 of file vf_waveform.c.
|
static |
Definition at line 2301 of file vf_waveform.c.
|
static |
Definition at line 2309 of file vf_waveform.c.
|
static |
Definition at line 2317 of file vf_waveform.c.
|
static |
Definition at line 2325 of file vf_waveform.c.
|
static |
Definition at line 2333 of file vf_waveform.c.
|
static |
Definition at line 2343 of file vf_waveform.c.
|
static |
Definition at line 2353 of file vf_waveform.c.
|
static |
Definition at line 2363 of file vf_waveform.c.
|
static |
Definition at line 2373 of file vf_waveform.c.
|
static |
Definition at line 2379 of file vf_waveform.c.
|
static |
Definition at line 2385 of file vf_waveform.c.
|
static |
Definition at line 2391 of file vf_waveform.c.
|
static |
Definition at line 2397 of file vf_waveform.c.
|
static |
Definition at line 2405 of file vf_waveform.c.
|
static |
Definition at line 2413 of file vf_waveform.c.
|
static |
Definition at line 2421 of file vf_waveform.c.
|
static |
Definition at line 2429 of file vf_waveform.c.
|
static |
Definition at line 2437 of file vf_waveform.c.
|
static |
Definition at line 2445 of file vf_waveform.c.
|
static |
Definition at line 2453 of file vf_waveform.c.
|
static |
Definition at line 2461 of file vf_waveform.c.
|
static |
Definition at line 2469 of file vf_waveform.c.
|
static |
Definition at line 2477 of file vf_waveform.c.
|
static |
Definition at line 2485 of file vf_waveform.c.
|
static |
Definition at line 3384 of file vf_waveform.c.
|
static |
Definition at line 3394 of file vf_waveform.c.
AVFilter ff_vf_waveform |
Definition at line 3403 of file vf_waveform.c.