#include "swresample.h"
Go to the source code of this file.
Data Structures | |
struct | AudioData |
struct | SwrContext |
Typedefs | |
typedef struct AudioData | AudioData |
typedef struct SwrContext | SwrContext |
Functions | |
struct ResampleContext * | swri_resample_init (struct ResampleContext *, int out_rate, int in_rate, int filter_size, int phase_shift, int linear, double cutoff) |
void | swri_resample_free (struct ResampleContext **c) |
int | swri_multiple_resample (struct ResampleContext *c, AudioData *dst, int dst_size, AudioData *src, int src_size, int *consumed) |
void | swri_resample_compensate (struct ResampleContext *c, int sample_delta, int compensation_distance) |
int | swri_resample (struct ResampleContext *c, int16_t *dst, const int16_t *src, int *consumed, int src_size, int dst_size, int update_ctx) |
int | swri_rematrix_init (SwrContext *s) |
int | swri_rematrix (SwrContext *s, AudioData *out, AudioData *in, int len, int mustcopy) |
typedef struct SwrContext SwrContext |
int swri_multiple_resample | ( | struct ResampleContext * | c, |
AudioData * | dst, | ||
int | dst_size, | ||
AudioData * | src, | ||
int | src_size, | ||
int * | consumed | ||
) |
Definition at line 360 of file resample.c.
Referenced by resample().
int swri_rematrix | ( | SwrContext * | s, |
AudioData * | out, | ||
AudioData * | in, | ||
int | len, | ||
int | mustcopy | ||
) |
Definition at line 242 of file rematrix.c.
Referenced by swr_convert().
int swri_rematrix_init | ( | SwrContext * | s | ) |
Definition at line 87 of file rematrix.c.
Referenced by swr_init().
int swri_resample | ( | struct ResampleContext * | c, |
int16_t * | dst, | ||
const int16_t * | src, | ||
int * | consumed, | ||
int | src_size, | ||
int | dst_size, | ||
int | update_ctx | ||
) |
Definition at line 271 of file resample.c.
Referenced by swri_multiple_resample().
void swri_resample_compensate | ( | struct ResampleContext * | c, |
int | sample_delta, | ||
int | compensation_distance | ||
) |
void swri_resample_free | ( | struct ResampleContext ** | c | ) |
Definition at line 241 of file resample.c.
Referenced by swr_free(), and swr_init().
struct ResampleContext* swri_resample_init | ( | struct ResampleContext * | , |
int | out_rate, | ||
int | in_rate, | ||
int | filter_size, | ||
int | phase_shift, | ||
int | linear, | ||
double | cutoff | ||
) | [read] |
Definition at line 202 of file resample.c.
Referenced by swr_init().