Classes | Macros | Typedefs | Functions
jccolor.c File Reference
#include "jinclude.h"
#include "jpeglib.h"
Include dependency graph for jccolor.c:

Go to the source code of this file.

Classes

struct  my_color_converter
 

Macros

#define B_CB_OFF   (5*(MAXJSAMPLE+1))
 
#define B_CR_OFF   (7*(MAXJSAMPLE+1))
 
#define B_Y_OFF   (2*(MAXJSAMPLE+1)) /* etc. */
 
#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)) /* offset to G => Y section */
 
#define JPEG_INTERNALS
 
#define ONE_HALF   ((INT32) 1 << (SCALEBITS-1))
 
#define R_CB_OFF   (3*(MAXJSAMPLE+1))
 
#define R_CR_OFF   B_CB_OFF /* B=>Cb, R=>Cr are the same */
 
#define R_Y_OFF   0 /* offset to R => Y section */
 
#define SCALEBITS   16 /* speediest right-shift on some machines */
 
#define TABLE_SIZE   (8*(MAXJSAMPLE+1))
 

Typedefs

typedef my_color_convertermy_cconvert_ptr
 

Functions

 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)
 
 jinit_color_converter (j_compress_ptr cinfo)
 
 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)
 
 rgb_ycc_convert (j_compress_ptr cinfo, JSAMPARRAY input_buf, JSAMPIMAGE output_buf, JDIMENSION output_row, int num_rows)
 
 rgb_ycc_start (j_compress_ptr cinfo)
 

Macro Definition Documentation

#define B_CB_OFF   (5*(MAXJSAMPLE+1))

Definition at line 74 of file jccolor.c.

#define B_CR_OFF   (7*(MAXJSAMPLE+1))

Definition at line 77 of file jccolor.c.

#define B_Y_OFF   (2*(MAXJSAMPLE+1)) /* etc. */

Definition at line 71 of file jccolor.c.

#define CBCR_OFFSET   ((INT32) CENTERJSAMPLE << SCALEBITS)

Definition at line 59 of file jccolor.c.

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

Definition at line 61 of file jccolor.c.

#define G_CB_OFF   (4*(MAXJSAMPLE+1))

Definition at line 73 of file jccolor.c.

#define G_CR_OFF   (6*(MAXJSAMPLE+1))

Definition at line 76 of file jccolor.c.

#define G_Y_OFF   (1*(MAXJSAMPLE+1)) /* offset to G => Y section */

Definition at line 70 of file jccolor.c.

#define JPEG_INTERNALS

Definition at line 11 of file jccolor.c.

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

Definition at line 60 of file jccolor.c.

#define R_CB_OFF   (3*(MAXJSAMPLE+1))

Definition at line 72 of file jccolor.c.

#define R_CR_OFF   B_CB_OFF /* B=>Cb, R=>Cr are the same */

Definition at line 75 of file jccolor.c.

#define R_Y_OFF   0 /* offset to R => Y section */

Definition at line 69 of file jccolor.c.

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

Definition at line 58 of file jccolor.c.

#define TABLE_SIZE   (8*(MAXJSAMPLE+1))

Definition at line 78 of file jccolor.c.

Typedef Documentation

Definition at line 25 of file jccolor.c.

Function Documentation

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

Definition at line 225 of file jccolor.c.

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

Definition at line 280 of file jccolor.c.

jinit_color_converter ( j_compress_ptr  cinfo)

Definition at line 352 of file jccolor.c.

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

Definition at line 309 of file jccolor.c.

null_method ( j_compress_ptr  cinfo)

Definition at line 341 of file jccolor.c.

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

Definition at line 186 of file jccolor.c.

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

Definition at line 130 of file jccolor.c.

rgb_ycc_start ( j_compress_ptr  cinfo)

Definition at line 86 of file jccolor.c.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:26