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

Go to the source code of this file.

Macros

#define JPEG_INTERNALS
 
#define CONST_BITS   13
 
#define PASS1_BITS   2
 
#define FIX_0_211164243   ((INT32)1730) /* FIX(0.211164243) */
 
#define FIX_0_509795579   ((INT32)4176) /* FIX(0.509795579) */
 
#define FIX_0_601344887   ((INT32)4926) /* FIX(0.601344887) */
 
#define FIX_0_720959822   ((INT32)5906) /* FIX(0.720959822) */
 
#define FIX_0_765366865   ((INT32)6270) /* FIX(0.765366865) */
 
#define FIX_0_850430095   ((INT32)6967) /* FIX(0.850430095) */
 
#define FIX_0_899976223   ((INT32)7373) /* FIX(0.899976223) */
 
#define FIX_1_061594337   ((INT32)8697) /* FIX(1.061594337) */
 
#define FIX_1_272758580   ((INT32)10426) /* FIX(1.272758580) */
 
#define FIX_1_451774981   ((INT32)11893) /* FIX(1.451774981) */
 
#define FIX_1_847759065   ((INT32)15137) /* FIX(1.847759065) */
 
#define FIX_2_172734803   ((INT32)17799) /* FIX(2.172734803) */
 
#define FIX_2_562915447   ((INT32)20995) /* FIX(2.562915447) */
 
#define FIX_3_624509785   ((INT32)29692) /* FIX(3.624509785) */
 
#define MULTIPLY(var, const)   MULTIPLY16C16(var, const)
 
#define DEQUANTIZE(coef, quantval)   (((ISLOW_MULT_TYPE)(coef)) * (quantval))
 

Functions

 GLOBAL (void) jpeg_idct_4x4(j_decompress_ptr cinfo
 
 for (ctr=DCTSIZE;ctr > 0;inptr++, quantptr++, wsptr++, ctr--)
 
 for (ctr=0;ctr< 4;ctr++)
 
 jpeg_idct_2x2 (j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
 
 jpeg_idct_1x1 (j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
 

Variables

jpeg_component_infocompptr
 
jpeg_component_info JCOEFPTR coef_block
 
jpeg_component_info JCOEFPTR JSAMPARRAY output_buf
 
jpeg_component_info JCOEFPTR JSAMPARRAY JDIMENSION output_col
 
INT32 z1
 
INT32 z2
 
INT32 z3
 
INT32 z4
 
JCOEFPTR inptr = coef_block
 
ISLOW_MULT_TYPEquantptr = (ISLOW_MULT_TYPE*)compptr->dct_table
 
int * wsptr = workspace
 
JSAMPROW outptr
 
JSAMPLErange_limit = IDCT_range_limit(cinfo)
 
int ctr
 
int workspace [DCTSIZE *4]
 

Macro Definition Documentation

◆ CONST_BITS

#define CONST_BITS   13

Definition at line 28 of file jidctred.cpp.

Referenced by for(), and jpeg_idct_2x2().

◆ DEQUANTIZE

#define DEQUANTIZE (   coef,
  quantval 
)    (((ISLOW_MULT_TYPE)(coef)) * (quantval))

Definition at line 92 of file jidctred.cpp.

Referenced by for(), jpeg_idct_1x1(), and jpeg_idct_2x2().

◆ FIX_0_211164243

#define FIX_0_211164243   ((INT32)1730) /* FIX(0.211164243) */

Definition at line 43 of file jidctred.cpp.

Referenced by for().

◆ FIX_0_509795579

#define FIX_0_509795579   ((INT32)4176) /* FIX(0.509795579) */

Definition at line 44 of file jidctred.cpp.

Referenced by for().

◆ FIX_0_601344887

#define FIX_0_601344887   ((INT32)4926) /* FIX(0.601344887) */

Definition at line 45 of file jidctred.cpp.

Referenced by for().

◆ FIX_0_720959822

#define FIX_0_720959822   ((INT32)5906) /* FIX(0.720959822) */

Definition at line 46 of file jidctred.cpp.

Referenced by jpeg_idct_2x2().

◆ FIX_0_765366865

#define FIX_0_765366865   ((INT32)6270) /* FIX(0.765366865) */

Definition at line 47 of file jidctred.cpp.

Referenced by for().

◆ FIX_0_850430095

#define FIX_0_850430095   ((INT32)6967) /* FIX(0.850430095) */

Definition at line 48 of file jidctred.cpp.

Referenced by jpeg_idct_2x2().

◆ FIX_0_899976223

#define FIX_0_899976223   ((INT32)7373) /* FIX(0.899976223) */

Definition at line 49 of file jidctred.cpp.

Referenced by for().

◆ FIX_1_061594337

#define FIX_1_061594337   ((INT32)8697) /* FIX(1.061594337) */

Definition at line 50 of file jidctred.cpp.

Referenced by for().

◆ FIX_1_272758580

#define FIX_1_272758580   ((INT32)10426) /* FIX(1.272758580) */

Definition at line 51 of file jidctred.cpp.

Referenced by jpeg_idct_2x2().

◆ FIX_1_451774981

#define FIX_1_451774981   ((INT32)11893) /* FIX(1.451774981) */

Definition at line 52 of file jidctred.cpp.

Referenced by for().

◆ FIX_1_847759065

#define FIX_1_847759065   ((INT32)15137) /* FIX(1.847759065) */

Definition at line 53 of file jidctred.cpp.

Referenced by for().

◆ FIX_2_172734803

#define FIX_2_172734803   ((INT32)17799) /* FIX(2.172734803) */

Definition at line 54 of file jidctred.cpp.

Referenced by for().

◆ FIX_2_562915447

#define FIX_2_562915447   ((INT32)20995) /* FIX(2.562915447) */

Definition at line 55 of file jidctred.cpp.

Referenced by for().

◆ FIX_3_624509785

#define FIX_3_624509785   ((INT32)29692) /* FIX(3.624509785) */

Definition at line 56 of file jidctred.cpp.

Referenced by jpeg_idct_2x2().

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 10 of file jidctred.cpp.

◆ MULTIPLY

#define MULTIPLY (   var,
  const 
)    MULTIPLY16C16(var, const)

Definition at line 82 of file jidctred.cpp.

Referenced by for(), and jpeg_idct_2x2().

◆ PASS1_BITS

#define PASS1_BITS   2

Definition at line 29 of file jidctred.cpp.

Referenced by for(), and jpeg_idct_2x2().

Function Documentation

◆ for() [1/2]

for ( ctr  = DCTSIZEctr,
0;inptr++  ,
quantptr++  ,
wsptr++  ,
ctr--   
)

◆ for() [2/2]

for ( )

◆ GLOBAL()

GLOBAL ( void  )

◆ jpeg_idct_1x1()

jpeg_idct_1x1 ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JCOEFPTR  coef_block,
JSAMPARRAY  output_buf,
JDIMENSION  output_col 
)

