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 | SilenceDetectContext |
Macros | |
#define | OFFSET(x) offsetof(SilenceDetectContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM |
#define | SILENCE_DETECT(name, type) |
Functions | |
AVFILTER_DEFINE_CLASS (silencedetect) | |
static void | set_meta (AVFrame *insamples, int channel, const char *key, char *value) |
static av_always_inline void | update (SilenceDetectContext *s, AVFrame *insamples, int is_silence, int current_sample, int64_t nb_samples_notify, AVRational time_base) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *insamples) |
static int | query_formats (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | silencedetect_options [] |
static const AVFilterPad | silencedetect_inputs [] |
static const AVFilterPad | silencedetect_outputs [] |
AVFilter | ff_af_silencedetect |
Audio silence detector
Definition in file af_silencedetect.c.
#define OFFSET | ( | x | ) | offsetof(SilenceDetectContext, x) |
Definition at line 53 of file af_silencedetect.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 54 of file af_silencedetect.c.
Definition at line 119 of file af_silencedetect.c.
AVFILTER_DEFINE_CLASS | ( | silencedetect | ) |
Definition at line 67 of file af_silencedetect.c.
Referenced by update().
|
static |
Definition at line 77 of file af_silencedetect.c.
Referenced by adpcm_decode_frame(), estimate_pitch(), lsf2lsp_for_mode12k2(), ref_to_update(), and uninit().
|
static |
Definition at line 138 of file af_silencedetect.c.
|
static |
Definition at line 171 of file af_silencedetect.c.
|
static |
Definition at line 197 of file af_silencedetect.c.
|
static |
Definition at line 230 of file af_silencedetect.c.
|
static |
Definition at line 55 of file af_silencedetect.c.
|
static |
Definition at line 242 of file af_silencedetect.c.
|
static |
Definition at line 252 of file af_silencedetect.c.
AVFilter ff_af_silencedetect |
Definition at line 260 of file af_silencedetect.c.