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

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 10 of file jcparam.cpp.

◆ 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:97
GLuint index
Definition: glext.h:3891
GLuint id
Definition: glext.h:3770

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 149 of file jcparam.cpp.

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

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 472 of file jcparam.cpp.

Referenced by jpeg_simple_progression().

◆ fill_dc_scans()

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

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

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)

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

jpeg_quality_scaling ( int  quality)

Definition at line 103 of file jcparam.cpp.

References 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 61 of file jcparam.cpp.

References DCTSIZE2, force_baseline, 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 179 of file jcparam.cpp.

References add_huff_table().

Referenced by jpeg_set_defaults().




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