Microchip® Advanced Software Framework

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

Data Structures

struct  my_color_deconverter
 

Macros

#define FIX(x)   ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
 
#define JPEG_INTERNALS
 
#define ONE_HALF   ((INT32) 1 << (SCALEBITS-1))
 
#define SCALEBITS   16 /* speediest right-shift on some machines */
 

Typedefs

typedef my_color_deconvertermy_cconvert_ptr
 

Functions

 build_ycc_rgb_table (j_decompress_ptr cinfo)
 
 gray_rgb_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
 grayscale_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
 jinit_color_deconverter (j_decompress_ptr cinfo)
 
 null_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
 start_pass_dcolor (j_decompress_ptr cinfo)
 
 ycc_rgb565_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
 ycc_rgb_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
 ycck_cmyk_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 

Variables

unsigned short int * jpeg_out_buffer_pos
 

#define FIX (   x)    ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))

Referenced by build_ycc_rgb_table().

#define JPEG_INTERNALS
#define ONE_HALF   ((INT32) 1 << (SCALEBITS-1))

Referenced by build_ycc_rgb_table().

#define SCALEBITS   16 /* speediest right-shift on some machines */

build_ycc_rgb_table ( j_decompress_ptr  cinfo)
gray_rgb_convert ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  input_row,
JSAMPARRAY  output_buf,
int  num_rows 
)

References col, inptr, num_cols, and outptr.

Referenced by jinit_color_deconverter().

grayscale_convert ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  input_row,
JSAMPARRAY  output_buf,
int  num_rows 
)

References jcopy_sample_rows().

null_convert ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  input_row,
JSAMPARRAY  output_buf,
int  num_rows 
)

References ci, count, inptr, num_cols, and outptr.

start_pass_dcolor ( j_decompress_ptr  cinfo)

Referenced by jinit_color_deconverter().

ycc_rgb565_convert ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  input_row,
JSAMPARRAY  output_buf,
int  num_rows 
)
ycc_rgb_convert ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  input_row,
JSAMPARRAY  output_buf,
int  num_rows 
)
ycck_cmyk_convert ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  input_row,
JSAMPARRAY  output_buf,
int  num_rows 
)

unsigned short int* jpeg_out_buffer_pos

Referenced by ycc_rgb565_convert().