Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Typedefs | Functions
jdhuff.c File Reference
#include "jinclude.h"
#include "jpeglib.h"
#include "jdhuff.h"

Go to the source code of this file.

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_decoder * huff_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, 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)
 
 process_restart (j_decompress_ptr cinfo)
 
 decode_mcu (j_decompress_ptr cinfo, JBLOCKROW *MCU_data)
 
 jinit_huff_decoder (j_decompress_ptr cinfo)
 

Macro Definition Documentation

◆ ASSIGN_STATE

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

Definition at line 40 of file jdhuff.c.

Referenced by decode_mcu().

◆ HUFF_EXTEND

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

Definition at line 447 of file jdhuff.c.

Referenced by decode_mcu().

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 17 of file jdhuff.c.

◆ MIN_GET_BITS

#define MIN_GET_BITS   (BIT_BUF_SIZE-7)

Definition at line 287 of file jdhuff.c.

Referenced by jpeg_fill_bit_buffer().

Typedef Documentation

◆ huff_entropy_ptr

typedef huff_entropy_decoder* huff_entropy_ptr

Definition at line 78 of file jdhuff.c.

Function Documentation

◆ decode_mcu()

decode_mcu ( j_decompress_ptr  cinfo,
JBLOCKROW MCU_data 
)

◆ jinit_huff_decoder()

jinit_huff_decoder ( j_decompress_ptr  cinfo)

◆ jpeg_fill_bit_buffer()

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

◆ jpeg_huff_decode()

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.

References bits_left, CHECK_BIT_BUFFER, code, GET_BITS, get_buffer, JHUFF_TBL::huffval, int, min_bits, and WARNMS.

◆ jpeg_make_d_derived_tbl()

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

◆ process_restart()

process_restart ( j_decompress_ptr  cinfo)

Definition at line 468 of file jdhuff.c.

References FALSE, if(), METHODDEF, and TRUE.

Referenced by decode_mcu().

◆ start_pass_huff_decoder()

start_pass_huff_decoder ( j_decompress_ptr  cinfo)