FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | DitherDSPContext |
Functions | |
DitherContext * | ff_dither_alloc (AVAudioResampleContext *avr, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt, int channels, int sample_rate, int apply_map) |
Allocate and initialize a DitherContext. | |
void | ff_dither_free (DitherContext **c) |
Free a DitherContext. | |
int | ff_convert_dither (DitherContext *c, AudioData *dst, AudioData *src) |
Convert audio sample format with dithering. | |
void | ff_dither_init_x86 (DitherDSPContext *ddsp, enum AVResampleDitherMethod method) |
DitherContext* ff_dither_alloc | ( | AVAudioResampleContext * | avr, |
enum AVSampleFormat | out_fmt, | ||
enum AVSampleFormat | in_fmt, | ||
int | channels, | ||
int | sample_rate, | ||
int | apply_map | ||
) |
Allocate and initialize a DitherContext.
The parameters in the AVAudioResampleContext are used to initialize the DitherContext.
avr | AVAudioResampleContext |
void ff_dither_free | ( | DitherContext ** | c | ) |
Free a DitherContext.
c | DitherContext |
Definition at line 311 of file dither.c.
Referenced by ff_dither_alloc().
int ff_convert_dither | ( | DitherContext * | c, |
AudioData * | dst, | ||
AudioData * | src | ||
) |
Convert audio sample format with dithering.
c | DitherContext |
dst | destination audio data |
src | source audio data |
void ff_dither_init_x86 | ( | DitherDSPContext * | ddsp, |
enum AVResampleDitherMethod | method | ||
) |
Definition at line 35 of file dither_init.c.
Referenced by dither_init().