libswresample/dither.c File Reference
Include dependency graph for libswresample/dither.c:

Go to the source code of this file.

Macros

#define TMP_EXTRA   2
 
#define TEMPLATE_DITHER_S16
 
#define TEMPLATE_DITHER_S32
 
#define TEMPLATE_DITHER_FLT
 
#define TEMPLATE_DITHER_DBL
 

Functions

void swri_get_dither (SwrContext *s, void *dst, int len, unsigned seed, enum AVSampleFormat noise_fmt)
 
int swri_dither_init (SwrContext *s, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt)
 

Macro Definition Documentation

#define TEMPLATE_DITHER_DBL

Definition at line 145 of file libswresample/dither.c.

#define TEMPLATE_DITHER_FLT

Definition at line 141 of file libswresample/dither.c.

#define TEMPLATE_DITHER_S16

Definition at line 133 of file libswresample/dither.c.

#define TEMPLATE_DITHER_S32

Definition at line 137 of file libswresample/dither.c.

#define TMP_EXTRA   2

Referenced by swri_get_dither().

Function Documentation

int swri_dither_init ( SwrContext s,
enum AVSampleFormat  out_fmt,
enum AVSampleFormat  in_fmt 
)

Definition at line 75 of file libswresample/dither.c.

Referenced by swr_init().

void swri_get_dither ( SwrContext s,
void dst,
int  len,
unsigned  seed,
enum AVSampleFormat  noise_fmt 
)

Definition at line 26 of file libswresample/dither.c.

Referenced by swr_convert_internal().