ReactOS 0.4.16-dev-297-gc569aee
dither.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DITHERSIZE   65536
 

Enumerations

enum  mpg123_noise_type { mpg123_white_noise = 0 , mpg123_tpdf_noise , mpg123_highpass_tpdf_noise }
 

Functions

void mpg123_noise (float *table, size_t count, enum mpg123_noise_type noisetype)
 
void dither_table_init (float *dithertable)
 

Macro Definition Documentation

◆ DITHERSIZE

#define DITHERSIZE   65536

Definition at line 12 of file dither.h.

Enumeration Type Documentation

◆ mpg123_noise_type

Enumerator
mpg123_white_noise 
mpg123_tpdf_noise 
mpg123_highpass_tpdf_noise 

Definition at line 13 of file dither.h.

14{
18};
@ mpg123_white_noise
Definition: dither.h:15
@ mpg123_tpdf_noise
Definition: dither.h:16
@ mpg123_highpass_tpdf_noise
Definition: dither.h:17

Function Documentation

◆ dither_table_init()

void dither_table_init ( float dithertable)

Definition at line 116 of file dither_impl.h.

117{
118 highpass_tpdf_noise(dithertable, DITHERSIZE);
119}
#define DITHERSIZE
Definition: dither.h:12
static void highpass_tpdf_noise(float *table, size_t count)
Definition: dither_impl.h:65

◆ mpg123_noise()

void mpg123_noise ( float table,
size_t  count,
enum mpg123_noise_type  noisetype 
)

Definition at line 103 of file dither_impl.h.

104{
105 switch(noisetype)
106 {
111 break;
112 }
113}
static void tpdf_noise(float *table, size_t count)
Definition: dither_impl.h:56
static void white_noise(float *table, size_t count)
Definition: dither_impl.h:47
GLuint GLuint GLsizei count
Definition: gl.h:1545