Classes | Defines | Typedefs | Functions

jchuff.c File Reference

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

Classes

struct  savable_state
struct  huff_entropy_encoder
struct  working_state

Defines

#define JPEG_INTERNALS
#define ASSIGN_STATE(dest, src)   ((dest) = (src))
#define emit_byte(state, val, action)
#define MAX_CLEN   32

Typedefs

typedef huff_entropy_encoderhuff_entropy_ptr

Functions

 METHODDEF (boolean)
 jpeg_make_c_derived_tbl (j_compress_ptr cinfo, boolean isDC, int tblno, c_derived_tbl **pdtbl)
 dump_buffer (working_state *state)
INLINE emit_bits (working_state *state, unsigned int code, int size)
 flush_bits (working_state *state)
 encode_one_block (working_state *state, JCOEFPTR block, int last_dc_val, c_derived_tbl *dctbl, c_derived_tbl *actbl)
 emit_restart (working_state *state, int restart_num)
 encode_mcu_huff (j_compress_ptr cinfo, JBLOCKROW *MCU_data)
 finish_pass_huff (j_compress_ptr cinfo)
 htest_one_block (j_compress_ptr cinfo, JCOEFPTR block, int last_dc_val, long dc_counts[], long ac_counts[])
 encode_mcu_gather (j_compress_ptr cinfo, JBLOCKROW *MCU_data)
 jpeg_gen_optimal_table (j_compress_ptr cinfo, JHUFF_TBL *htbl, long freq[])
 finish_pass_gather (j_compress_ptr cinfo)
 jinit_huff_encoder (j_compress_ptr cinfo)

Define Documentation

#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 Documentation


Function Documentation

dump_buffer ( working_state state  ) 
INLINE emit_bits ( working_state state,
unsigned int  code,
int  size 
)

Here is the caller graph for this function:

emit_restart ( working_state state,
int  restart_num 
)

Here is the call graph for this function:

Here is the caller graph for this function:

encode_mcu_gather ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)

Here is the call graph for this function:

encode_mcu_huff ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)

Here is the call graph for this function:

encode_one_block ( working_state state,
JCOEFPTR  block,
int  last_dc_val,
c_derived_tbl dctbl,
c_derived_tbl actbl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

finish_pass_gather ( j_compress_ptr  cinfo  ) 

Here is the call graph for this function:

finish_pass_huff ( j_compress_ptr  cinfo  ) 

Here is the call graph for this function:

flush_bits ( working_state state  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

htest_one_block ( j_compress_ptr  cinfo,
JCOEFPTR  block,
int  last_dc_val,
long  dc_counts[],
long  ac_counts[] 
)

Here is the caller graph for this function:

jinit_huff_encoder ( j_compress_ptr  cinfo  ) 

Here is the caller graph for this function:

jpeg_gen_optimal_table ( j_compress_ptr  cinfo,
JHUFF_TBL htbl,
long  freq[] 
)

Here is the caller graph for this function:

jpeg_make_c_derived_tbl ( j_compress_ptr  cinfo,
boolean  isDC,
int  tblno,
c_derived_tbl **  pdtbl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

METHODDEF ( boolean   ) 

Here is the call graph for this function: