Main MRPT website > C++ reference for MRPT 1.5.6
Classes | Macros | Typedefs | Functions | Variables
jdhuff.cpp File Reference
#include "jinclude.h"
#include "mrpt_jpeglib.h"
#include "jdhuff.h"
Include dependency graph for jdhuff.cpp:

Go to the source code of this file.

Classes

struct  savable_state
 
struct  huff_entropy_decoder
 

Macros

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

Typedefs

typedef huff_entropy_decoderhuff_entropy_ptr
 

Functions

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

Variables

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

Macro Definition Documentation

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

Definition at line 33 of file jdhuff.cpp.

Referenced by decode_mcu().

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

Definition at line 440 of file jdhuff.cpp.

Referenced by decode_mcu().

#define JPEG_INTERNALS

Definition at line 10 of file jdhuff.cpp.

#define MIN_GET_BITS   (BIT_BUF_SIZE-7)

Definition at line 280 of file jdhuff.cpp.

Referenced by jpeg_fill_bit_buffer().

Typedef Documentation

Definition at line 71 of file jdhuff.cpp.

Function Documentation

decode_mcu ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)
jinit_huff_decoder ( j_decompress_ptr  cinfo)
jpeg_fill_bit_buffer ( bitread_working_state state,
bit_buf_type  get_buffer,
int  bits_left,
int  nbits 
)
jpeg_huff_decode ( bitread_working_state state,
bit_buf_type  get_buffer,
int  bits_left,
d_derived_tbl htbl,
int  min_bits 
)

Definition at line 391 of file jdhuff.cpp.

References bits_left, CHECK_BIT_BUFFER, GET_BITS, get_buffer, int(), min_bits, and WARNMS.

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)

Variable Documentation

const int extend_offset[16]
static
Initial value:
=
{ 0,-1,-3,-7,-15,-31,-63,-127,-255,-511,-1023,-2047,-4095,-8191,-16383,-32767 }

Definition at line 446 of file jdhuff.cpp.

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 442 of file jdhuff.cpp.




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018