FFmpeg
|
#include <float.h>
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | SineContext |
Macros | |
#define | CONTEXT SineContext |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | OPT_GENERIC(name, field, def, min, max, descr, type, deffield, ...) |
#define | OPT_INT(name, field, def, min, max, descr, ...) OPT_GENERIC(name, field, def, min, max, descr, INT, i64, __VA_ARGS__) |
#define | OPT_DBL(name, field, def, min, max, descr, ...) OPT_GENERIC(name, field, def, min, max, descr, DOUBLE, dbl, __VA_ARGS__) |
#define | OPT_DUR(name, field, def, min, max, descr, ...) OPT_GENERIC(name, field, def, min, max, descr, DURATION, str, __VA_ARGS__) |
#define | LOG_PERIOD 15 |
#define | AMPLITUDE 4095 |
#define | AMPLITUDE_SHIFT 3 |
Functions | |
AVFILTER_DEFINE_CLASS (sine) | |
static void | make_sin_table (int16_t *sin) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static av_cold int | query_formats (AVFilterContext *ctx) |
static av_cold int | config_props (AVFilterLink *outlink) |
static int | request_frame (AVFilterLink *outlink) |
Variables | |
static const AVOption | sine_options [] |
static const AVFilterPad | sine_outputs [] |
AVFilter | avfilter_asrc_sine |
Macro Definition Documentation
#define AMPLITUDE 4095 |
Definition at line 80 of file asrc_sine.c.
Referenced by make_sin_table().
#define AMPLITUDE_SHIFT 3 |
Definition at line 81 of file asrc_sine.c.
Referenced by make_sin_table().
#define CONTEXT SineContext |
Definition at line 48 of file asrc_sine.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 49 of file asrc_sine.c.
#define LOG_PERIOD 15 |
Definition at line 79 of file asrc_sine.c.
Referenced by init(), make_sin_table(), and request_frame().
#define OPT_DBL | ( | name, | |
field, | |||
def, | |||
min, | |||
max, | |||
descr, | |||
... | |||
) | OPT_GENERIC(name, field, def, min, max, descr, DOUBLE, dbl, __VA_ARGS__) |
Definition at line 58 of file asrc_sine.c.
#define OPT_DUR | ( | name, | |
field, | |||
def, | |||
min, | |||
max, | |||
descr, | |||
... | |||
) | OPT_GENERIC(name, field, def, min, max, descr, DURATION, str, __VA_ARGS__) |
Definition at line 61 of file asrc_sine.c.
Definition at line 51 of file asrc_sine.c.
#define OPT_INT | ( | name, | |
field, | |||
def, | |||
min, | |||
max, | |||
descr, | |||
... | |||
) | OPT_GENERIC(name, field, def, min, max, descr, INT, i64, __VA_ARGS__) |
Definition at line 55 of file asrc_sine.c.
Function Documentation
AVFILTER_DEFINE_CLASS | ( | sine | ) |
|
static |
Definition at line 163 of file asrc_sine.c.
|
static |
Definition at line 123 of file asrc_sine.c.
|
static |
Definition at line 83 of file asrc_sine.c.
Referenced by init().
|
static |
Definition at line 149 of file asrc_sine.c.
|
static |
Definition at line 170 of file asrc_sine.c.
|
static |
Definition at line 142 of file asrc_sine.c.
Variable Documentation
AVFilter avfilter_asrc_sine |
Definition at line 213 of file asrc_sine.c.
|
static |
Definition at line 64 of file asrc_sine.c.
|
static |
Definition at line 203 of file asrc_sine.c.
Generated on Mon Nov 18 2024 06:52:04 for FFmpeg by 1.8.11