FFmpeg
4.0
|
#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 | 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 | AFLAT16(name, update_cr, column, mirror) |
#define | AFLAT(name, update_cr, column, mirror) |
Enumerations | |
enum | FilterType { BUTTERWORTH, CHEBYSHEV1, CHEBYSHEV2, NB_TYPES, biquad, equalizer, bass, treble, bandpass, bandreject, allpass, highpass, lowpass, 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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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 107 of file vf_waveform.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 108 of file vf_waveform.c.
#define LOWPASS16_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 702 of file vf_waveform.c.
#define LOWPASS_FUNC | ( | name, | |
column, | |||
mirror | |||
) |
Definition at line 800 of file vf_waveform.c.
Definition at line 1038 of file vf_waveform.c.
Definition at line 1165 of file vf_waveform.c.
Referenced by config_input(), and query_formats().
enum FilterType |
Enumerator | |
---|---|
BUTTERWORTH | |
CHEBYSHEV1 | |
CHEBYSHEV2 | |
NB_TYPES | |
biquad | |
equalizer | |
bass | |
treble | |
bandpass | |
bandreject | |
allpass | |
highpass | |
lowpass | |
LOWPASS | |
FLAT | |
AFLAT | |
CHROMA | |
COLOR | |
ACOLOR | |
XFLAT | |
NB_FILTERS |
Definition at line 32 of file vf_waveform.c.
enum DisplayType |
Enumerator | |
---|---|
OVERLAY | |
STACK | |
PARADE | |
NB_DISPLAYS |
Definition at line 43 of file vf_waveform.c.
enum ScaleType |
Enumerator | |
---|---|
DIGITAL | |
MILLIVOLTS | |
IRE | |
NB_SCALES |
Definition at line 50 of file vf_waveform.c.
AVFILTER_DEFINE_CLASS | ( | waveform | ) |
|
static |
Definition at line 281 of file vf_waveform.c.
|
static |
Definition at line 355 of file vf_waveform.c.
Referenced by envelope16(), and envelope_peak16().
|
static |
Definition at line 403 of file vf_waveform.c.
Referenced by envelope(), and envelope_peak().
|
static |
Definition at line 450 of file vf_waveform.c.
Referenced by envelope16().
|
static |
Definition at line 520 of file vf_waveform.c.
Referenced by envelope().
|
static |
Definition at line 589 of file vf_waveform.c.
Referenced by acolor16(), chroma16(), color16(), flat16(), and lowpass16().
Definition at line 611 of file vf_waveform.c.
Referenced by acolor16(), chroma16(), flat16(), and lowpass16().
Definition at line 627 of file vf_waveform.c.
Definition at line 635 of file vf_waveform.c.
|
static |
Definition at line 643 of file vf_waveform.c.
|
static |
Definition at line 718 of file vf_waveform.c.
|
static |
Definition at line 816 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 928 of file vf_waveform.c.
Referenced by config_input(), 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 1308 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1386 of file vf_waveform.c.
Referenced by check_idct_dc4(), config_input(), deblocking_filter_CTB(), encode_slice_plane(), 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 1462 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1567 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1671 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1777 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2197 of file vf_waveform.c.
Referenced by graticule_row().
|
static |
Definition at line 2208 of file vf_waveform.c.
Referenced by graticule16_row().
Definition at line 2219 of file vf_waveform.c.
Referenced by graticule_column().
Definition at line 2228 of file vf_waveform.c.
Referenced by graticule16_column().
|
static |
Definition at line 2237 of file vf_waveform.c.
Referenced by graticule_column().
|
static |
Definition at line 2263 of file vf_waveform.c.
Referenced by graticule16_column().
|
static |
Definition at line 2289 of file vf_waveform.c.
Referenced by graticule_row().
|
static |
Definition at line 2314 of file vf_waveform.c.
Referenced by graticule16_row().
|
static |
Definition at line 2339 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2343 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2383 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2424 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2464 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 2505 of file vf_waveform.c.
|
static |
Definition at line 2747 of file vf_waveform.c.
|
static |
Definition at line 2806 of file vf_waveform.c.
|
static |
Definition at line 2861 of file vf_waveform.c.
|
static |
Definition at line 110 of file vf_waveform.c.
|
static |
Definition at line 164 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 182 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 199 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 214 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 219 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 224 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 229 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 234 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 239 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 244 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 249 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 254 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 259 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 264 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 269 of file vf_waveform.c.
Referenced by query_formats().
|
static |
Definition at line 274 of file vf_waveform.c.
|
static |
Definition at line 1882 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1883 of file vf_waveform.c.
Referenced by config_input().
|
static |
Definition at line 1885 of file vf_waveform.c.
|
static |
Definition at line 1891 of file vf_waveform.c.
|
static |
Definition at line 1897 of file vf_waveform.c.
|
static |
Definition at line 1903 of file vf_waveform.c.
|
static |
Definition at line 1909 of file vf_waveform.c.
|
static |
Definition at line 1917 of file vf_waveform.c.
|
static |
Definition at line 1925 of file vf_waveform.c.
|
static |
Definition at line 1933 of file vf_waveform.c.
|
static |
Definition at line 1941 of file vf_waveform.c.
|
static |
Definition at line 1951 of file vf_waveform.c.
|
static |
Definition at line 1961 of file vf_waveform.c.
|
static |
Definition at line 1971 of file vf_waveform.c.
|
static |
Definition at line 1981 of file vf_waveform.c.
|
static |
Definition at line 1987 of file vf_waveform.c.
|
static |
Definition at line 1993 of file vf_waveform.c.
|
static |
Definition at line 1999 of file vf_waveform.c.
|
static |
Definition at line 2005 of file vf_waveform.c.
|
static |
Definition at line 2013 of file vf_waveform.c.
|
static |
Definition at line 2021 of file vf_waveform.c.
|
static |
Definition at line 2029 of file vf_waveform.c.
|
static |
Definition at line 2037 of file vf_waveform.c.
|
static |
Definition at line 2047 of file vf_waveform.c.
|
static |
Definition at line 2057 of file vf_waveform.c.
|
static |
Definition at line 2067 of file vf_waveform.c.
|
static |
Definition at line 2077 of file vf_waveform.c.
|
static |
Definition at line 2083 of file vf_waveform.c.
|
static |
Definition at line 2089 of file vf_waveform.c.
|
static |
Definition at line 2095 of file vf_waveform.c.
|
static |
Definition at line 2101 of file vf_waveform.c.
|
static |
Definition at line 2109 of file vf_waveform.c.
|
static |
Definition at line 2117 of file vf_waveform.c.
|
static |
Definition at line 2125 of file vf_waveform.c.
|
static |
Definition at line 2133 of file vf_waveform.c.
|
static |
Definition at line 2141 of file vf_waveform.c.
|
static |
Definition at line 2149 of file vf_waveform.c.
|
static |
Definition at line 2157 of file vf_waveform.c.
|
static |
Definition at line 2165 of file vf_waveform.c.
|
static |
Definition at line 2173 of file vf_waveform.c.
|
static |
Definition at line 2181 of file vf_waveform.c.
|
static |
Definition at line 2189 of file vf_waveform.c.
|
static |
Definition at line 2868 of file vf_waveform.c.
|
static |
Definition at line 2878 of file vf_waveform.c.
AVFilter ff_vf_waveform |
Definition at line 2887 of file vf_waveform.c.