Main MRPT website > C++ reference for MRPT 1.5.6
Classes | Macros | Typedefs | Functions
jdcolor.cpp File Reference
#include "jinclude.h"
#include "mrpt_jpeglib.h"
Include dependency graph for jdcolor.cpp:

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

 build_ycc_rgb_table (j_decompress_ptr cinfo)
 
 ycc_rgb_convert (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION input_row, JSAMPARRAY output_buf, int num_rows)
 
 null_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)
 
 gray_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)
 
 start_pass_dcolor (j_decompress_ptr)
 
 jinit_color_deconverter (j_decompress_ptr cinfo)
 

Macro Definition Documentation

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

Definition at line 61 of file jdcolor.cpp.

Referenced by build_ycc_rgb_table().

#define JPEG_INTERNALS

Definition at line 10 of file jdcolor.cpp.

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

Definition at line 60 of file jdcolor.cpp.

Referenced by build_ycc_rgb_table().

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

Definition at line 59 of file jdcolor.cpp.

Referenced by build_ycc_rgb_table(), ycc_rgb_convert(), and ycck_cmyk_convert().

Typedef Documentation

Definition at line 27 of file jdcolor.cpp.

Function Documentation

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 
)

Definition at line 216 of file jdcolor.cpp.

References num_cols.

Referenced by jinit_color_deconverter().

grayscale_convert ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  input_row,
JSAMPARRAY  output_buf,
int  num_rows 
)

Definition at line 200 of file jdcolor.cpp.

References jcopy_sample_rows().

Referenced by jinit_color_deconverter().

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 
)

Definition at line 168 of file jdcolor.cpp.

References num_cols.

Referenced by jinit_color_deconverter().

start_pass_dcolor ( j_decompress_ptr  )

Definition at line 292 of file jdcolor.cpp.

Referenced by jinit_color_deconverter().

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

Definition at line 119 of file jdcolor.cpp.

References GETJSAMPLE, int(), num_cols, RIGHT_SHIFT, SCALEBITS, and SHIFT_TEMPS.

Referenced by jinit_color_deconverter().

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

Definition at line 244 of file jdcolor.cpp.

References GETJSAMPLE, int(), MAXJSAMPLE, num_cols, RIGHT_SHIFT, SCALEBITS, and SHIFT_TEMPS.

Referenced by jinit_color_deconverter().




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018