Classes | Defines | Typedefs | Functions

jccolor.c File Reference

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

Classes

struct  my_color_converter

Defines

#define JPEG_INTERNALS
#define SCALEBITS   16
#define CBCR_OFFSET   ((INT32) CENTERJSAMPLE << SCALEBITS)
#define ONE_HALF   ((INT32) 1 << (SCALEBITS-1))
#define FIX(x)   ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
#define R_Y_OFF   0
#define G_Y_OFF   (1*(MAXJSAMPLE+1))
#define B_Y_OFF   (2*(MAXJSAMPLE+1))
#define R_CB_OFF   (3*(MAXJSAMPLE+1))
#define G_CB_OFF   (4*(MAXJSAMPLE+1))
#define B_CB_OFF   (5*(MAXJSAMPLE+1))
#define R_CR_OFF   B_CB_OFF
#define G_CR_OFF   (6*(MAXJSAMPLE+1))
#define B_CR_OFF   (7*(MAXJSAMPLE+1))
#define TABLE_SIZE   (8*(MAXJSAMPLE+1))

Typedefs

typedef my_color_convertermy_cconvert_ptr

Functions

 rgb_ycc_start (j_compress_ptr cinfo)
 rgb_ycc_convert (j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
 rgb_gray_convert (j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
 cmyk_ycck_convert (j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
 grayscale_convert (j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
 null_convert (j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
 null_method (j_compress_ptr cinfo)
 jinit_color_converter (j_compress_ptr cinfo)

Define Documentation

#define B_CB_OFF   (5*(MAXJSAMPLE+1))
#define B_CR_OFF   (7*(MAXJSAMPLE+1))
#define B_Y_OFF   (2*(MAXJSAMPLE+1))
#define CBCR_OFFSET   ((INT32) CENTERJSAMPLE << SCALEBITS)
#define FIX (   x  )     ((INT32) ((x) * (1L<<SCALEBITS) + 0.5))
#define G_CB_OFF   (4*(MAXJSAMPLE+1))
#define G_CR_OFF   (6*(MAXJSAMPLE+1))
#define G_Y_OFF   (1*(MAXJSAMPLE+1))
#define JPEG_INTERNALS
#define ONE_HALF   ((INT32) 1 << (SCALEBITS-1))
#define R_CB_OFF   (3*(MAXJSAMPLE+1))
#define R_CR_OFF   B_CB_OFF
#define R_Y_OFF   0
#define SCALEBITS   16
#define TABLE_SIZE   (8*(MAXJSAMPLE+1))

Typedef Documentation


Function Documentation

cmyk_ycck_convert ( j_compress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPIMAGE  output_buf,
JDIMENSION  output_row,
int  num_rows 
)

Here is the call graph for this function:

grayscale_convert ( j_compress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPIMAGE  output_buf,
JDIMENSION  output_row,
int  num_rows 
)
jinit_color_converter ( j_compress_ptr  cinfo  ) 

Here is the caller graph for this function:

null_convert ( j_compress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPIMAGE  output_buf,
JDIMENSION  output_row,
int  num_rows 
)
null_method ( j_compress_ptr  cinfo  ) 
rgb_gray_convert ( j_compress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPIMAGE  output_buf,
JDIMENSION  output_row,
int  num_rows 
)

Here is the call graph for this function:

rgb_ycc_convert ( j_compress_ptr  cinfo,
JSAMPARRAY  input_buf,
JSAMPIMAGE  output_buf,
JDIMENSION  output_row,
int  num_rows 
)

Here is the call graph for this function:

rgb_ycc_start ( j_compress_ptr  cinfo  )