Classes | Macros | Typedefs | Functions | Variables
jdhuff.c File Reference
#include "jinclude.h"
#include "jpeglib.h"
#include "jdhuff.h"
Include dependency graph for jdhuff.c:

Go to the source code of this file.

Classes

struct  huff_entropy_decoder
 
struct  savable_state
 

Macros

#define ASSIGN_STATE(dest, src)   ((dest) = (src))
 
#define HUFF_EXTEND(x, s)   ((x) < extend_test[s] ? (x) + extend_offset[s] : (x))
 
#define JPEG_INTERNALS
 
#define MIN_GET_BITS   (BIT_BUF_SIZE-7)
 

Typedefs

typedef huff_entropy_decoderhuff_entropy_ptr
 

Functions

 decode_mcu (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
 
 jinit_huff_decoder (j_decompress_ptr cinfo)
 
 jpeg_fill_bit_buffer (bitread_working_state *state, register bit_buf_type get_buffer, register int bits_left, int nbits)
 
 jpeg_huff_decode (bitread_working_state *state, register bit_buf_type get_buffer, register int bits_left, d_derived_tbl *htbl, int min_bits)
 
 jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, boolean isDC, int tblno, d_derived_tbl **pdtbl)
 
 process_restart (j_decompress_ptr cinfo)
 
 start_pass_huff_decoder (j_decompress_ptr cinfo)
 

Variables

static const int extend_offset [16]
 
static const int extend_test [16]
 

Macro Definition Documentation

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

Definition at line 40 of file jdhuff.c.

#define HUFF_EXTEND (   x,
 
)    ((x) < extend_test[s] ? (x) + extend_offset[s] : (x))

Definition at line 447 of file jdhuff.c.

#define JPEG_INTERNALS

Definition at line 17 of file jdhuff.c.

#define MIN_GET_BITS   (BIT_BUF_SIZE-7)

Definition at line 287 of file jdhuff.c.

Typedef Documentation

Definition at line 78 of file jdhuff.c.

Function Documentation

decode_mcu ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

Definition at line 517 of file jdhuff.c.

jinit_huff_decoder ( j_decompress_ptr  cinfo)

Definition at line 635 of file jdhuff.c.

jpeg_fill_bit_buffer ( bitread_working_state state,
register bit_buf_type  get_buffer,
register int  bits_left,
int  nbits 
)

Definition at line 292 of file jdhuff.c.

jpeg_huff_decode ( bitread_working_state state,
register bit_buf_type  get_buffer,
register int  bits_left,
d_derived_tbl htbl,
int  min_bits 
)

Definition at line 398 of file jdhuff.c.

jpeg_make_d_derived_tbl ( j_decompress_ptr  cinfo,
boolean  isDC,
int  tblno,
d_derived_tbl **  pdtbl 
)

Definition at line 149 of file jdhuff.c.

process_restart ( j_decompress_ptr  cinfo)

Definition at line 468 of file jdhuff.c.

start_pass_huff_decoder ( j_decompress_ptr  cinfo)

Definition at line 86 of file jdhuff.c.

Variable Documentation

const int extend_offset[16]
static
Initial value:
=
{ 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 }

Definition at line 453 of file jdhuff.c.

const int extend_test[16]
static
Initial value:
=
{ 0, 0x0001, 0x0002, 0x0004, 0x0008, 0x0010, 0x0020, 0x0040, 0x0080,
0x0100, 0x0200, 0x0400, 0x0800, 0x1000, 0x2000, 0x4000 }

Definition at line 449 of file jdhuff.c.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:26