Atmel Software Framework

jdmaster.c File Reference
#include "jinclude.h"
#include "jpeglib.h"

Data Structures

struct  my_decomp_master
 

Macros

#define JPEG_INTERNALS
 

Typedefs

typedef my_decomp_mastermy_master_ptr
 

Functions

 ERREXIT1 (cinfo, JERR_BAD_STATE, cinfo->global_state)
 
 finish_output_pass (j_decompress_ptr cinfo)
 
 for (ci=0, compptr=cinfo->comp_info;ci< cinfo->num_components;ci++, compptr++)
 
 if (cinfo->scale_num *8<=cinfo->scale_denom)
 
else if (cinfo->scale_num *4<=cinfo->scale_denom)
 
else if (cinfo->scale_num *2<=cinfo->scale_denom)
 
 jinit_master_decompress (j_decompress_ptr cinfo)
 
 jpeg_new_colormap (j_decompress_ptr cinfo)
 
 master_selection (j_decompress_ptr cinfo)
 
 MEMCOPY (table+(4 *(MAXJSAMPLE+1)-CENTERJSAMPLE), cinfo->sample_range_limit, CENTERJSAMPLE *SIZEOF(JSAMPLE))
 
 MEMZERO (table-(MAXJSAMPLE+1),(MAXJSAMPLE+1)*SIZEOF(JSAMPLE))
 
 MEMZERO (table+(2 *(MAXJSAMPLE+1)),(2 *(MAXJSAMPLE+1)-CENTERJSAMPLE)*SIZEOF(JSAMPLE))
 
 prepare_for_output_pass (j_decompress_ptr cinfo)
 
 switch (cinfo->out_color_space)
 
 use_merged_upsample (j_decompress_ptr cinfo)
 

Variables

jpeg_component_infocompptr
 
 else
 
int i
 
cinfo min_DCT_scaled_size = DCTSIZE
 
cinfo output_components
 
cinfo output_height = cinfo->image_height
 
cinfo rec_outbuf_height = cinfo->max_v_samp_factor
 
cinfo sample_range_limit = table
 
 table
 

#define JPEG_INTERNALS

ERREXIT1 ( cinfo  ,
JERR_BAD_STATE  ,
cinfo->  global_state 
)
finish_output_pass ( j_decompress_ptr  cinfo)
for ( ci  = 0,
compptr  = cinfo->comp_info; ci < cinfo->num_components; ci++,
compptr++   
)
if ( cinfo->scale_num *8<=cinfo->  scale_denom)
else if ( cinfo->scale_num *4<=cinfo->  scale_denom)
else if ( cinfo->scale_num *2<=cinfo->  scale_denom)
jpeg_new_colormap ( j_decompress_ptr  cinfo)
MEMCOPY ( table 4 *(MAXJSAMPLE+1)-CENTERJSAMPLE,
cinfo->  sample_range_limit,
CENTERJSAMPLE SIZEOFJSAMPLE 
)
MEMZERO ( table MAXJSAMPLE+1,
(MAXJSAMPLE+1)*SIZEOF(JSAMPLE  
)
MEMZERO ( table 2 *(MAXJSAMPLE+1),
(2 *(MAXJSAMPLE+1)-CENTERJSAMPLE)*SIZEOF(JSAMPLE  
)
switch ( cinfo->  out_color_space)
use_merged_upsample ( j_decompress_ptr  cinfo)

References FALSE, JCS_RGB, JCS_YCbCr, and TRUE.

Referenced by master_selection().

Initial value:
{
int ci
int ci
Definition: jdmarker.c:239
else
Initial value:
{
cinfo->output_width = cinfo->image_width
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
int i
Initial value:
{
char JSAMPLE
Definition: jmorecfg.h:64
int * table
Definition: jquant2.c:1110
cinfo min_DCT_scaled_size = DCTSIZE
cinfo output_components
Initial value:
= (cinfo->quantize_colors ? 1 :
cinfo->out_color_components)
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730
cinfo output_height = cinfo->image_height
else cinfo rec_outbuf_height = cinfo->max_v_samp_factor
cinfo sample_range_limit = table
table[i]
Initial value:
= (JSAMPLE *)
(*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
#define CENTERJSAMPLE
Definition: jmorecfg.h:74
char JSAMPLE
Definition: jmorecfg.h:64
struct jpeg_common_struct * j_common_ptr
Definition: jpeglib.h:262
#define SIZEOF(object)
Definition: jinclude.h:80
#define MAXJSAMPLE
Definition: jmorecfg.h:73
#define JPOOL_IMAGE
Definition: jpeglib.h:750
(* cinfo)(cinfo,(long) length)
Definition: jdmarker.c:730