Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Macros | Typedefs | Functions
jcsample.cpp File Reference
#include "jinclude.h"
#include "mrpt_jpeglib.h"

Go to the source code of this file.

Classes

struct  my_downsampler
 

Macros

#define JPEG_INTERNALS
 

Typedefs

typedef my_downsamplermy_downsample_ptr
 

Functions

typedef JMETHOD (void, downsample1_ptr,(j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY output_data))
 
 start_pass_downsample (j_compress_ptr)
 
 expand_right_edge (JSAMPARRAY image_data, int num_rows, JDIMENSION input_cols, JDIMENSION output_cols)
 
 sep_downsample (j_compress_ptr cinfo, JSAMPIMAGE input_buf, JDIMENSION in_row_index, JSAMPIMAGE output_buf, JDIMENSION out_row_group_index)
 
 int_downsample (j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY output_data)
 
 fullsize_downsample (j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY output_data)
 
 h2v1_downsample (j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY output_data)
 
 h2v2_downsample (j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY output_data)
 
 h2v2_smooth_downsample (j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY output_data)
 
 fullsize_smooth_downsample (j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY output_data)
 
 jinit_downsampler (j_compress_ptr cinfo)
 

Macro Definition Documentation

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 10 of file jcsample.cpp.

Typedef Documentation

◆ my_downsample_ptr

Definition at line 29 of file jcsample.cpp.

Function Documentation

◆ expand_right_edge()

expand_right_edge ( JSAMPARRAY  image_data,
int  num_rows,
JDIMENSION  input_cols,
JDIMENSION  output_cols 
)

Definition at line 43 of file jcsample.cpp.

Referenced by fullsize_downsample(), fullsize_smooth_downsample(), h2v1_downsample(), h2v2_downsample(), h2v2_smooth_downsample(), and int_downsample().

Here is the caller graph for this function:

◆ fullsize_downsample()

fullsize_downsample ( j_compress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY  output_data 
)

Definition at line 150 of file jcsample.cpp.

References compptr, DCTSIZE, expand_right_edge(), jcopy_sample_rows(), and jpeg_component_info::width_in_blocks.

Referenced by jinit_downsampler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fullsize_smooth_downsample()

fullsize_smooth_downsample ( j_compress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY  output_data 
)

Definition at line 375 of file jcsample.cpp.

References compptr, DCTSIZE, expand_right_edge(), GETJSAMPLE, inptr, outptr, jpeg_component_info::v_samp_factor, and jpeg_component_info::width_in_blocks.

Referenced by jinit_downsampler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ h2v1_downsample()

h2v1_downsample ( j_compress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY  output_data 
)

Definition at line 177 of file jcsample.cpp.

References compptr, DCTSIZE, expand_right_edge(), GETJSAMPLE, inptr, outptr, jpeg_component_info::v_samp_factor, and jpeg_component_info::width_in_blocks.

Referenced by jinit_downsampler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ h2v2_downsample()

h2v2_downsample ( j_compress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY  output_data 
)

Definition at line 217 of file jcsample.cpp.

References compptr, DCTSIZE, expand_right_edge(), GETJSAMPLE, outptr, jpeg_component_info::v_samp_factor, and jpeg_component_info::width_in_blocks.

Referenced by jinit_downsampler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ h2v2_smooth_downsample()

h2v2_smooth_downsample ( j_compress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY  output_data 
)

Definition at line 265 of file jcsample.cpp.

References compptr, DCTSIZE, expand_right_edge(), GETJSAMPLE, outptr, jpeg_component_info::v_samp_factor, and jpeg_component_info::width_in_blocks.

Referenced by jinit_downsampler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ int_downsample()

int_downsample ( j_compress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY  output_data 
)

Definition at line 98 of file jcsample.cpp.

References compptr, DCTSIZE, expand_right_edge(), GETJSAMPLE, jpeg_component_info::h_samp_factor, inptr, outptr, jpeg_component_info::v_samp_factor, and jpeg_component_info::width_in_blocks.

Referenced by jinit_downsampler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ jinit_downsampler()

jinit_downsampler ( j_compress_ptr  cinfo)

◆ JMETHOD()

typedef JMETHOD ( void  ,
downsample1_ptr  ,
(j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY output_data)   
)

◆ sep_downsample()

sep_downsample ( j_compress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  in_row_index,
JSAMPIMAGE  output_buf,
JDIMENSION  out_row_group_index 
)

Definition at line 71 of file jcsample.cpp.

References compptr, for(), my_downsampler::methods, output_buf, and jpeg_component_info::v_samp_factor.

Referenced by jinit_downsampler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start_pass_downsample()

start_pass_downsample ( j_compress_ptr  )

Definition at line 36 of file jcsample.cpp.

Referenced by jinit_downsampler().

Here is the caller graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019