FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/timestamp.h"
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "audio.h"
#include "video.h"
#include "internal.h"
#include "float.h"
Go to the source code of this file.
Data Structures | |
struct | AudioPhaseMeterContext |
Macros | |
#define | MAX_DURATION (24*60*60*1000000LL) |
#define | OFFSET(x) offsetof(AudioPhaseMeterContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | get_duration(index) (index[1] - index[0]) |
Functions | |
AVFILTER_DEFINE_CLASS (aphasemeter) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | config_video_output (AVFilterLink *outlink) |
static int | get_x (float phase, int w) |
static void | add_metadata (AVFrame *insamples, const char *key, char *value) |
static void | update_mono_detection (AudioPhaseMeterContext *s, AVFrame *insamples, int mono_measurement) |
static void | update_out_phase_detection (AudioPhaseMeterContext *s, AVFrame *insamples, int out_phase_measurement) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | activate (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static av_cold int | init (AVFilterContext *ctx) |
Variables | |
static const AVOption | aphasemeter_options [] |
static const AVFilterPad | inputs [] |
const AVFilter | ff_avf_aphasemeter |
audio to video multimedia aphasemeter filter
Definition in file avf_aphasemeter.c.
#define MAX_DURATION (24*60*60*1000000LL) |
Definition at line 66 of file avf_aphasemeter.c.
#define OFFSET | ( | x | ) | offsetof(AudioPhaseMeterContext, x) |
Definition at line 67 of file avf_aphasemeter.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 68 of file avf_aphasemeter.c.
Definition at line 69 of file avf_aphasemeter.c.
AVFILTER_DEFINE_CLASS | ( | aphasemeter | ) |
|
static |
Definition at line 93 of file avf_aphasemeter.c.
|
static |
Definition at line 128 of file avf_aphasemeter.c.
|
static |
Definition at line 140 of file avf_aphasemeter.c.
Referenced by init().
Definition at line 163 of file avf_aphasemeter.c.
Referenced by filter_frame().
|
inlinestatic |
Definition at line 168 of file avf_aphasemeter.c.
Referenced by filter_frame(), update_mono_detection(), and update_out_phase_detection().
|
inlinestatic |
Definition at line 176 of file avf_aphasemeter.c.
Referenced by filter_frame(), and uninit().
|
inlinestatic |
Definition at line 207 of file avf_aphasemeter.c.
Referenced by filter_frame(), and uninit().
|
static |
Definition at line 238 of file avf_aphasemeter.c.
Referenced by activate().
|
static |
Definition at line 356 of file avf_aphasemeter.c.
|
static |
Definition at line 386 of file avf_aphasemeter.c.
|
static |
Definition at line 397 of file avf_aphasemeter.c.
|
static |
Definition at line 71 of file avf_aphasemeter.c.
|
static |
Definition at line 425 of file avf_aphasemeter.c.
const AVFilter ff_avf_aphasemeter |
Definition at line 433 of file avf_aphasemeter.c.