openshot-audio  0.1.7
Classes | Macros | Typedefs | Functions
jquant1.c File Reference
#include "jinclude.h"
#include "jpeglib.h"

Classes

struct  my_cquantizer
 

Macros

#define JPEG_INTERNALS
 
#define ODITHER_SIZE   16 /* dimension of dither matrix */
 
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
 
#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */
 
#define MAX_Q_COMPS   4 /* max components I can handle */
 
#define JPEG_INTERNALS
 
#define ODITHER_SIZE   16 /* dimension of dither matrix */
 
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
 
#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */
 
#define MAX_Q_COMPS   4 /* max components I can handle */
 
#define JPEG_INTERNALS
 
#define ODITHER_SIZE   16 /* dimension of dither matrix */
 
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
 
#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */
 
#define MAX_Q_COMPS   4 /* max components I can handle */
 

Typedefs

typedef int ODITHER_MATRIX [ODITHER_SIZE][ODITHER_SIZE]
 
typedef int(* ODITHER_MATRIX_PTR )[ODITHER_SIZE]
 
typedef INT16 FSERROR
 
typedef int LOCFSERROR
 
typedef FSERROR FARFSERRPTR
 
typedef my_cquantizermy_cquantize_ptr
 

Functions

 select_ncolors (j_decompress_ptr cinfo, int Ncolors[])
 
 output_value (j_decompress_ptr, int, int j, int maxj)
 
 largest_input_value (j_decompress_ptr, int, int j, int maxj)
 
 create_colormap (j_decompress_ptr cinfo)
 
 create_colorindex (j_decompress_ptr cinfo)
 
 make_odither_array (j_decompress_ptr cinfo, int ncolors)
 
 create_odither_tables (j_decompress_ptr cinfo)
 
 color_quantize (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 color_quantize3 (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 quantize_ord_dither (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 quantize3_ord_dither (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 quantize_fs_dither (j_decompress_ptr cinfo, JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows)
 
 alloc_fs_workspace (j_decompress_ptr cinfo)
 
 start_pass_1_quant (j_decompress_ptr cinfo, boolean)
 
 finish_pass_1_quant (j_decompress_ptr)
 
 new_color_map_1_quant (j_decompress_ptr cinfo)
 
 jinit_1pass_quantizer (j_decompress_ptr cinfo)
 

Macro Definition Documentation

#define JPEG_INTERNALS
#define JPEG_INTERNALS
#define JPEG_INTERNALS
#define MAX_Q_COMPS   4 /* max components I can handle */
#define MAX_Q_COMPS   4 /* max components I can handle */
#define MAX_Q_COMPS   4 /* max components I can handle */
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE) /* # cells in matrix */
#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */
#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */
#define ODITHER_MASK   (ODITHER_SIZE-1) /* mask for wrapping around counters */
#define ODITHER_SIZE   16 /* dimension of dither matrix */
#define ODITHER_SIZE   16 /* dimension of dither matrix */
#define ODITHER_SIZE   16 /* dimension of dither matrix */

Typedef Documentation

typedef INT16 FSERROR
typedef FSERROR FAR* FSERRPTR
typedef int LOCFSERROR
typedef int ODITHER_MATRIX[ODITHER_SIZE][ODITHER_SIZE]
typedef int(* ODITHER_MATRIX_PTR)[ODITHER_SIZE]

Function Documentation

alloc_fs_workspace ( j_decompress_ptr  cinfo)
color_quantize ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)
color_quantize3 ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)
create_colorindex ( j_decompress_ptr  cinfo)
create_colormap ( j_decompress_ptr  cinfo)
create_odither_tables ( j_decompress_ptr  cinfo)
finish_pass_1_quant ( j_decompress_ptr  )
jinit_1pass_quantizer ( j_decompress_ptr  cinfo)
largest_input_value ( j_decompress_ptr  ,
int  ,
int  j,
int  maxj 
)
make_odither_array ( j_decompress_ptr  cinfo,
int  ncolors 
)
new_color_map_1_quant ( j_decompress_ptr  cinfo)
output_value ( j_decompress_ptr  ,
int  ,
int  j,
int  maxj 
)
quantize3_ord_dither ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)
quantize_fs_dither ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)
quantize_ord_dither ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)
select_ncolors ( j_decompress_ptr  cinfo,
int  Ncolors[] 
)
start_pass_1_quant ( j_decompress_ptr  cinfo,
boolean   
)