Classes | Defines | Typedefs | Functions
jchuff.c File Reference
#include "jinclude.h"
#include "jpeglib.h"
#include "jchuff.h"
Include dependency graph for jchuff.c:

Go to the source code of this file.

Classes

struct  huff_entropy_encoder
struct  savable_state
struct  working_state

Defines

#define ASSIGN_STATE(dest, src)   ((dest) = (src))
#define emit_byte(state, val, action)
#define JPEG_INTERNALS
#define MAX_CLEN   32 /* assumed maximum initial code length */

Typedefs

typedef huff_entropy_encoderhuff_entropy_ptr

Functions

 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)

Define Documentation

#define ASSIGN_STATE (   dest,
  src 
)    ((dest) = (src))

Definition at line 41 of file jchuff.c.

#define emit_byte (   state,
  val,
  action 
)
Value:
{ *(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.

#define JPEG_INTERNALS

Definition at line 17 of file jchuff.c.

#define MAX_CLEN   32 /* assumed maximum initial code length */

Typedef Documentation

Definition at line 74 of file jchuff.c.


Function Documentation

dump_buffer ( working_state state)

Definition at line 278 of file jchuff.c.

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

Definition at line 302 of file jchuff.c.

emit_restart ( working_state state,
int  restart_num 
)

Definition at line 451 of file jchuff.c.

encode_mcu_gather ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)

Definition at line 645 of file jchuff.c.

encode_mcu_huff ( j_compress_ptr  cinfo,
JBLOCKROW MCU_data 
)

Definition at line 476 of file jchuff.c.

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.

Definition at line 846 of file jchuff.c.

Definition at line 533 of file jchuff.c.

flush_bits ( working_state state)

Definition at line 340 of file jchuff.c.

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.

Definition at line 891 of file jchuff.c.

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

Definition at line 705 of file jchuff.c.

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.

Definition at line 89 of file jchuff.c.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:43:58