Go to the source code of this file.
|
enum | ws_interval_type { WS_SINE = MKTAG('S','I','N','E'),
WS_NOISE = MKTAG('N','O','I','S'),
WS_SINE = MKTAG('S','I','N','E'),
WS_NOISE = MKTAG('N','O','I','S')
} |
|
|
static uint32_t | lcg_next (uint32_t *s) |
|
static void | lcg_seek (uint32_t *s, uint32_t dt) |
|
static void | pink_fill (struct wavesynth_context *ws) |
|
static uint64_t | frac64 (uint64_t a, uint64_t b) |
|
static uint64_t | phi_at (struct ws_interval *in, int64_t ts) |
|
static void | wavesynth_seek (struct wavesynth_context *ws, int64_t ts) |
|
static int | wavesynth_parse_extradata (AVCodecContext *avc) |
|
static av_cold int | wavesynth_init (AVCodecContext *avc) |
|
static void | wavesynth_synth_sample (struct wavesynth_context *ws, int64_t ts, int32_t *channels) |
|
static void | wavesynth_enter_intervals (struct wavesynth_context *ws, int64_t ts) |
|
static int | wavesynth_decode (AVCodecContext *avc, AVFrame *frame, int *rgot_frame, AVPacket *packet) |
|
static av_cold int | wavesynth_close (AVCodecContext *avc) |
|
◆ SIN_BITS
◆ WS_MAX_CHANNELS
#define WS_MAX_CHANNELS 32 |
◆ INF_TS
#define INF_TS 0x7FFFFFFFFFFFFFFF |
◆ PINK_UNIT
◆ LCG_A
◆ LCG_C
◆ LCG_AI
#define LCG_AI 849225893 /* A*AI = 1 [mod 1<<32] */ |
◆ ws_interval_type
Enumerator |
---|
WS_SINE | |
WS_NOISE | |
WS_SINE | |
WS_NOISE | |
Definition at line 79 of file ffwavesynth.c.
◆ lcg_next()
static uint32_t lcg_next |
( |
uint32_t * |
s | ) |
|
|
static |
◆ lcg_seek()
static void lcg_seek |
( |
uint32_t * |
s, |
|
|
uint32_t |
dt |
|
) |
| |
|
static |
◆ pink_fill()
◆ frac64()
static uint64_t frac64 |
( |
uint64_t |
a, |
|
|
uint64_t |
b |
|
) |
| |
|
static |
◆ phi_at()
◆ wavesynth_seek()
◆ wavesynth_parse_extradata()
◆ wavesynth_init()
◆ wavesynth_synth_sample()
◆ wavesynth_enter_intervals()
◆ wavesynth_decode()
◆ wavesynth_close()
◆ ff_ffwavesynth_decoder
const FFCodec ff_ffwavesynth_decoder |
Initial value:= {
.p.name = "wavesynth",
}
Definition at line 463 of file ffwavesynth.c.