FFmpeg
|
flite voice synth source More...
#include <flite/flite.h>
#include "libavutil/channel_layout.h"
#include "libavutil/file.h"
#include "libavutil/opt.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 volatile int | flite_inited = 0 |
struct voice_entry | voice_entry |
static struct voice_entry | voice_entries [] |
static const AVFilterPad | flite_outputs [] |
AVFilter | ff_asrc_flite |
flite voice synth source
Definition in file asrc_flite.c.
#define OFFSET | ( | x | ) | offsetof(FliteContext, x) |
Definition at line 50 of file asrc_flite.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 51 of file asrc_flite.c.
#define DECLARE_REGISTER_VOICE_FN | ( | name | ) |
Definition at line 69 of file asrc_flite.c.
#define MAKE_VOICE_STRUCTURE | ( | voice_name | ) |
Definition at line 86 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 | ) |
Definition at line 99 of file asrc_flite.c.
Referenced by init(), and select_voice().
|
static |
Definition at line 107 of file asrc_flite.c.
Referenced by init().
|
static |
Definition at line 134 of file asrc_flite.c.
|
static |
Definition at line 193 of file asrc_flite.c.
|
static |
Definition at line 205 of file asrc_flite.c.
|
static |
Definition at line 224 of file asrc_flite.c.
|
static |
Definition at line 238 of file asrc_flite.c.
|
static |
Definition at line 53 of file asrc_flite.c.
|
static |
Definition at line 66 of file asrc_flite.c.
Referenced by init().
struct voice_entry voice_entry |
|
static |
Definition at line 91 of file asrc_flite.c.
|
static |
Definition at line 263 of file asrc_flite.c.
AVFilter ff_asrc_flite |
Definition at line 273 of file asrc_flite.c.