Main MRPT website > C++ reference for MRPT 1.5.7
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

◆ ASSIGN_STATE

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

Definition at line 36 of file jdphuff.cpp.

Referenced by decode_mcu_DC_first().

◆ HUFF_EXTEND

#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().

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 10 of file jdphuff.cpp.

Typedef Documentation

◆ phuff_entropy_ptr

Definition at line 67 of file jdphuff.cpp.

Function Documentation

◆ decode_mcu_AC_first()

decode_mcu_AC_first ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

◆ decode_mcu_AC_refine()

decode_mcu_AC_refine ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

◆ decode_mcu_DC_first()

decode_mcu_DC_first ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

◆ decode_mcu_DC_refine()

decode_mcu_DC_refine ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

◆ jinit_phuff_decoder()

jinit_phuff_decoder ( j_decompress_ptr  cinfo)

◆ METHODDEF()

METHODDEF ( boolean  )

◆ process_restart()

process_restart ( j_decompress_ptr  cinfo)

◆ start_pass_phuff_decoder()

start_pass_phuff_decoder ( j_decompress_ptr  cinfo)

Variable Documentation

◆ extend_offset

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.

◆ extend_test

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.

◆ MCU_data

JBLOCKROW* MCU_data



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019