|
FFmpeg
|
#include "config_components.h"#include "libavutil/avassert.h"#include "libavutil/avstring.h"#include "libavutil/channel_layout.h"#include "libavutil/opt.h"#include "libavutil/parseutils.h"#include "avfilter.h"#include "filters.h"#include "formats.h"#include "audio.h"#include "video.h"#include "internal.h"Go to the source code of this file.
Data Structures | |
| struct | frame_node |
| struct | ShowWavesContext |
Macros | |
| #define | OFFSET(x) offsetof(ShowWavesContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
| enum | ShowWavesMode { MODE_POINT, MODE_LINE, MODE_P2P, MODE_CENTERED_LINE, MODE_NB } |
| enum | ShowWavesScale { SCALE_LIN, SCALE_LOG, SCALE_SQRT, SCALE_CBRT, SCALE_NB } |
| enum | ShowWavesDrawMode { DRAW_SCALE, DRAW_FULL, DRAW_NB } |
| enum | ShowWavesFilterMode { FILTER_AVERAGE, FILTER_PEAK, FILTER_NB } |
Functions | |
| AVFILTER_DEFINE_CLASS (showwaves) | |
| static av_cold void | uninit (AVFilterContext *ctx) |
| static int | query_formats (AVFilterContext *ctx) |
| static int | get_lin_h (int16_t sample, int height) |
| static int | get_lin_h2 (int16_t sample, int height) |
| static int | get_log_h (int16_t sample, int height) |
| static int | get_log_h2 (int16_t sample, int height) |
| static int | get_sqrt_h (int16_t sample, int height) |
| static int | get_sqrt_h2 (int16_t sample, int height) |
| static int | get_cbrt_h (int16_t sample, int height) |
| static int | get_cbrt_h2 (int16_t sample, int height) |
| static void | draw_sample_point_rgba_scale (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_point_rgba_full (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_line_rgba_scale (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_line_rgba_full (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_p2p_rgba_scale (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_p2p_rgba_full (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_cline_rgba_scale (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_cline_rgba_full (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_point_gray (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_line_gray (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_p2p_gray (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static void | draw_sample_cline_gray (uint8_t *buf, int height, int linesize, int16_t *prev_y, const uint8_t color[4], int h) |
| static int | config_output (AVFilterLink *outlink) |
| static int | push_frame (AVFilterLink *outlink) |
| static int | push_single_pic (AVFilterLink *outlink) |
| static int | request_frame (AVFilterLink *outlink) |
| static int | alloc_out_frame (ShowWavesContext *showwaves, const int16_t *p, const AVFilterLink *inlink, AVFilterLink *outlink, const AVFrame *in) |
| static av_cold int | init (AVFilterContext *ctx) |
Variables | |
| static const AVOption | showwaves_options [] |
audio to video multimedia filter
Definition in file avf_showwaves.c.
| #define OFFSET | ( | x | ) | offsetof(ShowWavesContext, x) |
Definition at line 103 of file avf_showwaves.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 104 of file avf_showwaves.c.
| enum ShowWavesMode |
| Enumerator | |
|---|---|
| MODE_POINT | |
| MODE_LINE | |
| MODE_P2P | |
| MODE_CENTERED_LINE | |
| MODE_NB | |
Definition at line 40 of file avf_showwaves.c.
| enum ShowWavesScale |
| Enumerator | |
|---|---|
| SCALE_LIN | |
| SCALE_LOG | |
| SCALE_SQRT | |
| SCALE_CBRT | |
| SCALE_NB | |
Definition at line 48 of file avf_showwaves.c.
| enum ShowWavesDrawMode |
| Enumerator | |
|---|---|
| DRAW_SCALE | |
| DRAW_FULL | |
| DRAW_NB | |
Definition at line 56 of file avf_showwaves.c.
| enum ShowWavesFilterMode |
| Enumerator | |
|---|---|
| FILTER_AVERAGE | |
| FILTER_PEAK | |
| FILTER_NB | |
Definition at line 62 of file avf_showwaves.c.
| AVFILTER_DEFINE_CLASS | ( | showwaves | ) |
|
static |
Definition at line 132 of file avf_showwaves.c.
|
static |
Definition at line 154 of file avf_showwaves.c.
Definition at line 185 of file avf_showwaves.c.
Referenced by config_output().
Definition at line 190 of file avf_showwaves.c.
Referenced by config_output().
Definition at line 195 of file avf_showwaves.c.
Referenced by config_output().
Definition at line 200 of file avf_showwaves.c.
Referenced by config_output().
Definition at line 205 of file avf_showwaves.c.
Referenced by config_output().
Definition at line 210 of file avf_showwaves.c.
Referenced by config_output().
Definition at line 215 of file avf_showwaves.c.
Referenced by config_output().
Definition at line 220 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 225 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 237 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 249 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 266 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 283 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 309 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 335 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 349 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 364 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 372 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 385 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 404 of file avf_showwaves.c.
Referenced by config_output().
|
static |
Definition at line 415 of file avf_showwaves.c.
|
inlinestatic |
Definition at line 554 of file avf_showwaves.c.
Referenced by push_single_pic(), and request_frame().
|
static |
Definition at line 570 of file avf_showwaves.c.
Referenced by request_frame().
|
static |
Definition at line 640 of file avf_showwaves.c.
|
static |
Definition at line 657 of file avf_showwaves.c.
|
static |
Definition at line 678 of file avf_showwaves.c.
|
static |
Definition at line 106 of file avf_showwaves.c.
1.8.17