21 #ifndef AVRESAMPLE_AVRESAMPLE_H
22 #define AVRESAMPLE_AVRESAMPLE_H
104 #define AVRESAMPLE_MAX_CHANNELS 32
287 double center_mix_level,
double surround_mix_level,
288 double lfe_mix_level,
int normalize,
double *matrix,
367 const int *channel_map);
387 int compensation_distance);
452 int out_plane_size,
int out_samples,
453 uint8_t *
const *input,
int in_plane_size,
#define attribute_deprecated
AV_MIX_COEFF_TYPE_Q15
16-bit 8.8 fixed-point
AV_RESAMPLE_DITHER_TRIANGULAR
Triangular Dither.
AV_RESAMPLE_DITHER_TRIANGULAR_HP
Triangular Dither with High Pass.
AV_RESAMPLE_DITHER_RECTANGULAR
Rectangular Dither.
AV_RESAMPLE_DITHER_NB
Number of dither types.
AV_RESAMPLE_FILTER_TYPE_KAISER
Kaiser Windowed Sinc.
AV_MIX_COEFF_TYPE_FLT
32-bit 17.15 fixed-point
AV_RESAMPLE_FILTER_TYPE_CUBIC
Cubic.
AV_RESAMPLE_FILTER_TYPE_BLACKMAN_NUTTALL
Blackman Nuttall Windowed Sinc.
AV_RESAMPLE_DITHER_NONE
Do not use dithering.
AV_RESAMPLE_DITHER_TRIANGULAR_NS
Triangular Dither with Noise Shaping.
AV_MIX_COEFF_TYPE_NB
floating-point
Convenience header that includes libavutil's core.
audio channel layout utility functions
reference-counted frame API
attribute_deprecated int avresample_get_delay(AVAudioResampleContext *avr)
attribute_deprecated const char * avresample_configuration(void)
attribute_deprecated int avresample_convert_frame(AVAudioResampleContext *avr, AVFrame *output, AVFrame *input)
attribute_deprecated int avresample_get_out_samples(AVAudioResampleContext *avr, int in_nb_samples)
attribute_deprecated int avresample_convert(AVAudioResampleContext *avr, uint8_t **output, int out_plane_size, int out_samples, uint8_t *const *input, int in_plane_size, int in_samples)
attribute_deprecated int avresample_is_open(AVAudioResampleContext *avr)
attribute_deprecated unsigned avresample_version(void)
attribute_deprecated int avresample_config(AVAudioResampleContext *avr, AVFrame *out, AVFrame *in)
attribute_deprecated const AVClass * avresample_get_class(void)
attribute_deprecated void avresample_free(AVAudioResampleContext **avr)
attribute_deprecated int avresample_set_channel_mapping(AVAudioResampleContext *avr, const int *channel_map)
enum attribute_deprecated AVResampleDitherMethod
enum attribute_deprecated AVResampleFilterType
enum attribute_deprecated AVMixCoeffType
attribute_deprecated int avresample_set_matrix(AVAudioResampleContext *avr, const double *matrix, int stride)
attribute_deprecated int avresample_read(AVAudioResampleContext *avr, uint8_t **output, int nb_samples)
attribute_deprecated int avresample_build_matrix(uint64_t in_layout, uint64_t out_layout, double center_mix_level, double surround_mix_level, double lfe_mix_level, int normalize, double *matrix, int stride, enum AVMatrixEncoding matrix_encoding)
struct AVAudioResampleContext AVAudioResampleContext
attribute_deprecated AVAudioResampleContext * avresample_alloc_context(void)
attribute_deprecated int avresample_get_matrix(AVAudioResampleContext *avr, double *matrix, int stride)
attribute_deprecated int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta, int compensation_distance)
attribute_deprecated const char * avresample_license(void)
attribute_deprecated void avresample_close(AVAudioResampleContext *avr)
attribute_deprecated int avresample_open(AVAudioResampleContext *avr)
attribute_deprecated int avresample_available(AVAudioResampleContext *avr)
Libavresample version macros.
Describe the class of an AVClass context structure.
This structure describes decoded (raw) audio or video data.