Go to the source code of this file.
|
| 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
◆ 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",
}
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
int(* init)(AVBSFContext *ctx)
static av_cold int wavesynth_close(AVCodecContext *avc)
static av_cold int wavesynth_init(AVCodecContext *avc)
static int wavesynth_decode(AVCodecContext *avc, AVFrame *frame, int *rgot_frame, AVPacket *packet)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
@ AV_CODEC_ID_FFWAVESYNTH
Definition at line 463 of file ffwavesynth.c.