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

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

#define JPEG_INTERNALS

Definition at line 10 of file jcsample.cpp.

Typedef Documentation

Definition at line 29 of file jcsample.cpp.

Function Documentation

expand_right_edge ( JSAMPARRAY  image_data,
int  num_rows,
JDIMENSION  input_cols,
JDIMENSION  output_cols 
)
fullsize_downsample ( j_compress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  input_data,
JSAMPARRAY  output_data 
)

Definition at line 149 of file jcsample.cpp.

References DCTSIZE, expand_right_edge(), and jcopy_sample_rows().

Referenced by jinit_downsampler().

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

Definition at line 354 of file jcsample.cpp.

References DCTSIZE, expand_right_edge(), and GETJSAMPLE.

Referenced by jinit_downsampler().

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

Definition at line 174 of file jcsample.cpp.

References DCTSIZE, expand_right_edge(), and GETJSAMPLE.

Referenced by jinit_downsampler().

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

Definition at line 211 of file jcsample.cpp.

References DCTSIZE, expand_right_edge(), and GETJSAMPLE.

Referenced by jinit_downsampler().

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

Definition at line 254 of file jcsample.cpp.

References DCTSIZE, expand_right_edge(), and GETJSAMPLE.

Referenced by jinit_downsampler().

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

Definition at line 102 of file jcsample.cpp.

References DCTSIZE, expand_right_edge(), and GETJSAMPLE.

Referenced by jinit_downsampler().

jinit_downsampler ( j_compress_ptr  cinfo)
typedef JMETHOD ( void  ,
downsample1_ptr  ,
(j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY input_data, JSAMPARRAY output_data)   
)
sep_downsample ( j_compress_ptr  cinfo,
JSAMPIMAGE  input_buf,
JDIMENSION  in_row_index,
JSAMPIMAGE  output_buf,
JDIMENSION  out_row_group_index 
)

Definition at line 76 of file jcsample.cpp.

References compptr, my_downsampler::methods, and jpeg_component_info::v_samp_factor.

Referenced by jinit_downsampler().

start_pass_downsample ( j_compress_ptr  )

Definition at line 37 of file jcsample.cpp.

Referenced by jinit_downsampler().




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