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 | Functions
jcparam.c File Reference
#include "jinclude.h"
#include "jpeglib.h"

Go to the source code of this file.

Macros

#define JPEG_INTERNALS
 
#define SET_COMP(index, id, hsamp, vsamp, quant, dctbl, actbl)
 

Functions

 jpeg_add_quant_table (j_compress_ptr cinfo, int which_tbl, const unsigned int *basic_table, int scale_factor, boolean force_baseline)
 
 jpeg_set_linear_quality (j_compress_ptr cinfo, int scale_factor, boolean force_baseline)
 
 jpeg_quality_scaling (int quality)
 
 jpeg_set_quality (j_compress_ptr cinfo, int quality, boolean force_baseline)
 
 add_huff_table (j_compress_ptr cinfo, JHUFF_TBL **htblptr, const UINT8 *bits, const UINT8 *val)
 
 std_huff_tables (j_compress_ptr cinfo)
 
 jpeg_set_defaults (j_compress_ptr cinfo)
 
 jpeg_default_colorspace (j_compress_ptr cinfo)
 
 jpeg_set_colorspace (j_compress_ptr cinfo, J_COLOR_SPACE colorspace)
 
 fill_a_scan (jpeg_scan_info *scanptr, int ci, int Ss, int Se, int Ah, int Al)
 
 fill_scans (jpeg_scan_info *scanptr, int ncomps, int Ss, int Se, int Ah, int Al)
 
 fill_dc_scans (jpeg_scan_info *scanptr, int ncomps, int Ah, int Al)
 
 jpeg_simple_progression (j_compress_ptr cinfo)
 

Macro Definition Documentation

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 13 of file jcparam.c.

◆ SET_COMP

#define SET_COMP (   index,
  id,
  hsamp,
  vsamp,
  quant,
  dctbl,
  actbl 
)
Value:
(compptr = &cinfo->comp_info[index], \
compptr->component_id = (id), \
compptr->h_samp_factor = (hsamp), \
compptr->v_samp_factor = (vsamp), \
compptr->quant_tbl_no = (quant), \
compptr->dc_tbl_no = (dctbl), \
compptr->ac_tbl_no = (actbl) )
jpeg_component_info * compptr
Definition: jdct.h:102
GLenum GLuint id
GLuint index

Referenced by jpeg_set_colorspace().

Function Documentation

◆ add_huff_table()

add_huff_table ( j_compress_ptr  cinfo,
JHUFF_TBL **  htblptr,
const UINT8 bits,
const UINT8 val 
)

Definition at line 152 of file jcparam.c.

References ERREXIT, FALSE, jpeg_alloc_huff_table(), LOCAL, MEMCOPY, NULL, and SIZEOF.

Referenced by std_huff_tables().

◆ fill_a_scan()

fill_a_scan ( jpeg_scan_info scanptr,
int  ci,
int  Ss,
int  Se,
int  Ah,
int  Al 
)

Definition at line 475 of file jcparam.c.

References LOCAL.

Referenced by jpeg_simple_progression().

◆ fill_dc_scans()

fill_dc_scans ( jpeg_scan_info scanptr,
int  ncomps,
int  Ah,
int  Al 
)

Definition at line 509 of file jcparam.c.

References fill_scans(), GLOBAL, and MAX_COMPS_IN_SCAN.

Referenced by jpeg_simple_progression().

◆ fill_scans()

fill_scans ( jpeg_scan_info scanptr,
int  ncomps,
int  Ss,
int  Se,
int  Ah,
int  Al 
)

Definition at line 490 of file jcparam.c.

References LOCAL.

Referenced by fill_dc_scans(), and jpeg_simple_progression().

◆ jpeg_add_quant_table()

jpeg_add_quant_table ( j_compress_ptr  cinfo,
int  which_tbl,
const unsigned int basic_table,
int  scale_factor,
boolean  force_baseline 
)

◆ jpeg_default_colorspace()

jpeg_default_colorspace ( j_compress_ptr  cinfo)

◆ jpeg_quality_scaling()

jpeg_quality_scaling ( int  quality)

Definition at line 106 of file jcparam.c.

References GLOBAL, and quality.

Referenced by jpeg_set_quality().

◆ jpeg_set_colorspace()

jpeg_set_colorspace ( j_compress_ptr  cinfo,
J_COLOR_SPACE  colorspace 
)

◆ jpeg_set_defaults()

jpeg_set_defaults ( j_compress_ptr  cinfo)

◆ jpeg_set_linear_quality()

jpeg_set_linear_quality ( j_compress_ptr  cinfo,
int  scale_factor,
boolean  force_baseline 
)

Definition at line 64 of file jcparam.c.

References DCTSIZE2, force_baseline, GLOBAL, jpeg_add_quant_table(), and scale_factor.

Referenced by jpeg_set_quality().

◆ jpeg_set_quality()

jpeg_set_quality ( j_compress_ptr  cinfo,
int  quality,
boolean  force_baseline 
)

◆ jpeg_simple_progression()

jpeg_simple_progression ( j_compress_ptr  cinfo)

◆ std_huff_tables()

std_huff_tables ( j_compress_ptr  cinfo)

Definition at line 182 of file jcparam.c.

References add_huff_table(), and GLOBAL.

Referenced by jpeg_set_defaults().