FFmpeg
|
#include <flite/flite.h>
#include "libavutil/audio_fifo.h"
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libavutil/file.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/thread.h"
#include "avfilter.h"
#include "filters.h"
#include "audio.h"
#include "formats.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 int | audio_stream_chunk_by_word (const cst_wave *wave, int start, int size, int last, cst_audio_streaming_info *asi) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
static int | config_props (AVFilterLink *outlink) |
static int | activate (AVFilterContext *ctx) |
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 57 of file asrc_flite.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 58 of file asrc_flite.c.
#define DECLARE_REGISTER_VOICE_FN | ( | name | ) |
Definition at line 78 of file asrc_flite.c.
#define MAKE_VOICE_STRUCTURE | ( | voice_name | ) |
Definition at line 95 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 108 of file asrc_flite.c.
Referenced by init(), and select_voice().
|
static |
Definition at line 116 of file asrc_flite.c.
Referenced by init().
|
static |
Definition at line 148 of file asrc_flite.c.
Referenced by init().
|
static |
Definition at line 167 of file asrc_flite.c.
|
static |
Definition at line 243 of file asrc_flite.c.
|
static |
Definition at line 258 of file asrc_flite.c.
|
static |
Definition at line 292 of file asrc_flite.c.
|
static |
Definition at line 307 of file asrc_flite.c.
|
static |
Definition at line 60 of file asrc_flite.c.
|
static |
Definition at line 73 of file asrc_flite.c.
Referenced by init(), select_voice(), and uninit().
|
static |
Definition at line 75 of file asrc_flite.c.
Referenced by init().
|
static |
Definition at line 100 of file asrc_flite.c.
Referenced by list_voices(), and select_voice().
|
static |
Definition at line 345 of file asrc_flite.c.
const AVFilter ff_asrc_flite |
Definition at line 353 of file asrc_flite.c.