FFmpeg
|
#include <flite/flite.h>
#include "libavutil/channel_layout.h"
#include "libavutil/file.h"
#include "libavutil/opt.h"
#include "libavutil/thread.h"
#include "avfilter.h"
#include "audio.h"
#include "formats.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | FliteContext |
struct | voice_entry |
Macros | |
#define | OFFSET(x) offsetof(FliteContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | DECLARE_REGISTER_VOICE_FN(name) |
#define | MAKE_VOICE_STRUCTURE(voice_name) |
Functions | |
AVFILTER_DEFINE_CLASS (flite) | |
DECLARE_REGISTER_VOICE_FN (awb) | |
DECLARE_REGISTER_VOICE_FN (kal) | |
DECLARE_REGISTER_VOICE_FN (kal16) | |
DECLARE_REGISTER_VOICE_FN (rms) | |
DECLARE_REGISTER_VOICE_FN (slt) | |
static void | list_voices (void *log_ctx, const char *sep) |
static int | select_voice (struct voice_entry **entry_ret, const char *voice_name, void *log_ctx) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *outlink) |
static int | request_frame (AVFilterLink *outlink) |
Variables | |
static const AVOption | flite_options [] |
static AVMutex | flite_mutex = AV_MUTEX_INITIALIZER |
static int | flite_inited = 0 |
static struct voice_entry | voice_entries [] |
static const AVFilterPad | flite_outputs [] |
const AVFilter | ff_asrc_flite |
flite voice synth source
Definition in file asrc_flite.c.
#define OFFSET | ( | x | ) | offsetof(FliteContext, x) |
Definition at line 51 of file asrc_flite.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 52 of file asrc_flite.c.
#define DECLARE_REGISTER_VOICE_FN | ( | name | ) |
Definition at line 72 of file asrc_flite.c.
#define MAKE_VOICE_STRUCTURE | ( | voice_name | ) |
Definition at line 89 of file asrc_flite.c.
AVFILTER_DEFINE_CLASS | ( | flite | ) |
DECLARE_REGISTER_VOICE_FN | ( | awb | ) |
DECLARE_REGISTER_VOICE_FN | ( | kal | ) |
DECLARE_REGISTER_VOICE_FN | ( | kal16 | ) |
DECLARE_REGISTER_VOICE_FN | ( | rms | ) |
DECLARE_REGISTER_VOICE_FN | ( | slt | ) |
|
static |
Definition at line 102 of file asrc_flite.c.
Referenced by init(), and select_voice().
|
static |
Definition at line 110 of file asrc_flite.c.
Referenced by init().
|
static |
Definition at line 142 of file asrc_flite.c.
|
static |
Definition at line 206 of file asrc_flite.c.
|
static |
Definition at line 222 of file asrc_flite.c.
|
static |
Definition at line 245 of file asrc_flite.c.
|
static |
Definition at line 259 of file asrc_flite.c.
|
static |
Definition at line 54 of file asrc_flite.c.
|
static |
Definition at line 67 of file asrc_flite.c.
Referenced by init(), select_voice(), and uninit().
|
static |
Definition at line 69 of file asrc_flite.c.
Referenced by init().
|
static |
Definition at line 94 of file asrc_flite.c.
Referenced by list_voices(), and select_voice().
|
static |
Definition at line 288 of file asrc_flite.c.
const AVFilter ff_asrc_flite |
Definition at line 297 of file asrc_flite.c.