|
FFmpeg
|
external API header More...
#include "libavutil/avutil.h"#include "libavutil/channel_layout.h"#include "libavutil/dict.h"#include "libavutil/frame.h"#include "libavutil/log.h"#include "libavutil/mathematics.h"#include "libavresample/version.h"Go to the source code of this file.
Macros | |
| #define | AVRESAMPLE_MAX_CHANNELS 32 |
Enumerations | |
| enum | AVMixCoeffType { AV_MIX_COEFF_TYPE_Q8, AV_MIX_COEFF_TYPE_Q15, AV_MIX_COEFF_TYPE_FLT, AV_MIX_COEFF_TYPE_NB } |
| Mixing Coefficient Types. More... | |
| enum | AVResampleFilterType { AV_RESAMPLE_FILTER_TYPE_CUBIC, AV_RESAMPLE_FILTER_TYPE_BLACKMAN_NUTTALL, AV_RESAMPLE_FILTER_TYPE_KAISER } |
| Resampling Filter Types. More... | |
| enum | AVResampleDitherMethod { AV_RESAMPLE_DITHER_NONE, AV_RESAMPLE_DITHER_RECTANGULAR, AV_RESAMPLE_DITHER_TRIANGULAR, AV_RESAMPLE_DITHER_TRIANGULAR_HP, AV_RESAMPLE_DITHER_TRIANGULAR_NS, AV_RESAMPLE_DITHER_NB } |
Functions | |
| unsigned | avresample_version (void) |
| Return the LIBAVRESAMPLE_VERSION_INT constant. More... | |
| const char * | avresample_configuration (void) |
| Return the libavresample build-time configuration. More... | |
| const char * | avresample_license (void) |
| Return the libavresample license. More... | |
| const AVClass * | avresample_get_class (void) |
| Get the AVClass for AVAudioResampleContext. More... | |
| AVAudioResampleContext * | avresample_alloc_context (void) |
| Allocate AVAudioResampleContext and set options. More... | |
| int | avresample_open (AVAudioResampleContext *avr) |
| Initialize AVAudioResampleContext. More... | |
| int | avresample_is_open (AVAudioResampleContext *avr) |
| Check whether an AVAudioResampleContext is open or closed. More... | |
| void | avresample_close (AVAudioResampleContext *avr) |
| Close AVAudioResampleContext. More... | |
| void | avresample_free (AVAudioResampleContext **avr) |
| Free AVAudioResampleContext and associated AVOption values. More... | |
| 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) |
| Generate a channel mixing matrix. More... | |
| int | avresample_get_matrix (AVAudioResampleContext *avr, double *matrix, int stride) |
| Get the current channel mixing matrix. More... | |
| int | avresample_set_matrix (AVAudioResampleContext *avr, const double *matrix, int stride) |
| Set channel mixing matrix. More... | |
| int | avresample_set_channel_mapping (AVAudioResampleContext *avr, const int *channel_map) |
| Set a customized input channel mapping. More... | |
| int | avresample_set_compensation (AVAudioResampleContext *avr, int sample_delta, int compensation_distance) |
| Set compensation for resampling. More... | |
| int | avresample_get_out_samples (AVAudioResampleContext *avr, int in_nb_samples) |
| Provide the upper bound on the number of samples the configured conversion would output. More... | |
| 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) |
| Convert input samples and write them to the output FIFO. More... | |
| int | avresample_get_delay (AVAudioResampleContext *avr) |
| Return the number of samples currently in the resampling delay buffer. More... | |
| int | avresample_available (AVAudioResampleContext *avr) |
| Return the number of available samples in the output FIFO. More... | |
| int | avresample_read (AVAudioResampleContext *avr, uint8_t **output, int nb_samples) |
| Read samples from the output FIFO. More... | |
| int | avresample_convert_frame (AVAudioResampleContext *avr, AVFrame *output, AVFrame *input) |
| Convert the samples in the input AVFrame and write them to the output AVFrame. More... | |
| int | avresample_config (AVAudioResampleContext *avr, AVFrame *out, AVFrame *in) |
| Configure or reconfigure the AVAudioResampleContext using the information provided by the AVFrames. More... | |
external API header
Definition in file avresample.h.
1.8.6