FFmpeg
|
dither.h File Reference
Include dependency graph for dither.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | DitherDSPContext |
Typedefs | |
typedef struct DitherContext | DitherContext |
typedef struct DitherDSPContext | 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. More... | |
void | ff_dither_free (DitherContext **c) |
Free a DitherContext. More... | |
int | ff_convert_dither (DitherContext *c, AudioData *dst, AudioData *src) |
Convert audio sample format with dithering. More... | |
void | ff_dither_init_x86 (DitherDSPContext *ddsp, enum AVResampleDitherMethod method) |
Typedef Documentation
typedef struct DitherContext DitherContext |
typedef struct DitherDSPContext DitherDSPContext |
Function Documentation
int ff_convert_dither | ( | DitherContext * | c, |
AudioData * | dst, | ||
AudioData * | src | ||
) |
Convert audio sample format with dithering.
- Parameters
-
c DitherContext dst destination audio data src source audio data
- Returns
- 0 if ok, negative AVERROR code on failure
Definition at line 241 of file libavresample/dither.c.
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.
- Parameters
-
avr AVAudioResampleContext
- Returns
- newly-allocated DitherContext
Definition at line 344 of file libavresample/dither.c.
void ff_dither_free | ( | DitherContext ** | c | ) |
Free a DitherContext.
- Parameters
-
c DitherContext
Definition at line 311 of file libavresample/dither.c.
Referenced by ff_dither_alloc().
void ff_dither_init_x86 | ( | DitherDSPContext * | ddsp, |
enum AVResampleDitherMethod | method | ||
) |
Definition at line 34 of file dither_init.c.
Referenced by dither_init().
Generated on Mon Nov 18 2024 06:52:05 for FFmpeg by 1.8.11