Data Structures | |
struct | my_color_deconverter |
Macros | |
#define | FIX(x) ((INT32) ((x) * (1L<<SCALEBITS) + 0.5)) |
#define | JPEG_INTERNALS |
#define | ONE_HALF ((INT32) 1 << (SCALEBITS-1)) |
#define | SCALEBITS 16 /* speediest right-shift on some machines */ |
Typedefs | |
typedef my_color_deconverter * | my_cconvert_ptr |
Functions | |
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) | |
grayscale_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows) | |
jinit_color_deconverter (j_decompress_ptr cinfo) | |
null_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows) | |
start_pass_dcolor (j_decompress_ptr cinfo) | |
ycc_rgb565_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows) | |
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) | |
Variables | |
unsigned short int * | jpeg_out_buffer_pos |
Referenced by build_ycc_rgb_table().
#define JPEG_INTERNALS |
Referenced by build_ycc_rgb_table().
#define SCALEBITS 16 /* speediest right-shift on some machines */ |
Referenced by build_ycc_rgb_table(), ycc_rgb565_convert(), ycc_rgb_convert(), and ycck_cmyk_convert().
typedef my_color_deconverter* my_cconvert_ptr |
build_ycc_rgb_table | ( | j_decompress_ptr | cinfo | ) |
References CENTERJSAMPLE, cinfo, FIX, i, JPOOL_IMAGE, MAXJSAMPLE, ONE_HALF, RIGHT_SHIFT, SCALEBITS, SHIFT_TEMPS, SIZEOF, and x.
gray_rgb_convert | ( | j_decompress_ptr | cinfo, |
JSAMPIMAGE | input_buf, | ||
JDIMENSION | input_row, | ||
JSAMPARRAY | output_buf, | ||
int | num_rows | ||
) |
References col, inptr, num_cols, and outptr.
Referenced by jinit_color_deconverter().
grayscale_convert | ( | j_decompress_ptr | cinfo, |
JSAMPIMAGE | input_buf, | ||
JDIMENSION | input_row, | ||
JSAMPARRAY | output_buf, | ||
int | num_rows | ||
) |
References jcopy_sample_rows().
jinit_color_deconverter | ( | j_decompress_ptr | cinfo | ) |
References build_ycc_rgb_table(), ci, ERREXIT, FALSE, gray_rgb_convert(), grayscale_convert(), JCS_CMYK, JCS_GRAYSCALE, JCS_RGB, JCS_RGB565, JCS_YCbCr, JCS_YCCK, JPOOL_IMAGE, null_convert(), my_color_converter::pub, SIZEOF, start_pass_dcolor(), ycc_rgb565_convert(), ycc_rgb_convert(), and ycck_cmyk_convert().
Referenced by master_selection().
null_convert | ( | j_decompress_ptr | cinfo, |
JSAMPIMAGE | input_buf, | ||
JDIMENSION | input_row, | ||
JSAMPARRAY | output_buf, | ||
int | num_rows | ||
) |
start_pass_dcolor | ( | j_decompress_ptr | cinfo | ) |
Referenced by jinit_color_deconverter().
ycc_rgb565_convert | ( | j_decompress_ptr | cinfo, |
JSAMPIMAGE | input_buf, | ||
JDIMENSION | input_row, | ||
JSAMPARRAY | output_buf, | ||
int | num_rows | ||
) |
References cb, col, GETJSAMPLE, jpeg_out_buffer_pos, num_cols, RIGHT_SHIFT, SCALEBITS, SHIFT_TEMPS, while(), and y.
Referenced by jinit_color_deconverter().
ycc_rgb_convert | ( | j_decompress_ptr | cinfo, |
JSAMPIMAGE | input_buf, | ||
JDIMENSION | input_row, | ||
JSAMPARRAY | output_buf, | ||
int | num_rows | ||
) |
References cb, col, GETJSAMPLE, num_cols, outptr, RIGHT_SHIFT, SCALEBITS, SHIFT_TEMPS, while(), and y.
Referenced by jinit_color_deconverter().
ycck_cmyk_convert | ( | j_decompress_ptr | cinfo, |
JSAMPIMAGE | input_buf, | ||
JDIMENSION | input_row, | ||
JSAMPARRAY | output_buf, | ||
int | num_rows | ||
) |
References cb, col, GETJSAMPLE, MAXJSAMPLE, num_cols, outptr, RIGHT_SHIFT, SCALEBITS, SHIFT_TEMPS, while(), and y.
Referenced by jinit_color_deconverter().
unsigned short int* jpeg_out_buffer_pos |
Referenced by ycc_rgb565_convert().