|
FFmpeg
|
#include <float.h>#include "libavutil/opt.h"#include "libavutil/timestamp.h"#include "audio.h"#include "formats.h"#include "avfilter.h"#include "internal.h"Go to the source code of this file.
Data Structures | |
| struct | SilenceRemoveContext |
Macros | |
| #define | OFFSET(x) offsetof(SilenceRemoveContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM |
Enumerations | |
| enum | SilenceMode { SILENCE_TRIM, SILENCE_TRIM_FLUSH, SILENCE_COPY, SILENCE_COPY_FLUSH, SILENCE_STOP } |
Functions | |
| AVFILTER_DEFINE_CLASS (silenceremove) | |
| static double | compute_peak (SilenceRemoveContext *s, double sample) |
| static void | update_peak (SilenceRemoveContext *s, double sample) |
| static double | compute_rms (SilenceRemoveContext *s, double sample) |
| static void | update_rms (SilenceRemoveContext *s, double sample) |
| static av_cold int | init (AVFilterContext *ctx) |
| static void | clear_window (SilenceRemoveContext *s) |
| static int | config_input (AVFilterLink *inlink) |
| static void | flush (AVFrame *out, AVFilterLink *outlink, int *nb_samples_written, int *ret) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
| static int | request_frame (AVFilterLink *outlink) |
| static int | query_formats (AVFilterContext *ctx) |
| static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
| static const AVOption | silenceremove_options [] |
| static const AVFilterPad | silenceremove_inputs [] |
| static const AVFilterPad | silenceremove_outputs [] |
| AVFilter | ff_af_silenceremove |
| #define OFFSET | ( | x | ) | offsetof(SilenceRemoveContext, x) |
Definition at line 80 of file af_silenceremove.c.
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 81 of file af_silenceremove.c.
| enum SilenceMode |
| Enumerator | |
|---|---|
| SILENCE_TRIM | |
| SILENCE_TRIM_FLUSH | |
| SILENCE_COPY | |
| SILENCE_COPY_FLUSH | |
| SILENCE_STOP | |
Definition at line 33 of file af_silenceremove.c.
| AVFILTER_DEFINE_CLASS | ( | silenceremove | ) |
|
static |
Definition at line 99 of file af_silenceremove.c.
Referenced by init().
|
static |
Definition at line 110 of file af_silenceremove.c.
Referenced by init().
|
static |
Definition at line 121 of file af_silenceremove.c.
Referenced by init().
|
static |
Definition at line 132 of file af_silenceremove.c.
Referenced by init().
|
static |
Definition at line 143 of file af_silenceremove.c.
|
static |
Definition at line 166 of file af_silenceremove.c.
Referenced by config_input(), and filter_frame().
|
static |
Definition at line 175 of file af_silenceremove.c.
|
static |
Definition at line 220 of file af_silenceremove.c.
Referenced by filter_frame().
|
static |
Definition at line 232 of file af_silenceremove.c.
|
static |
Definition at line 423 of file af_silenceremove.c.
|
static |
Definition at line 449 of file af_silenceremove.c.
|
static |
Definition at line 478 of file af_silenceremove.c.
|
static |
Definition at line 82 of file af_silenceremove.c.
|
static |
Definition at line 487 of file af_silenceremove.c.
|
static |
Definition at line 497 of file af_silenceremove.c.
| AVFilter ff_af_silenceremove |
Definition at line 506 of file af_silenceremove.c.
1.8.6