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

Go to the source code of this file.

Classes

struct  my_fdct_controller
 

Macros

#define JPEG_INTERNALS
 
#define CONST_BITS   14
 
#define DIVIDE_BY(a, b)
 

Typedefs

typedef my_fdct_controllermy_fdct_ptr
 

Functions

 start_pass_fdctmgr (j_compress_ptr cinfo)
 
 forward_DCT (j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks)
 
 forward_DCT_float (j_compress_ptr cinfo, jpeg_component_info *compptr, JSAMPARRAY sample_data, JBLOCKROW coef_blocks, JDIMENSION start_row, JDIMENSION start_col, JDIMENSION num_blocks)
 
 jinit_forward_dct (j_compress_ptr cinfo)
 

Macro Definition Documentation

◆ CONST_BITS

#define CONST_BITS   14

Referenced by start_pass_fdctmgr().

◆ DIVIDE_BY

#define DIVIDE_BY (   a,
  b 
)
Value:
if (a >= b) \
a /= b; \
else \
a = 0
GLubyte GLubyte b
Definition: glext.h:6279
GLubyte GLubyte GLubyte a
Definition: glext.h:6279

Referenced by forward_DCT().

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 10 of file jcdctmgr.cpp.

Typedef Documentation

◆ my_fdct_ptr

Definition at line 37 of file jcdctmgr.cpp.

Function Documentation

◆ forward_DCT()

forward_DCT ( j_compress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  sample_data,
JBLOCKROW  coef_blocks,
JDIMENSION  start_row,
JDIMENSION  start_col,
JDIMENSION  num_blocks 
)

Definition at line 189 of file jcdctmgr.cpp.

References CENTERJSAMPLE, compptr, DCTSIZE, DCTSIZE2, DIVIDE_BY, my_fdct_controller::divisors, my_fdct_controller::do_dct, for(), GETJSAMPLE, jpeg_component_info::quant_tbl_no, and workspace.

Referenced by jinit_forward_dct().

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

◆ forward_DCT_float()

forward_DCT_float ( j_compress_ptr  cinfo,
jpeg_component_info compptr,
JSAMPARRAY  sample_data,
JBLOCKROW  coef_blocks,
JDIMENSION  start_row,
JDIMENSION  start_col,
JDIMENSION  num_blocks 
)

Definition at line 293 of file jcdctmgr.cpp.

References CENTERJSAMPLE, compptr, DCTSIZE, DCTSIZE2, my_fdct_controller::do_float_dct, my_fdct_controller::float_divisors, for(), GETJSAMPLE, jpeg_component_info::quant_tbl_no, and workspace.

Referenced by jinit_forward_dct().

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

◆ jinit_forward_dct()

jinit_forward_dct ( j_compress_ptr  cinfo)

◆ start_pass_fdctmgr()

start_pass_fdctmgr ( j_compress_ptr  cinfo)

Definition at line 49 of file jcdctmgr.cpp.

References compptr, CONST_BITS, DCTSIZE, DCTSIZE2, DESCALE, my_fdct_controller::divisors, ERREXIT, ERREXIT1, my_fdct_controller::float_divisors, for(), JDCT_FLOAT, JDCT_IFAST, JDCT_ISLOW, JPOOL_IMAGE, MULTIPLY16V16, NUM_QUANT_TBLS, jpeg_component_info::quant_tbl_no, SHIFT_TEMPS, and SIZEOF.

Referenced by jinit_forward_dct().

Here is the call graph for this function:
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