|
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 ASSIGN_STATE | ( | dest, | |
| src | |||
| ) | ((dest) = (src)) |
Definition at line 41 of file jchuff.c.
Referenced by encode_mcu_huff(), and finish_pass_huff().
{ *(state)->next_output_byte++ = (JOCTET) (val); \
if (--(state)->free_in_buffer == 0) \
if (! dump_buffer(state)) \
{ action; } }
Definition at line 270 of file jchuff.c.
Referenced by emit_bits(), and emit_restart().
| #define MAX_CLEN 32 |
Referenced by jpeg_gen_optimal_table().
| typedef huff_entropy_encoder* huff_entropy_ptr |
| dump_buffer | ( | working_state * | state | ) |
Definition at line 278 of file jchuff.c.
References FALSE, jpeg_destination_mgr::free_in_buffer, jpeg_destination_mgr::next_output_byte, and TRUE.
| INLINE emit_bits | ( | working_state * | state, |
| unsigned int | code, | ||
| int | size | ||
| ) |
Definition at line 302 of file jchuff.c.
References emit_byte, ERREXIT, FALSE, int, size, and TRUE.
Referenced by emit_buffered_bits(), emit_eobrun(), emit_symbol(), encode_mcu_AC_first(), encode_mcu_AC_refine(), encode_mcu_DC_first(), encode_mcu_DC_refine(), encode_one_block(), and flush_bits().
| emit_restart | ( | working_state * | state, |
| int | restart_num | ||
| ) |
Definition at line 451 of file jchuff.c.
References emit_byte, FALSE, flush_bits(), JPEG_RST0, and TRUE.
Referenced by encode_mcu_AC_first(), encode_mcu_AC_refine(), encode_mcu_DC_first(), encode_mcu_DC_refine(), and encode_mcu_huff().
| encode_mcu_gather | ( | j_compress_ptr | cinfo, |
| JBLOCKROW * | MCU_data | ||
| ) |
Definition at line 645 of file jchuff.c.
References huff_entropy_encoder::ac_count_ptrs, jpeg_component_info::ac_tbl_no, compptr, huff_entropy_encoder::dc_count_ptrs, jpeg_component_info::dc_tbl_no, htest_one_block(), savable_state::last_dc_val, huff_entropy_encoder::restarts_to_go, huff_entropy_encoder::saved, and TRUE.
Referenced by METHODDEF().
| encode_mcu_huff | ( | j_compress_ptr | cinfo, |
| JBLOCKROW * | MCU_data | ||
| ) |
Definition at line 476 of file jchuff.c.
References huff_entropy_encoder::ac_derived_tbls, jpeg_component_info::ac_tbl_no, ASSIGN_STATE, compptr, huff_entropy_encoder::dc_derived_tbls, jpeg_component_info::dc_tbl_no, emit_restart(), encode_one_block(), FALSE, huff_entropy_encoder::next_restart_num, huff_entropy_encoder::restarts_to_go, huff_entropy_encoder::saved, state, and TRUE.
Referenced by METHODDEF().
| encode_one_block | ( | working_state * | state, |
| JCOEFPTR | block, | ||
| int | last_dc_val, | ||
| c_derived_tbl * | dctbl, | ||
| c_derived_tbl * | actbl | ||
| ) |
Definition at line 353 of file jchuff.c.
References DCTSIZE2, emit_bits(), ERREXIT, FALSE, i, jpeg_natural_order, MAX_COEF_BITS, nbits, and TRUE.
Referenced by encode_mcu_huff().
| finish_pass_gather | ( | j_compress_ptr | cinfo | ) |
Definition at line 846 of file jchuff.c.
References huff_entropy_encoder::ac_count_ptrs, jpeg_component_info::ac_tbl_no, compptr, huff_entropy_encoder::dc_count_ptrs, jpeg_component_info::dc_tbl_no, jpeg_alloc_huff_table(), jpeg_gen_optimal_table(), MEMZERO, NULL, NUM_HUFF_TBLS, SIZEOF, and TRUE.
Referenced by METHODDEF().
| finish_pass_huff | ( | j_compress_ptr | cinfo | ) |
Definition at line 533 of file jchuff.c.
References ASSIGN_STATE, ERREXIT, flush_bits(), huff_entropy_encoder::saved, and state.
Referenced by METHODDEF().
| flush_bits | ( | working_state * | state | ) |
Definition at line 340 of file jchuff.c.
References emit_bits(), FALSE, and TRUE.
Referenced by emit_restart(), finish_pass_huff(), and finish_pass_phuff().
| htest_one_block | ( | j_compress_ptr | cinfo, |
| JCOEFPTR | block, | ||
| int | last_dc_val, | ||
| long | dc_counts[], | ||
| long | ac_counts[] | ||
| ) |
Definition at line 572 of file jchuff.c.
References DCTSIZE2, ERREXIT, jpeg_natural_order, MAX_COEF_BITS, and nbits.
Referenced by encode_mcu_gather().
| jinit_huff_encoder | ( | j_compress_ptr | cinfo | ) |
Definition at line 891 of file jchuff.c.
References huff_entropy_encoder::ac_count_ptrs, huff_entropy_encoder::ac_derived_tbls, huff_entropy_encoder::dc_count_ptrs, huff_entropy_encoder::dc_derived_tbls, i, JPOOL_IMAGE, NULL, NUM_HUFF_TBLS, huff_entropy_encoder::pub, and SIZEOF.
Referenced by jinit_compress_master(), and transencode_master_selection().
| jpeg_gen_optimal_table | ( | j_compress_ptr | cinfo, |
| JHUFF_TBL * | htbl, | ||
| long | freq[] | ||
| ) |
| jpeg_make_c_derived_tbl | ( | j_compress_ptr | cinfo, |
| boolean | isDC, | ||
| int | tblno, | ||
| c_derived_tbl ** | pdtbl | ||
| ) |
Definition at line 179 of file jchuff.c.
References JHUFF_TBL::bits, c_derived_tbl::ehufco, c_derived_tbl::ehufsi, ERREXIT, ERREXIT1, htbl, JHUFF_TBL::huffval, i, int, JPOOL_IMAGE, MEMZERO, NULL, NUM_HUFF_TBLS, pdtbl, SIZEOF, and tblno.
Referenced by METHODDEF().
| METHODDEF | ( | boolean | ) |
Definition at line 89 of file jchuff.c.
References huff_entropy_encoder::ac_count_ptrs, huff_entropy_encoder::ac_derived_tbls, jpeg_component_info::ac_tbl_no, compptr, huff_entropy_encoder::dc_count_ptrs, huff_entropy_encoder::dc_derived_tbls, jpeg_component_info::dc_tbl_no, encode_mcu_gather(), encode_mcu_huff(), ERREXIT, ERREXIT1, FALSE, finish_pass_gather(), finish_pass_huff(), jpeg_make_c_derived_tbl(), JPOOL_IMAGE, savable_state::last_dc_val, MEMZERO, huff_entropy_encoder::next_restart_num, NULL, NUM_HUFF_TBLS, huff_entropy_encoder::pub, savable_state::put_bits, savable_state::put_buffer, huff_entropy_encoder::restarts_to_go, huff_entropy_encoder::saved, SIZEOF, and TRUE.