Main MRPT website > C++ reference for MRPT 1.9.9
Macros | Functions | Variables
jidctfst.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   8
 
#define PASS1_BITS   2
 
#define FIX_1_082392200   ((INT32)277) /* FIX(1.082392200) */
 
#define FIX_1_414213562   ((INT32)362) /* FIX(1.414213562) */
 
#define FIX_1_847759065   ((INT32)473) /* FIX(1.847759065) */
 
#define FIX_2_613125930   ((INT32)669) /* FIX(2.613125930) */
 
#define DESCALE(x, n)   RIGHT_SHIFT(x, n)
 
#define MULTIPLY(var, const)   ((DCTELEM)DESCALE((var) * (const), CONST_BITS))
 
#define DEQUANTIZE(coef, quantval)   (((IFAST_MULT_TYPE)(coef)) * (quantval))
 
#define ISHIFT_TEMPS
 
#define IRIGHT_SHIFT(x, shft)   ((x) >> (shft))
 
#define IDESCALE(x, n)   ((int)IRIGHT_SHIFT(x, n))
 

Functions

 GLOBAL (void) jpeg_idct_ifast(j_decompress_ptr cinfo
 
 for (ctr=DCTSIZE;ctr > 0;ctr--)
 
 for (ctr=0;ctr< DCTSIZE;ctr++)
 

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
 
DCTELEM tmp10
 
DCTELEM tmp11
 
DCTELEM tmp12
 
DCTELEM tmp13
 
DCTELEM z5
 
DCTELEM z10
 
DCTELEM z11
 
DCTELEM z12
 
DCTELEM z13
 
JCOEFPTR inptr = coef_block
 
IFAST_MULT_TYPEquantptr = (IFAST_MULT_TYPE*)compptr->dct_table
 
int * wsptr = workspace
 
JSAMPROW outptr
 
JSAMPLErange_limit = IDCT_range_limit(cinfo)
 
int ctr
 
int workspace [DCTSIZE2]
 

Macro Definition Documentation

◆ CONST_BITS

#define CONST_BITS   8

Definition at line 50 of file jidctfst.cpp.

◆ DEQUANTIZE

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

Definition at line 99 of file jidctfst.cpp.

Referenced by for().

◆ DESCALE

#define DESCALE (   x,
  n 
)    RIGHT_SHIFT(x, n)

Definition at line 83 of file jidctfst.cpp.

◆ FIX_1_082392200

#define FIX_1_082392200   ((INT32)277) /* FIX(1.082392200) */

Definition at line 65 of file jidctfst.cpp.

Referenced by for().

◆ FIX_1_414213562

#define FIX_1_414213562   ((INT32)362) /* FIX(1.414213562) */

Definition at line 66 of file jidctfst.cpp.

Referenced by for().

◆ FIX_1_847759065

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

Definition at line 67 of file jidctfst.cpp.

Referenced by for().

◆ FIX_2_613125930

#define FIX_2_613125930   ((INT32)669) /* FIX(2.613125930) */

Definition at line 68 of file jidctfst.cpp.

Referenced by for().

◆ IDESCALE

#define IDESCALE (   x,
  n 
)    ((int)IRIGHT_SHIFT(x, n))

Definition at line 129 of file jidctfst.cpp.

Referenced by for().

◆ IRIGHT_SHIFT

#define IRIGHT_SHIFT (   x,
  shft 
)    ((x) >> (shft))

Definition at line 123 of file jidctfst.cpp.

◆ ISHIFT_TEMPS

#define ISHIFT_TEMPS

Definition at line 122 of file jidctfst.cpp.

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 10 of file jidctfst.cpp.

◆ MULTIPLY

#define MULTIPLY (   var,
  const 
)    ((DCTELEM)DESCALE((var) * (const), CONST_BITS))

Definition at line 90 of file jidctfst.cpp.

Referenced by for().

◆ PASS1_BITS

#define PASS1_BITS   2

Definition at line 51 of file jidctfst.cpp.

Referenced by for().

Function Documentation

◆ for() [1/2]

for ( ctr  = DCTSIZEctr,
0;ctr--   
)

◆ for() [2/2]

for ( )

◆ GLOBAL()

GLOBAL ( void  )

Variable Documentation

◆ coef_block

Definition at line 137 of file jidctfst.cpp.

◆ compptr

Definition at line 137 of file jidctfst.cpp.

◆ ctr

int ctr

Definition at line 148 of file jidctfst.cpp.

Referenced by for().

◆ inptr

Definition at line 143 of file jidctfst.cpp.

Referenced by for().

◆ outptr

JSAMPROW outptr

Definition at line 146 of file jidctfst.cpp.

Referenced by for().

◆ output_buf

Definition at line 137 of file jidctfst.cpp.

Referenced by for().

◆ output_col

Initial value:
{
DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7
INT32 DCTELEM
Definition: jdct.h:26

Definition at line 139 of file jidctfst.cpp.

Referenced by for().

◆ quantptr

quantptr = (IFAST_MULT_TYPE*)compptr->dct_table

Definition at line 144 of file jidctfst.cpp.

Referenced by for().

◆ range_limit

JSAMPLE* range_limit = IDCT_range_limit(cinfo)

Definition at line 147 of file jidctfst.cpp.

Referenced by for().

◆ tmp10

DCTELEM tmp10

Definition at line 141 of file jidctfst.cpp.

Referenced by for().

◆ tmp11

DCTELEM tmp11

Definition at line 141 of file jidctfst.cpp.

Referenced by for().

◆ tmp12

DCTELEM tmp12

Definition at line 141 of file jidctfst.cpp.

Referenced by for().

◆ tmp13

DCTELEM tmp13

Definition at line 141 of file jidctfst.cpp.

Referenced by for().

◆ workspace

int workspace[DCTSIZE2]

Definition at line 149 of file jidctfst.cpp.

◆ wsptr

wsptr = workspace

Definition at line 145 of file jidctfst.cpp.

Referenced by for().

◆ z10

DCTELEM z10

Definition at line 142 of file jidctfst.cpp.

Referenced by for().

◆ z11

DCTELEM z11

Definition at line 142 of file jidctfst.cpp.

Referenced by for().

◆ z12

DCTELEM z12

Definition at line 142 of file jidctfst.cpp.

Referenced by for().

◆ z13

DCTELEM z13

Definition at line 142 of file jidctfst.cpp.

Referenced by for().

◆ z5

DCTELEM z5

Definition at line 142 of file jidctfst.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