Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | JPEG_INTERNALS |
#define | SCALEBITS 16 /* speediest right-shift on some machines */ |
#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 /* offset to R => Y section */ |
#define | G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */ |
#define | B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */ |
#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 /* B=>Cb, R=>Cr are the same */ |
#define | G_CR_OFF (6*(MAXJSAMPLE+1)) |
#define | B_CR_OFF (7*(MAXJSAMPLE+1)) |
#define | TABLE_SIZE (8*(MAXJSAMPLE+1)) |
Typedefs | |
typedef my_color_converter * | my_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 B_CB_OFF (5*(MAXJSAMPLE+1)) |
Definition at line 74 of file jccolor.c.
Referenced by cmyk_ycck_convert(), rgb_ycc_convert(), and rgb_ycc_start().
#define B_CR_OFF (7*(MAXJSAMPLE+1)) |
Definition at line 77 of file jccolor.c.
Referenced by cmyk_ycck_convert(), rgb_ycc_convert(), and rgb_ycc_start().
#define B_Y_OFF (2*(MAXJSAMPLE+1)) /* etc. */ |
Definition at line 71 of file jccolor.c.
Referenced by cmyk_ycck_convert(), rgb_gray_convert(), rgb_ycc_convert(), and rgb_ycc_start().
#define CBCR_OFFSET ((INT32) CENTERJSAMPLE << SCALEBITS) |
Definition at line 59 of file jccolor.c.
Referenced by rgb_ycc_start().
Definition at line 61 of file jccolor.c.
Referenced by rgb_ycc_start().
#define G_CB_OFF (4*(MAXJSAMPLE+1)) |
Definition at line 73 of file jccolor.c.
Referenced by cmyk_ycck_convert(), rgb_ycc_convert(), and rgb_ycc_start().
#define G_CR_OFF (6*(MAXJSAMPLE+1)) |
Definition at line 76 of file jccolor.c.
Referenced by cmyk_ycck_convert(), rgb_ycc_convert(), and rgb_ycc_start().
#define G_Y_OFF (1*(MAXJSAMPLE+1)) /* offset to G => Y section */ |
Definition at line 70 of file jccolor.c.
Referenced by cmyk_ycck_convert(), rgb_gray_convert(), rgb_ycc_convert(), and rgb_ycc_start().
Definition at line 60 of file jccolor.c.
Referenced by rgb_ycc_start().
#define R_CB_OFF (3*(MAXJSAMPLE+1)) |
Definition at line 72 of file jccolor.c.
Referenced by cmyk_ycck_convert(), rgb_ycc_convert(), and rgb_ycc_start().
#define R_CR_OFF B_CB_OFF /* B=>Cb, R=>Cr are the same */ |
Definition at line 75 of file jccolor.c.
Referenced by cmyk_ycck_convert(), and rgb_ycc_convert().
#define R_Y_OFF 0 /* offset to R => Y section */ |
Definition at line 69 of file jccolor.c.
Referenced by cmyk_ycck_convert(), rgb_gray_convert(), rgb_ycc_convert(), and rgb_ycc_start().
#define SCALEBITS 16 /* speediest right-shift on some machines */ |
Definition at line 58 of file jccolor.c.
Referenced by cmyk_ycck_convert(), rgb_gray_convert(), and rgb_ycc_convert().
#define TABLE_SIZE (8*(MAXJSAMPLE+1)) |
Definition at line 78 of file jccolor.c.
Referenced by rgb_ycc_start().
typedef my_color_converter* my_cconvert_ptr |
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.
References B_CB_OFF, B_CR_OFF, B_Y_OFF, G_CB_OFF, G_CR_OFF, G_Y_OFF, GETJSAMPLE, MAXJSAMPLE, METHODDEF, num_cols, num_rows, output_buf, output_row, R_CB_OFF, R_CR_OFF, R_Y_OFF, and SCALEBITS.
Referenced by jinit_color_converter().
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.
References METHODDEF, num_cols, num_rows, output_buf, and output_row.
Referenced by jinit_color_converter().
jinit_color_converter | ( | j_compress_ptr | cinfo | ) |
Definition at line 352 of file jccolor.c.
References cmyk_ycck_convert(), ERREXIT, grayscale_convert(), JCS_CMYK, JCS_GRAYSCALE, JCS_RGB, JCS_YCbCr, JCS_YCCK, JPOOL_IMAGE, null_convert(), null_method(), rgb_gray_convert(), rgb_ycc_convert(), rgb_ycc_start(), and SIZEOF.
Referenced by jinit_compress_master().
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.
References METHODDEF, num_cols, num_rows, output_buf, and output_row.
Referenced by jinit_color_converter().
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 | ||
) |
Definition at line 186 of file jccolor.c.
References B_Y_OFF, G_Y_OFF, GETJSAMPLE, METHODDEF, num_cols, num_rows, output_buf, output_row, R_Y_OFF, and SCALEBITS.
Referenced by jinit_color_converter().
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.
References B_CB_OFF, B_CR_OFF, B_Y_OFF, G_CB_OFF, G_CR_OFF, G_Y_OFF, GETJSAMPLE, METHODDEF, num_cols, num_rows, output_buf, output_row, R_CB_OFF, R_CR_OFF, R_Y_OFF, and SCALEBITS.
Referenced by jinit_color_converter().
rgb_ycc_start | ( | j_compress_ptr | cinfo | ) |
Definition at line 86 of file jccolor.c.
References B_CB_OFF, B_CR_OFF, B_Y_OFF, CBCR_OFFSET, FIX, G_CB_OFF, G_CR_OFF, G_Y_OFF, i, JPOOL_IMAGE, MAXJSAMPLE, METHODDEF, ONE_HALF, R_CB_OFF, R_Y_OFF, SIZEOF, and TABLE_SIZE.
Referenced by jinit_color_converter().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:56.
© Copyright Michele Bosi. All rights reserved.