fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

jdcolor.c File Reference

#include "jinclude.h"
#include "jpeglib.h"
Include dependency graph for jdcolor.c:

Go to the source code of this file.

Classes

struct  my_color_deconverter

Defines

#define JPEG_INTERNALS
#define SCALEBITS   16
#define ONE_HALF   ((INT32) 1 << (SCALEBITS-1))
#define FIX(x)   ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))

Typedefs

typedef my_color_deconvertermy_cconvert_ptr

Functions

 build_ycc_rgb_table (j_decompress_ptr cinfo)
 ycc_rgb_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 null_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)
 gray_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)
 start_pass_dcolor (j_decompress_ptr cinfo)
 jinit_color_deconverter (j_decompress_ptr cinfo)

Define Documentation

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

Definition at line 62 of file jdcolor.c.

Referenced by build_ycc_rgb_table().

#define JPEG_INTERNALS

Definition at line 11 of file jdcolor.c.

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

Definition at line 61 of file jdcolor.c.

Referenced by build_ycc_rgb_table().

#define SCALEBITS   16

Definition at line 60 of file jdcolor.c.

Referenced by build_ycc_rgb_table(), ycc_rgb_convert(), and ycck_cmyk_convert().


Typedef Documentation

Definition at line 28 of file jdcolor.c.


Function Documentation

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 
)

Definition at line 217 of file jdcolor.c.

References num_cols, RGB_BLUE, RGB_GREEN, RGB_PIXELSIZE, and RGB_RED.

Referenced by jinit_color_deconverter().

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

Definition at line 201 of file jdcolor.c.

References jcopy_sample_rows().

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

Definition at line 169 of file jdcolor.c.

References num_cols.

start_pass_dcolor ( j_decompress_ptr  cinfo)

Definition at line 293 of file jdcolor.c.

Referenced by jinit_color_deconverter().

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 
)

Definition at line 245 of file jdcolor.c.

References GETJSAMPLE, int, MAXJSAMPLE, num_cols, RIGHT_SHIFT, SCALEBITS, SHIFT_TEMPS, and y.

Referenced by jinit_color_deconverter().