libavresample/utils.c File Reference
#include "libavutil/common.h"
#include "libavutil/dict.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avresample.h"
#include "internal.h"
#include "audio_data.h"
#include "audio_convert.h"
#include "audio_mix.h"
#include "resample.h"
Include dependency graph for libavresample/utils.c:

Go to the source code of this file.

Macros

#define LICENSE_PREFIX   "libavresample license: "
 

Functions

int avresample_open (AVAudioResampleContext *avr)
 Initialize AVAudioResampleContext. More...
 
void avresample_close (AVAudioResampleContext *avr)
 Close AVAudioResampleContext. More...
 
void avresample_free (AVAudioResampleContext **avr)
 Free AVAudioResampleContext and associated AVOption values. More...
 
static int handle_buffered_output (AVAudioResampleContext *avr, AudioData *output, AudioData *converted)
 
int attribute_align_arg avresample_convert (AVAudioResampleContext *avr, uint8_t **output, int out_plane_size, int out_samples, uint8_t **input, int in_plane_size, int in_samples)
 Convert input samples and write them to the output FIFO. 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_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...
 
unsigned avresample_version (void)
 Return the LIBAVRESAMPLE_VERSION_INT constant. More...
 
const char * avresample_license (void)
 Return the libavresample license. More...
 
const char * avresample_configuration (void)
 Return the libavresample build-time configuration. More...
 

Macro Definition Documentation

#define LICENSE_PREFIX   "libavresample license: "

Referenced by avresample_license().

Function Documentation

static int handle_buffered_output ( AVAudioResampleContext avr,
AudioData output,
AudioData converted 
)
static

Definition at line 282 of file libavresample/utils.c.

Referenced by avresample_convert().