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 "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 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 63 of file avf_aphasemeter.c.
#define OFFSET | ( | x | ) | offsetof(AudioPhaseMeterContext, x) |
Definition at line 64 of file avf_aphasemeter.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 65 of file avf_aphasemeter.c.
Definition at line 66 of file avf_aphasemeter.c.
AVFILTER_DEFINE_CLASS | ( | aphasemeter | ) |
|
static |
Definition at line 90 of file avf_aphasemeter.c.
|
static |
Definition at line 125 of file avf_aphasemeter.c.
|
static |
Definition at line 141 of file avf_aphasemeter.c.
Referenced by init().
Definition at line 161 of file avf_aphasemeter.c.
Referenced by filter_frame().
|
inlinestatic |
Definition at line 166 of file avf_aphasemeter.c.
Referenced by filter_frame(), update_mono_detection(), and update_out_phase_detection().
|
inlinestatic |
Definition at line 174 of file avf_aphasemeter.c.
Referenced by filter_frame(), and uninit().
|
inlinestatic |
Definition at line 205 of file avf_aphasemeter.c.
Referenced by filter_frame(), and uninit().
|
static |
Definition at line 236 of file avf_aphasemeter.c.
|
static |
Definition at line 337 of file avf_aphasemeter.c.
|
static |
Definition at line 348 of file avf_aphasemeter.c.
|
static |
Definition at line 68 of file avf_aphasemeter.c.
|
static |
Definition at line 376 of file avf_aphasemeter.c.
const AVFilter ff_avf_aphasemeter |
Definition at line 385 of file avf_aphasemeter.c.