Classes | Defines | Typedefs | Functions

D:/Lukas Daten/Programmierungen/C++/HLC/Sonstige/Software/SoftPixelEngine/sources/Plugins/jpeglib/jchuff.c File Reference

#include "jinclude.h"
#include "jpeglib.h"

Classes

struct  c_derived_tbl
struct  savable_state
struct  huff_entropy_encoder
struct  working_state

Defines

#define JPEG_INTERNALS
#define MAX_COEF_BITS   10
#define ASSIGN_STATE(dest, src)   ((dest) = (src))
#define MAX_CORR_BITS   1000
#define ISHIFT_TEMPS
#define IRIGHT_SHIFT(x, shft)   ((x) >> (shft))
#define emit_byte_s(state, val, action)
#define emit_byte_e(entropy, val)
#define MAX_CLEN   32

Typedefs

typedef huff_entropy_encoderhuff_entropy_ptr

Functions

 jpeg_make_c_derived_tbl (j_compress_ptr cinfo, boolean isDC, int tblno, c_derived_tbl **pdtbl)
 dump_buffer_s (working_state *state)
 dump_buffer_e (huff_entropy_ptr entropy)
INLINE emit_bits_s (working_state *state, unsigned int code, int size)
INLINE emit_bits_e (huff_entropy_ptr entropy, unsigned int code, int size)
 flush_bits_s (working_state *state)
 flush_bits_e (huff_entropy_ptr entropy)
INLINE emit_dc_symbol (huff_entropy_ptr entropy, int tbl_no, int symbol)
INLINE emit_ac_symbol (huff_entropy_ptr entropy, int tbl_no, int symbol)
 emit_buffered_bits (huff_entropy_ptr entropy, char *bufstart, unsigned int nbits)
 emit_eobrun (huff_entropy_ptr entropy)
 emit_restart_s (working_state *state, int restart_num)
 emit_restart_e (huff_entropy_ptr entropy, int restart_num)
 encode_mcu_DC_first (j_compress_ptr cinfo, JBLOCKROW *MCU_data)
 encode_mcu_AC_first (j_compress_ptr cinfo, JBLOCKROW *MCU_data)
 encode_mcu_DC_refine (j_compress_ptr cinfo, JBLOCKROW *MCU_data)
 encode_mcu_AC_refine (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)
 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)
 start_pass_huff (j_compress_ptr cinfo, boolean gather_statistics)
 jinit_huff_encoder (j_compress_ptr cinfo)

Define Documentation

#define ASSIGN_STATE (   dest,
  src 
)    ((dest) = (src))
#define emit_byte_e (   entropy,
  val 
)
Value:
{ *(entropy)->next_output_byte++ = (JOCTET) (val);  \
          if (--(entropy)->free_in_buffer == 0)  \
            dump_buffer_e(entropy); }
#define emit_byte_s (   state,
  val,
  action 
)
Value:
{ *(state)->next_output_byte++ = (JOCTET) (val);  \
          if (--(state)->free_in_buffer == 0)  \
            if (! dump_buffer_s(state))  \
              { action; } }
#define IRIGHT_SHIFT (   x,
  shft 
)    ((x) >> (shft))
#define ISHIFT_TEMPS
#define JPEG_INTERNALS
#define MAX_CLEN   32
#define MAX_COEF_BITS   10
#define MAX_CORR_BITS   1000

Typedef Documentation


Function Documentation

dump_buffer_e ( huff_entropy_ptr  entropy  ) 
dump_buffer_s ( working_state state  ) 
INLINE emit_ac_symbol ( huff_entropy_ptr  entropy,
int  tbl_no,
int  symbol 
)
INLINE emit_bits_e ( huff_entropy_ptr  entropy,
unsigned int  code,
int  size 
)
INLINE emit_bits_s ( working_state state,
unsigned int  code,
int  size 
)
emit_buffered_bits ( huff_entropy_ptr  entropy,
char *  bufstart,
unsigned int  nbits 
)
INLINE emit_dc_symbol ( huff_entropy_ptr  entropy,
int  tbl_no,
int  symbol 
)
emit_eobrun ( huff_entropy_ptr  entropy  ) 
emit_restart_e ( huff_entropy_ptr  entropy,
int  restart_num 
)
emit_restart_s ( working_state state,
int  restart_num 
)
encode_mcu_AC_first ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)
encode_mcu_AC_refine ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)
encode_mcu_DC_first ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)
encode_mcu_DC_refine ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)
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_e ( huff_entropy_ptr  entropy  ) 
flush_bits_s ( 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 
)
start_pass_huff ( j_compress_ptr  cinfo,
boolean  gather_statistics 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines