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

Go to the source code of this file.

Classes

struct  savable_state
 
struct  phuff_entropy_decoder
 

Macros

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

Typedefs

typedef phuff_entropy_decoderphuff_entropy_ptr
 

Functions

 METHODDEF (boolean) decode_mcu_DC_first JPP((j_decompress_ptr cinfo
 
 start_pass_phuff_decoder (j_decompress_ptr cinfo)
 
 process_restart (j_decompress_ptr cinfo)
 
 decode_mcu_DC_first (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
 
 decode_mcu_AC_first (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
 
 decode_mcu_DC_refine (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
 
 decode_mcu_AC_refine (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
 
 jinit_phuff_decoder (j_decompress_ptr cinfo)
 

Variables

JBLOCKROWMCU_data
 
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 36 of file jdphuff.cpp.

Referenced by decode_mcu_DC_first().

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

Definition at line 200 of file jdphuff.cpp.

Referenced by decode_mcu_AC_first(), and decode_mcu_DC_first().

#define JPEG_INTERNALS

Definition at line 10 of file jdphuff.cpp.

Typedef Documentation

Definition at line 67 of file jdphuff.cpp.

Function Documentation

decode_mcu_AC_first ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)
decode_mcu_AC_refine ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)
decode_mcu_DC_first ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)
decode_mcu_DC_refine ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)
jinit_phuff_decoder ( j_decompress_ptr  cinfo)
METHODDEF ( boolean  )
process_restart ( j_decompress_ptr  cinfo)
start_pass_phuff_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 206 of file jdphuff.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 202 of file jdphuff.cpp.

JBLOCKROW* MCU_data

Definition at line 71 of file jdphuff.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