doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Macro Definition Documentation

#define JPEG_INTERNALS

Definition at line 13 of file jcparam.c.

#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) )
GLuint index
Definition: glext.h:3476
GLuint id
Definition: glext.h:3103

Function Documentation

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

Definition at line 148 of file jcparam.c.

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

Definition at line 449 of file jcparam.c.

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

Definition at line 483 of file jcparam.c.

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

Definition at line 464 of file jcparam.c.

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

Definition at line 23 of file jcparam.c.

GLOBAL void jpeg_default_colorspace ( j_compress_ptr  cinfo)

Definition at line 333 of file jcparam.c.

GLOBAL int jpeg_quality_scaling ( int  quality)

Definition at line 102 of file jcparam.c.

GLOBAL void jpeg_set_colorspace ( j_compress_ptr  cinfo,
J_COLOR_SPACE  colorspace 
)

Definition at line 365 of file jcparam.c.

GLOBAL void jpeg_set_defaults ( j_compress_ptr  cinfo)

Definition at line 250 of file jcparam.c.

GLOBAL void jpeg_set_linear_quality ( j_compress_ptr  cinfo,
int  scale_factor,
boolean  force_baseline 
)

Definition at line 59 of file jcparam.c.

GLOBAL void jpeg_set_quality ( j_compress_ptr  cinfo,
int  quality,
boolean  force_baseline 
)

Definition at line 128 of file jcparam.c.

GLOBAL void jpeg_simple_progression ( j_compress_ptr  cinfo)

Definition at line 511 of file jcparam.c.

LOCAL void std_huff_tables ( j_compress_ptr  cinfo)

Definition at line 164 of file jcparam.c.