#include "jinclude.h"
#include "jpeglib.h"
#include "jchuff.h"
#define ASSIGN_STATE | ( | dest, | |||
src | ) | ((dest) = (src)) |
#define emit_byte | ( | state, | |||
val, | |||||
action | ) |
Value:
{ *(state)->next_output_byte++ = (JOCTET) (val); \ if (--(state)->free_in_buffer == 0) \ if (! dump_buffer(state)) \ { action; } }
#define JPEG_INTERNALS |
#define MAX_CLEN 32 |
typedef huff_entropy_encoder* huff_entropy_ptr |
dump_buffer | ( | working_state * | state | ) |
INLINE emit_bits | ( | working_state * | state, | |
unsigned int | code, | |||
int | size | |||
) |
emit_restart | ( | working_state * | state, | |
int | restart_num | |||
) |
encode_mcu_gather | ( | j_compress_ptr | cinfo, | |
JBLOCKROW * | MCU_data | |||
) |
encode_mcu_huff | ( | j_compress_ptr | cinfo, | |
JBLOCKROW * | MCU_data | |||
) |
encode_one_block | ( | working_state * | state, | |
JCOEFPTR | block, | |||
int | last_dc_val, | |||
c_derived_tbl * | dctbl, | |||
c_derived_tbl * | actbl | |||
) |
finish_pass_gather | ( | j_compress_ptr | cinfo | ) |
finish_pass_huff | ( | j_compress_ptr | cinfo | ) |
flush_bits | ( | working_state * | state | ) |
htest_one_block | ( | j_compress_ptr | cinfo, | |
JCOEFPTR | block, | |||
int | last_dc_val, | |||
long | dc_counts[], | |||
long | ac_counts[] | |||
) |
jinit_huff_encoder | ( | j_compress_ptr | cinfo | ) |
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 | |||
) |
METHODDEF | ( | boolean | ) |