doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Functions
jdcolor.c File Reference
#include "jinclude.h"
#include "jpeglib.h"

Go to the source code of this file.

Classes

struct  my_color_deconverter
 

Macros

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

Typedefs

typedef my_color_deconvertermy_cconvert_ptr
 

Functions

LOCAL void build_ycc_rgb_table (j_decompress_ptr cinfo)
 
METHODDEF void ycc_rgb_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
METHODDEF void null_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
METHODDEF void grayscale_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
METHODDEF void ycck_cmyk_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
METHODDEF void start_pass_dcolor (j_decompress_ptr cinfo)
 
GLOBAL void jinit_color_deconverter (j_decompress_ptr cinfo)
 

Macro Definition Documentation

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

Definition at line 62 of file jdcolor.c.

#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.

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

Definition at line 60 of file jdcolor.c.

Typedef Documentation

Definition at line 28 of file jdcolor.c.

Function Documentation

LOCAL void build_ycc_rgb_table ( j_decompress_ptr  cinfo)

Definition at line 70 of file jdcolor.c.

METHODDEF void 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.

GLOBAL void jinit_color_deconverter ( j_decompress_ptr  cinfo)

Definition at line 277 of file jdcolor.c.

METHODDEF void 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.

METHODDEF void start_pass_dcolor ( j_decompress_ptr  cinfo)

Definition at line 266 of file jdcolor.c.

METHODDEF void ycc_rgb_convert ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  input_row,
JSAMPARRAY  output_buf,
int  num_rows 
)

Definition at line 120 of file jdcolor.c.

METHODDEF void ycck_cmyk_convert ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  input_row,
JSAMPARRAY  output_buf,
int  num_rows 
)

Definition at line 218 of file jdcolor.c.