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

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

#define JPEG_INTERNALS

Definition at line 10 of file jcparam.cpp.

#define SET_COMP (   index,
  id,
  hsamp,
  vsamp,
  quant,
  dctbl,
  actbl 
)
Value:
(compptr = &cinfo->comp_info[index], \
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:97
GLuint id
Definition: glew.h:1584
GLuint index
Definition: glew.h:1721

Referenced by jpeg_set_colorspace().

Function Documentation

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

Definition at line 149 of file jcparam.cpp.

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

Referenced by std_huff_tables().

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

Definition at line 472 of file jcparam.cpp.

Referenced by jpeg_simple_progression().

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

Definition at line 506 of file jcparam.cpp.

References fill_scans(), and MAX_COMPS_IN_SCAN.

Referenced by jpeg_simple_progression().

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

Definition at line 487 of file jcparam.cpp.

Referenced by fill_dc_scans(), and jpeg_simple_progression().

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 ( j_compress_ptr  cinfo)

Definition at line 356 of file jcparam.cpp.

References ERREXIT, JCS_CMYK, JCS_GRAYSCALE, JCS_RGB, JCS_UNKNOWN, JCS_YCbCr, JCS_YCCK, and jpeg_set_colorspace().

Referenced by jpeg_set_defaults().

jpeg_quality_scaling ( int  quality)

Definition at line 103 of file jcparam.cpp.

References quality.

Referenced by jpeg_set_quality().

jpeg_set_colorspace ( j_compress_ptr  cinfo,
J_COLOR_SPACE  colorspace 
)
jpeg_set_defaults ( j_compress_ptr  cinfo)
jpeg_set_linear_quality ( j_compress_ptr  cinfo,
int  scale_factor,
boolean  force_baseline 
)

Definition at line 61 of file jcparam.cpp.

References DCTSIZE2, and jpeg_add_quant_table().

Referenced by jpeg_set_quality().

jpeg_set_quality ( j_compress_ptr  cinfo,
int  quality,
boolean  force_baseline 
)
jpeg_simple_progression ( j_compress_ptr  cinfo)
std_huff_tables ( j_compress_ptr  cinfo)

Definition at line 179 of file jcparam.cpp.

References add_huff_table().

Referenced by jpeg_set_defaults().




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