Classes | Defines | Typedefs | Functions

jquant1.c File Reference

#include "jinclude.h"
#include "jpeglib.h"
Include dependency graph for jquant1.c:

Classes

struct  my_cquantizer

Defines

#define JPEG_INTERNALS
#define ODITHER_SIZE   16
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE)
#define ODITHER_MASK   (ODITHER_SIZE-1)
#define MAX_Q_COMPS   4

Typedefs

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

Functions

 select_ncolors (j_decompress_ptr cinfo, int Ncolors[])
 output_value (j_decompress_ptr cinfo, int ci, int j, int maxj)
 largest_input_value (j_decompress_ptr cinfo, int ci, 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 is_pre_scan)
 finish_pass_1_quant (j_decompress_ptr cinfo)
 new_color_map_1_quant (j_decompress_ptr cinfo)
 jinit_1pass_quantizer (j_decompress_ptr cinfo)

Define Documentation

#define JPEG_INTERNALS
#define MAX_Q_COMPS   4
#define ODITHER_CELLS   (ODITHER_SIZE*ODITHER_SIZE)
#define ODITHER_MASK   (ODITHER_SIZE-1)
#define ODITHER_SIZE   16

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  ) 

Here is the caller graph for this function:

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  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

create_colormap ( j_decompress_ptr  cinfo  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

create_odither_tables ( j_decompress_ptr  cinfo  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

finish_pass_1_quant ( j_decompress_ptr  cinfo  ) 
jinit_1pass_quantizer ( j_decompress_ptr  cinfo  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

largest_input_value ( j_decompress_ptr  cinfo,
int  ci,
int  j,
int  maxj 
)

Here is the caller graph for this function:

make_odither_array ( j_decompress_ptr  cinfo,
int  ncolors 
)

Here is the caller graph for this function:

new_color_map_1_quant ( j_decompress_ptr  cinfo  ) 
output_value ( j_decompress_ptr  cinfo,
int  ci,
int  j,
int  maxj 
)

Here is the caller graph for this function:

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 
)

Here is the call graph for this function:

quantize_ord_dither ( j_decompress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPARRAY  output_buf,
int  num_rows 
)

Here is the call graph for this function:

select_ncolors ( j_decompress_ptr  cinfo,
int  Ncolors[] 
)

Here is the caller graph for this function:

start_pass_1_quant ( j_decompress_ptr  cinfo,
boolean  is_pre_scan 
)

Here is the call graph for this function: