FFmpeg
|
audio to video multimedia filter More...
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "avfilter.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 } |
Functions | |
AVFILTER_DEFINE_CLASS (showwaves) | |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
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 void | draw_sample_point (uint8_t *buf, int height, int linesize, int16_t sample, int16_t *prev_y, int intensity) |
static void | draw_sample_line (uint8_t *buf, int height, int linesize, int16_t sample, int16_t *prev_y, int intensity) |
static void | draw_sample_p2p (uint8_t *buf, int height, int linesize, int16_t sample, int16_t *prev_y, int intensity) |
static void | draw_sample_cline (uint8_t *buf, int height, int linesize, int16_t sample, int16_t *prev_y, int intensity) |
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 72 of file avf_showwaves.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 73 of file avf_showwaves.c.
enum ShowWavesMode |
Enumerator | |
---|---|
MODE_POINT | |
MODE_LINE | |
MODE_P2P | |
MODE_CENTERED_LINE | |
MODE_NB |
Definition at line 36 of file avf_showwaves.c.
AVFILTER_DEFINE_CLASS | ( | showwaves | ) |
|
static |
Definition at line 92 of file avf_showwaves.c.
|
static |
Definition at line 113 of file avf_showwaves.c.
|
static |
Definition at line 147 of file avf_showwaves.c.
|
inlinestatic |
Definition at line 174 of file avf_showwaves.c.
Referenced by push_single_pic(), and request_frame().
|
static |
Definition at line 191 of file avf_showwaves.c.
Referenced by request_frame().
|
static |
Definition at line 240 of file avf_showwaves.c.
|
static |
Definition at line 261 of file avf_showwaves.c.
Referenced by init().
|
static |
Definition at line 269 of file avf_showwaves.c.
Referenced by init().
|
static |
Definition at line 282 of file avf_showwaves.c.
Referenced by init().
|
static |
Definition at line 301 of file avf_showwaves.c.
Referenced by init().
|
static |
Definition at line 312 of file avf_showwaves.c.
|
static |
Definition at line 333 of file avf_showwaves.c.
|
static |
Definition at line 75 of file avf_showwaves.c.