libavcodec/resample.c File Reference
samplerate conversion for both audio and video
More...
#include "avcodec.h"
Go to the source code of this file.
|
Data Structures |
| struct | ReSampleContext |
Defines |
| #define | TAPS 16 |
Functions |
| static void | stereo_to_mono (short *output, short *input, int n1) |
| static void | mono_to_stereo (short *output, short *input, int n1) |
| static void | stereo_split (short *output1, short *output2, short *input, int n) |
| static void | stereo_mux (short *output, short *input1, short *input2, int n) |
| static void | ac3_5p1_mux (short *output, short *input1, short *input2, int n) |
| ReSampleContext * | audio_resample_init (int output_channels, int input_channels, int output_rate, int input_rate) |
| int | audio_resample (ReSampleContext *s, short *output, short *input, int nb_samples) |
| void | audio_resample_close (ReSampleContext *s) |
Detailed Description
samplerate conversion for both audio and video
Definition in file resample.c.
Define Documentation
Function Documentation
| static void ac3_5p1_mux |
( |
short * |
output, |
|
|
short * |
input1, |
|
|
short * |
input2, |
|
|
int |
n | |
|
) |
| | [static] |
| int audio_resample |
( |
ReSampleContext * |
s, |
|
|
short * |
output, |
|
|
short * |
input, |
|
|
int |
nb_samples | |
|
) |
| | |
| ReSampleContext* audio_resample_init |
( |
int |
output_channels, |
|
|
int |
input_channels, |
|
|
int |
output_rate, |
|
|
int |
input_rate | |
|
) |
| | |
| static void mono_to_stereo |
( |
short * |
output, |
|
|
short * |
input, |
|
|
int |
n1 | |
|
) |
| | [static] |
| static void stereo_mux |
( |
short * |
output, |
|
|
short * |
input1, |
|
|
short * |
input2, |
|
|
int |
n | |
|
) |
| | [static] |
| static void stereo_split |
( |
short * |
output1, |
|
|
short * |
output2, |
|
|
short * |
input, |
|
|
int |
n | |
|
) |
| | [static] |
| static void stereo_to_mono |
( |
short * |
output, |
|
|
short * |
input, |
|
|
int |
n1 | |
|
) |
| | [static] |