Main MRPT website > C++ reference for MRPT 1.5.9
Macros | Functions
jidctfst.cpp File Reference
#include "jinclude.h"
#include "mrpt_jpeglib.h"
#include "jdct.h"
Include dependency graph for jidctfst.cpp:

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

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

Macro Definition Documentation

◆ CONST_BITS

#define CONST_BITS   8

Definition at line 52 of file jidctfst.cpp.

◆ DEQUANTIZE

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

Definition at line 104 of file jidctfst.cpp.

Referenced by jpeg_idct_ifast().

◆ DESCALE

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

Definition at line 86 of file jidctfst.cpp.

◆ FIX_1_082392200

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

Definition at line 67 of file jidctfst.cpp.

Referenced by jpeg_idct_ifast().

◆ FIX_1_414213562

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

Definition at line 68 of file jidctfst.cpp.

Referenced by jpeg_idct_ifast().

◆ FIX_1_847759065

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

Definition at line 69 of file jidctfst.cpp.

Referenced by jpeg_idct_ifast().

◆ FIX_2_613125930

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

Definition at line 70 of file jidctfst.cpp.

Referenced by jpeg_idct_ifast().

◆ IDESCALE

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

Definition at line 134 of file jidctfst.cpp.

Referenced by jpeg_idct_ifast().

◆ IRIGHT_SHIFT

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

Definition at line 128 of file jidctfst.cpp.

◆ ISHIFT_TEMPS

#define ISHIFT_TEMPS

Definition at line 127 of file jidctfst.cpp.

Referenced by jpeg_idct_ifast().

◆ 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 94 of file jidctfst.cpp.

Referenced by jpeg_idct_ifast().

◆ PASS1_BITS

#define PASS1_BITS   2

Definition at line 53 of file jidctfst.cpp.

Referenced by jpeg_idct_ifast().

Function Documentation

◆ jpeg_idct_ifast()

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



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020