Go to the documentation of this file.
23 #ifndef SWRESAMPLE_AUDIOCONVERT_H
24 #define SWRESAMPLE_AUDIOCONVERT_H
35 typedef void (
conv_func_type)(uint8_t *po,
const uint8_t *pi,
int is,
int os, uint8_t *end);
The official guide to swscale for confused that is
uint8_t silence[8]
silence input sample
int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len)
Convert between audio sample formats.
static const int ch_map[SC_NB]
AudioConvert * swri_audio_convert_alloc(enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt, int channels, const int *ch_map, int flags)
Create an audio sample format converter context.
AVSampleFormat
Audio sample formats.
void() simd_func_type(uint8_t **dst, const uint8_t **src, int len)
void swri_audio_convert_free(AudioConvert **ctx)
Free audio sample format converter context.
void() conv_func_type(uint8_t *po, const uint8_t *pi, int is, int os, uint8_t *end)
#define flags(name, subs,...)