| 
    FFmpeg
    
   | 
 
#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "libavutil/xga_font_data.h"#include "avfilter.h"#include "filters.h"#include "formats.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 | TFLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_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 | FitMode { FM_NONE, FM_SIZE, NB_FITMODES } | 
| enum | FilterType {  DC_TYPE, AC_TYPE, SQ_TYPE, PS_TYPE, NB_TYPES, BUTTERWORTH, CHEBYSHEV1, CHEBYSHEV2, NB_TYPES, biquad, equalizer, bass, treble, bandpass, bandreject, allpass, highpass, lowpass, lowshelf, highshelf, tiltshelf, 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_COLOR, GRAT_INVERT, NB_GRATICULES, 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 137 of file vf_waveform.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM | 
Definition at line 138 of file vf_waveform.c.
Definition at line 139 of file vf_waveform.c.
Definition at line 803 of file vf_waveform.c.
Definition at line 940 of file vf_waveform.c.
Definition at line 1079 of file vf_waveform.c.
Definition at line 1216 of file vf_waveform.c.
Definition at line 1241 of file vf_waveform.c.
Definition at line 1375 of file vf_waveform.c.
Definition at line 1614 of file vf_waveform.c.
Definition at line 1718 of file vf_waveform.c.
Definition at line 1851 of file vf_waveform.c.
Definition at line 1983 of file vf_waveform.c.
Definition at line 2117 of file vf_waveform.c.
Definition at line 2250 of file vf_waveform.c.
| enum FitMode | 
| Enumerator | |
|---|---|
| FM_NONE | |
| FM_SIZE | |
| NB_FITMODES | |
Definition at line 39 of file vf_waveform.c.
| enum FilterType | 
Definition at line 45 of file vf_waveform.c.
| enum DisplayType | 
| Enumerator | |
|---|---|
| OVERLAY | |
| STACK | |
| PARADE | |
| NB_DISPLAYS | |
Definition at line 57 of file vf_waveform.c.
| enum ScaleType | 
| Enumerator | |
|---|---|
| DIGITAL | |
| MILLIVOLTS | |
| IRE | |
| NB_SCALES | |
Definition at line 64 of file vf_waveform.c.
| enum GraticuleType | 
| Enumerator | |
|---|---|
| GRAT_NONE | |
| GRAT_GREEN | |
| GRAT_COLOR | |
| GRAT_INVERT | |
| NB_GRATICULES | |
| GRAT_NONE | |
| GRAT_GREEN | |
| GRAT_ORANGE | |
| GRAT_INVERT | |
| NB_GRATICULES | |
Definition at line 71 of file vf_waveform.c.
| AVFILTER_DEFINE_CLASS | ( | waveform | ) | 
      
  | 
  static | 
Definition at line 321 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 402 of file vf_waveform.c.
Referenced by envelope16(), and envelope_peak16().
      
  | 
  static | 
Definition at line 450 of file vf_waveform.c.
Referenced by envelope(), and envelope_peak().
      
  | 
  static | 
Definition at line 497 of file vf_waveform.c.
Referenced by envelope16().
      
  | 
  static | 
Definition at line 567 of file vf_waveform.c.
Referenced by envelope().
      
  | 
  static | 
Definition at line 636 of file vf_waveform.c.
Referenced by filter_frame().
      
  | 
  static | 
Definition at line 647 of file vf_waveform.c.
Referenced by filter_frame().
      
  | 
  static | 
Definition at line 658 of file vf_waveform.c.
Referenced by acolor16(), chroma16(), flat16(), and lowpass16().
      
  | 
  static | 
      
  | 
  static | 
Definition at line 674 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 682 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 690 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 828 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 965 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 1104 of file vf_waveform.c.
Referenced by ff_loop_filter_h_44_16_lsx(), ff_loop_filter_h_44_16_msa(), ff_loop_filter_h_48_16_lsx(), ff_loop_filter_h_48_16_msa(), ff_loop_filter_h_4_8_lsx(), ff_loop_filter_h_4_8_msa(), ff_loop_filter_h_84_16_lsx(), ff_loop_filter_h_84_16_msa(), ff_loop_filter_h_88_16_lsx(), ff_loop_filter_h_88_16_msa(), ff_loop_filter_h_8_8_lsx(), ff_loop_filter_h_8_8_msa(), ff_loop_filter_v_16_8_lsx(), ff_loop_filter_v_16_8_msa(), ff_loop_filter_v_44_16_lsx(), ff_loop_filter_v_44_16_msa(), ff_loop_filter_v_48_16_lsx(), ff_loop_filter_v_48_16_msa(), ff_loop_filter_v_4_8_lsx(), ff_loop_filter_v_4_8_msa(), ff_loop_filter_v_84_16_lsx(), ff_loop_filter_v_84_16_msa(), ff_loop_filter_v_88_16_lsx(), ff_loop_filter_v_88_16_msa(), ff_loop_filter_v_8_8_lsx(), ff_loop_filter_v_8_8_msa(), ff_vp8_h_loop_filter16_inner_lsx(), ff_vp8_h_loop_filter16_inner_msa(), ff_vp8_h_loop_filter16_lsx(), ff_vp8_h_loop_filter16_msa(), ff_vp8_h_loop_filter8uv_inner_msa(), ff_vp8_h_loop_filter8uv_lsx(), ff_vp8_h_loop_filter8uv_msa(), ff_vp8_v_loop_filter16_inner_lsx(), ff_vp8_v_loop_filter16_inner_msa(), ff_vp8_v_loop_filter16_lsx(), ff_vp8_v_loop_filter16_msa(), ff_vp8_v_loop_filter8uv_inner_msa(), ff_vp8_v_loop_filter8uv_lsx(), 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 1533 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 1639 of file vf_waveform.c.
Referenced by calc_plane_dct(), can_split(), check_idct_dc4(), cmp_inline(), compute_quant_matrix(), deblock_bs(), deblocking_filter_CTB(), dshow_cycle_formats(), dv_init_enc_block(), ff_draw_color(), ff_h264_filter_mb(), ff_vvc_inter_dsp_init(), fic_draw_cursor(), filter_frame(), filter_mb_dir(), get_flags(), get_qPc(), h264_filter_mb_fast_internal(), init(), init_filter(), parse_avs2_seq_header(), pred_weight_table(), rv40_adaptive_loop_filter(), rv40_h_strong_loop_filter(), rv40_strong_loop_filter(), rv40_v_strong_loop_filter(), set_frame_data(), ulti_convert_yuv(), ulti_decode_frame(), ulti_grad(), ulti_pattern(), x8_decode_intra_mb(), and x8_setup_spatial_predictor().
      
  | 
  static | 
Definition at line 1743 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 1876 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 2008 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 2142 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 2590 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2601 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2613 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2622 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2632 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2658 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2684 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2709 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2734 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2745 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2757 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2766 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2776 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2802 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2828 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2853 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2878 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2882 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2923 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2965 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 3006 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 3048 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 3313 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 3388 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 3496 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 141 of file vf_waveform.c.
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  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.
Referenced by query_formats().
      
  | 
  static | 
Definition at line 286 of file vf_waveform.c.
Referenced by query_formats().
      
  | 
  static | 
Definition at line 291 of file vf_waveform.c.
Referenced by query_formats().
      
  | 
  static | 
Definition at line 296 of file vf_waveform.c.
Referenced by query_formats().
      
  | 
  static | 
Definition at line 301 of file vf_waveform.c.
Referenced by query_formats().
      
  | 
  static | 
Definition at line 306 of file vf_waveform.c.
Referenced by query_formats().
      
  | 
  static | 
Definition at line 311 of file vf_waveform.c.
Referenced by query_formats().
      
  | 
  static | 
Definition at line 316 of file vf_waveform.c.
Referenced by query_formats().
      
  | 
  static | 
Definition at line 2275 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2276 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2278 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2284 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2290 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2296 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2302 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2310 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2318 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2326 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2334 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2344 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2354 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2364 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2374 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2380 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2386 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2392 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2398 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2406 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2414 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2422 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2430 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2440 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2450 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2460 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2470 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2476 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2482 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2488 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2494 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2502 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2510 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2518 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2526 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2534 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2542 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2550 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2558 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2566 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2574 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 2582 of file vf_waveform.c.
Referenced by config_input().
      
  | 
  static | 
Definition at line 3503 of file vf_waveform.c.
      
  | 
  static | 
Definition at line 3512 of file vf_waveform.c.
| const AVFilter ff_vf_waveform | 
Definition at line 3520 of file vf_waveform.c.
 1.8.17