Main MRPT website > C++ reference for MRPT 1.5.9
Classes | Macros | Typedefs | Functions
jdmerge.cpp File Reference
#include "jinclude.h"
#include "mrpt_jpeglib.h"
#include <mrpt/utils/mrpt_macros.h>
Include dependency graph for jdmerge.cpp:

Go to the source code of this file.

Classes

struct  my_upsampler
 

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_upsamplermy_upsample_ptr
 

Functions

 build_ycc_rgb_table (j_decompress_ptr cinfo)
 
 start_pass_merged_upsample (j_decompress_ptr cinfo)
 
 merged_2v_upsample (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION *in_row_group_ctr, JDIMENSION in_row_groups_avail, JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail)
 
 merged_1v_upsample (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION *in_row_group_ctr, JDIMENSION in_row_groups_avail, JSAMPARRAY output_buf, JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail)
 
 h2v1_merged_upsample (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)
 
 h2v2_merged_upsample (j_decompress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION in_row_group_ctr, JSAMPARRAY output_buf)
 
 jinit_merged_upsampler (j_decompress_ptr cinfo)
 

Macro Definition Documentation

◆ FIX

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

Definition at line 50 of file jdmerge.cpp.

Referenced by build_ycc_rgb_table().

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 10 of file jdmerge.cpp.

◆ ONE_HALF

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

Definition at line 49 of file jdmerge.cpp.

Referenced by build_ycc_rgb_table().

◆ SCALEBITS

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

Definition at line 48 of file jdmerge.cpp.

Referenced by build_ycc_rgb_table(), h2v1_merged_upsample(), and h2v2_merged_upsample().

Typedef Documentation

◆ my_upsample_ptr

Definition at line 46 of file jdmerge.cpp.

Function Documentation

◆ build_ycc_rgb_table()

build_ycc_rgb_table ( j_decompress_ptr  cinfo)

◆ h2v1_merged_upsample()

h2v1_merged_upsample ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  in_row_group_ctr,
JSAMPARRAY  output_buf 
)

◆ h2v2_merged_upsample()

h2v2_merged_upsample ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  in_row_group_ctr,
JSAMPARRAY  output_buf 
)

◆ jinit_merged_upsampler()

jinit_merged_upsampler ( j_decompress_ptr  cinfo)

◆ merged_1v_upsample()

merged_1v_upsample ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION in_row_group_ctr,
JDIMENSION  in_row_groups_avail,
JSAMPARRAY  output_buf,
JDIMENSION out_row_ctr,
JDIMENSION  out_rows_avail 
)

◆ merged_2v_upsample()

merged_2v_upsample ( j_decompress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION in_row_group_ctr,
JDIMENSION  in_row_groups_avail,
JSAMPARRAY  output_buf,
JDIMENSION out_row_ctr,
JDIMENSION  out_rows_avail 
)

◆ start_pass_merged_upsample()

start_pass_merged_upsample ( j_decompress_ptr  cinfo)

Definition at line 102 of file jdmerge.cpp.

References FALSE, my_upsampler::rows_to_go, and my_upsampler::spare_full.

Referenced by jinit_merged_upsampler().




Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020