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

Go to the source code of this file.

Classes

struct  phuff_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
 

Typedefs

typedef phuff_entropy_decoderphuff_entropy_ptr
 

Functions

 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)
 

Variables

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

Macro Definition Documentation

◆ ASSIGN_STATE

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

Definition at line 43 of file jdphuff.c.

◆ HUFF_EXTEND

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

Definition at line 207 of file jdphuff.c.

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 17 of file jdphuff.c.

Typedef Documentation

◆ phuff_entropy_ptr

Definition at line 74 of file jdphuff.c.

Function Documentation

◆ decode_mcu_AC_first()

decode_mcu_AC_first ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

Definition at line 357 of file jdphuff.c.

◆ decode_mcu_AC_refine()

decode_mcu_AC_refine ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

Definition at line 491 of file jdphuff.c.

◆ decode_mcu_DC_first()

decode_mcu_DC_first ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

Definition at line 286 of file jdphuff.c.

◆ decode_mcu_DC_refine()

decode_mcu_DC_refine ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

Definition at line 442 of file jdphuff.c.

◆ jinit_phuff_decoder()

jinit_phuff_decoder ( j_decompress_ptr  cinfo)

Definition at line 641 of file jdphuff.c.

◆ METHODDEF()

METHODDEF ( boolean  )

Definition at line 77 of file jdphuff.c.

◆ process_restart()

process_restart ( j_decompress_ptr  cinfo)

Definition at line 228 of file jdphuff.c.

Variable Documentation

◆ extend_offset

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 213 of file jdphuff.c.

◆ 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 209 of file jdphuff.c.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:05