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,
AV_RESAMPLE_DITHER_TRIANGULAR_HP
Triangular Dither with High Pass.
attribute_deprecated const char * avresample_license(void)
attribute_deprecated int avresample_set_matrix(AVAudioResampleContext *avr, const double *matrix, int stride)
attribute_deprecated int avresample_set_compensation(AVAudioResampleContext *avr, int sample_delta, int compensation_distance)
This structure describes decoded (raw) audio or video data.
attribute_deprecated int avresample_open(AVAudioResampleContext *avr)
attribute_deprecated int avresample_read(AVAudioResampleContext *avr, uint8_t **output, int nb_samples)
attribute_deprecated int avresample_get_delay(AVAudioResampleContext *avr)
enum attribute_deprecated AVResampleFilterType
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)
Convenience header that includes libavutil's core.
enum attribute_deprecated AVMixCoeffType
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)
AV_MIX_COEFF_TYPE_NB
floating-point
attribute_deprecated void avresample_close(AVAudioResampleContext *avr)
AV_RESAMPLE_DITHER_NONE
Do not use dithering.
AV_RESAMPLE_DITHER_TRIANGULAR_NS
Triangular Dither with Noise Shaping.
attribute_deprecated int avresample_config(AVAudioResampleContext *avr, AVFrame *out, AVFrame *in)
AV_RESAMPLE_FILTER_TYPE_BLACKMAN_NUTTALL
Blackman Nuttall Windowed Sinc.
attribute_deprecated int avresample_available(AVAudioResampleContext *avr)
reference-counted frame API
AV_RESAMPLE_DITHER_NB
Number of dither types.
attribute_deprecated int avresample_get_matrix(AVAudioResampleContext *avr, double *matrix, int stride)
audio channel layout utility functions
attribute_deprecated const char * avresample_configuration(void)
attribute_deprecated unsigned avresample_version(void)
attribute_deprecated const AVClass * avresample_get_class(void)
attribute_deprecated int avresample_is_open(AVAudioResampleContext *avr)
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 int avresample_set_channel_mapping(AVAudioResampleContext *avr, const int *channel_map)
enum attribute_deprecated AVResampleDitherMethod
Describe the class of an AVClass context structure.
AV_RESAMPLE_FILTER_TYPE_CUBIC
Cubic.
attribute_deprecated AVAudioResampleContext * avresample_alloc_context(void)
#define attribute_deprecated
AV_RESAMPLE_DITHER_RECTANGULAR
Rectangular Dither.
attribute_deprecated void avresample_free(AVAudioResampleContext **avr)
AV_RESAMPLE_FILTER_TYPE_KAISER
Kaiser Windowed Sinc.
AV_MIX_COEFF_TYPE_FLT
32-bit 17.15 fixed-point
AV_RESAMPLE_DITHER_TRIANGULAR
Triangular Dither.
Libavresample version macros.
AV_MIX_COEFF_TYPE_Q15
16-bit 8.8 fixed-point