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, int64_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, void *rframe, 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 77 of file ffwavesynth.c.
◆ lcg_next()
static uint32_t lcg_next |
( |
uint32_t * |
s | ) |
|
|
static |
◆ lcg_seek()
static void lcg_seek |
( |
uint32_t * |
s, |
|
|
int64_t |
dt |
|
) |
| |
|
static |
◆ pink_fill()
◆ frac64()
static uint64_t frac64 |
( |
uint64_t |
a, |
|
|
uint64_t |
b |
|
) |
| |
|
static |
◆ phi_at()
static uint64_t phi_at |
( |
struct ws_interval * |
in, |
|
|
int64_t |
ts |
|
) |
| |
|
static |
◆ wavesynth_seek()
◆ wavesynth_parse_extradata()
◆ wavesynth_init()
◆ wavesynth_synth_sample()
◆ wavesynth_enter_intervals()
◆ wavesynth_decode()
◆ wavesynth_close()
◆ ff_ffwavesynth_decoder
Initial value:= {
.name = "wavesynth",
}
static av_cold int init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int wavesynth_init(AVCodecContext *avc)
static int wavesynth_decode(AVCodecContext *avc, void *rframe, int *rgot_frame, AVPacket *packet)
static av_cold int wavesynth_close(AVCodecContext *avc)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 471 of file ffwavesynth.c.