|
fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation) ![]() |

Go to the source code of this file.
| #define MAX_Q_COMPS 4 |
Definition at line 140 of file jquant1.c.
Referenced by jinit_1pass_quantizer().
| #define ODITHER_CELLS (ODITHER_SIZE*ODITHER_SIZE) |
Definition at line 73 of file jquant1.c.
Referenced by make_odither_array().
| #define ODITHER_MASK (ODITHER_SIZE-1) |
Definition at line 74 of file jquant1.c.
Referenced by quantize3_ord_dither(), and quantize_ord_dither().
| #define ODITHER_SIZE 16 |
Definition at line 71 of file jquant1.c.
Referenced by make_odither_array().
| typedef int LOCFSERROR |
| typedef my_cquantizer* my_cquantize_ptr |
| typedef int ODITHER_MATRIX[ODITHER_SIZE][ODITHER_SIZE] |
| typedef int(* ODITHER_MATRIX_PTR)[ODITHER_SIZE] |
| alloc_fs_workspace | ( | j_decompress_ptr | cinfo | ) |
Definition at line 722 of file jquant1.c.
References my_cquantizer::fserrors, i, JPOOL_IMAGE, and SIZEOF.
Referenced by jinit_1pass_quantizer(), and start_pass_1_quant().
| color_quantize | ( | j_decompress_ptr | cinfo, |
| JSAMPARRAY | input_buf, | ||
| JSAMPARRAY | output_buf, | ||
| int | num_rows | ||
| ) |
Definition at line 459 of file jquant1.c.
References my_cquantizer::colorindex, GETJSAMPLE, num_rows, row, and width.
Referenced by start_pass_1_quant().
| color_quantize3 | ( | j_decompress_ptr | cinfo, |
| JSAMPARRAY | input_buf, | ||
| JSAMPARRAY | output_buf, | ||
| int | num_rows | ||
| ) |
Definition at line 487 of file jquant1.c.
References my_cquantizer::colorindex, GETJSAMPLE, num_rows, row, and width.
Referenced by start_pass_1_quant().
| create_colorindex | ( | j_decompress_ptr | cinfo | ) |
Definition at line 333 of file jquant1.c.
References my_cquantizer::colorindex, FALSE, i, my_cquantizer::is_padded, JDITHER_ORDERED, JPOOL_IMAGE, largest_input_value(), MAXJSAMPLE, my_cquantizer::Ncolors, my_cquantizer::sv_actual, TRUE, and val.
Referenced by jinit_1pass_quantizer(), and start_pass_1_quant().
| create_colormap | ( | j_decompress_ptr | cinfo | ) |
Definition at line 273 of file jquant1.c.
References i, JPOOL_IMAGE, my_cquantizer::Ncolors, output_value(), ptr, select_ncolors(), my_cquantizer::sv_actual, my_cquantizer::sv_colormap, TRACEMS1, TRACEMS4, and val.
Referenced by jinit_1pass_quantizer().
| create_odither_tables | ( | j_decompress_ptr | cinfo | ) |
Definition at line 432 of file jquant1.c.
References i, make_odither_array(), my_cquantizer::Ncolors, NULL, and my_cquantizer::odither.
Referenced by start_pass_1_quant().
| finish_pass_1_quant | ( | j_decompress_ptr | cinfo | ) |
Definition at line 798 of file jquant1.c.
Referenced by jinit_1pass_quantizer().
| jinit_1pass_quantizer | ( | j_decompress_ptr | cinfo | ) |
Definition at line 821 of file jquant1.c.
References alloc_fs_workspace(), create_colorindex(), create_colormap(), ERREXIT1, finish_pass_1_quant(), my_cquantizer::fserrors, JDITHER_FS, JPOOL_IMAGE, MAX_Q_COMPS, MAXJSAMPLE, new_color_map_1_quant(), NULL, my_cquantizer::odither, my_cquantizer::pub, SIZEOF, and start_pass_1_quant().
Referenced by master_selection().
| largest_input_value | ( | j_decompress_ptr | cinfo, |
| int | ci, | ||
| int | j, | ||
| int | maxj | ||
| ) |
| make_odither_array | ( | j_decompress_ptr | cinfo, |
| int | ncolors | ||
| ) |
Definition at line 396 of file jquant1.c.
References int, JPOOL_IMAGE, MAXJSAMPLE, num, ODITHER_CELLS, ODITHER_SIZE, and SIZEOF.
Referenced by create_odither_tables().
| new_color_map_1_quant | ( | j_decompress_ptr | cinfo | ) |
Definition at line 810 of file jquant1.c.
References ERREXIT.
Referenced by jinit_1pass_quantizer().
| output_value | ( | j_decompress_ptr | cinfo, |
| int | ci, | ||
| int | j, | ||
| int | maxj | ||
| ) |
| quantize3_ord_dither | ( | j_decompress_ptr | cinfo, |
| JSAMPARRAY | input_buf, | ||
| JSAMPARRAY | output_buf, | ||
| int | num_rows | ||
| ) |
Definition at line 565 of file jquant1.c.
References my_cquantizer::colorindex, GETJSAMPLE, num_rows, my_cquantizer::odither, ODITHER_MASK, row, my_cquantizer::row_index, and width.
Referenced by start_pass_1_quant().
| quantize_fs_dither | ( | j_decompress_ptr | cinfo, |
| JSAMPARRAY | input_buf, | ||
| JSAMPARRAY | output_buf, | ||
| int | num_rows | ||
| ) |
Definition at line 610 of file jquant1.c.
References my_cquantizer::colorindex, FALSE, FAR, my_cquantizer::fserrors, GETJSAMPLE, jzero_far(), num_rows, my_cquantizer::on_odd_row, RIGHT_SHIFT, row, SHIFT_TEMPS, SIZEOF, my_cquantizer::sv_colormap, TRUE, and width.
Referenced by start_pass_1_quant().
| quantize_ord_dither | ( | j_decompress_ptr | cinfo, |
| JSAMPARRAY | input_buf, | ||
| JSAMPARRAY | output_buf, | ||
| int | num_rows | ||
| ) |
Definition at line 515 of file jquant1.c.
References my_cquantizer::colorindex, FAR, GETJSAMPLE, jzero_far(), num_rows, my_cquantizer::odither, ODITHER_MASK, row, my_cquantizer::row_index, SIZEOF, and width.
Referenced by start_pass_1_quant().
| select_ncolors | ( | j_decompress_ptr | cinfo, |
| int | Ncolors[] | ||
| ) |
| start_pass_1_quant | ( | j_decompress_ptr | cinfo, |
| boolean | is_pre_scan | ||
| ) |
Definition at line 741 of file jquant1.c.
References alloc_fs_workspace(), color_quantize(), color_quantize3(), create_colorindex(), create_odither_tables(), ERREXIT, FALSE, FAR, my_cquantizer::fserrors, i, my_cquantizer::is_padded, JDITHER_FS, JDITHER_NONE, JDITHER_ORDERED, jzero_far(), NULL, my_cquantizer::odither, my_cquantizer::on_odd_row, my_cquantizer::pub, quantize3_ord_dither(), quantize_fs_dither(), quantize_ord_dither(), my_cquantizer::row_index, SIZEOF, my_cquantizer::sv_actual, and my_cquantizer::sv_colormap.
Referenced by jinit_1pass_quantizer().