Definition at line 390 of file jidctred.cpp.

References coef_block, compptr, jpeg_component_info::dct_table, DEQUANTIZE, DESCALE, IDCT_range_limit, output_buf, output_col, quantptr, range_limit, RANGE_MASK, and SHIFT_TEMPS.

Referenced by start_pass().

Here is the caller graph for this function:

◆ jpeg_idct_2x2()

jpeg_idct_2x2 ( j_decompress_ptr  cinfo,
jpeg_component_info compptr,
JCOEFPTR  coef_block,
JSAMPARRAY  output_buf,
JDIMENSION  output_col 
)

Definition at line 264 of file jidctred.cpp.

References coef_block, compptr, CONST_BITS, ctr, jpeg_component_info::dct_table, DCTSIZE, DEQUANTIZE, DESCALE, FIX_0_720959822, FIX_0_850430095, FIX_1_272758580, FIX_3_624509785, for(), IDCT_range_limit, inptr, MULTIPLY, outptr, output_buf, output_col, PASS1_BITS, quantptr, range_limit, RANGE_MASK, SHIFT_TEMPS, tmp10, workspace, wsptr, and z1.

Referenced by start_pass().

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

Variable Documentation

◆ coef_block

Definition at line 100 of file jidctred.cpp.

Referenced by jpeg_idct_1x1(), and jpeg_idct_2x2().

◆ compptr

Definition at line 100 of file jidctred.cpp.

Referenced by jpeg_idct_1x1(), and jpeg_idct_2x2().

◆ ctr

int ctr

Definition at line 110 of file jidctred.cpp.

Referenced by for(), and jpeg_idct_2x2().

◆ inptr

Definition at line 105 of file jidctred.cpp.

Referenced by for(), and jpeg_idct_2x2().

◆ outptr

JSAMPROW outptr

Definition at line 108 of file jidctred.cpp.

Referenced by for(), and jpeg_idct_2x2().

◆ output_buf

Definition at line 100 of file jidctred.cpp.

Referenced by for(), jpeg_idct_1x1(), and jpeg_idct_2x2().

◆ output_col

Initial value:
{
INT32 tmp0, tmp2, tmp10, tmp12
FAST_FLOAT tmp12
Definition: jidctflt.cpp:40
long INT32
Definition: jmorecfg.h:151
FAST_FLOAT tmp10
Definition: jidctflt.cpp:40

Definition at line 102 of file jidctred.cpp.

Referenced by for(), jpeg_idct_1x1(), and jpeg_idct_2x2().

◆ quantptr

quantptr = (ISLOW_MULT_TYPE*)compptr->dct_table

Definition at line 106 of file jidctred.cpp.

Referenced by for(), jpeg_idct_1x1(), and jpeg_idct_2x2().

◆ range_limit

JSAMPLE* range_limit = IDCT_range_limit(cinfo)

Definition at line 109 of file jidctred.cpp.

Referenced by for(), jpeg_idct_1x1(), and jpeg_idct_2x2().

◆ workspace

int workspace[DCTSIZE *4]

Definition at line 111 of file jidctred.cpp.

Referenced by jpeg_idct_2x2().

◆ wsptr

wsptr = workspace

Definition at line 107 of file jidctred.cpp.

Referenced by for(), and jpeg_idct_2x2().

◆ z1

INT32 z1

Definition at line 104 of file jidctred.cpp.

Referenced by for(), and jpeg_idct_2x2().

◆ z2

INT32 z2

Definition at line 104 of file jidctred.cpp.

Referenced by for().

◆ z3

INT32 z3

Definition at line 104 of file jidctred.cpp.

Referenced by for().

◆ z4

INT32 z4

Definition at line 104 of file jidctred.cpp.

Referenced by for().




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