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

Go to the source code of this file.

Macros

#define JPEG_INTERNALS
 
#define CONST_BITS   8
 
#define FIX_0_382683433   ((INT32) 98) /* FIX(0.382683433) */
 
#define FIX_0_541196100   ((INT32) 139) /* FIX(0.541196100) */
 
#define FIX_0_707106781   ((INT32) 181) /* FIX(0.707106781) */
 
#define FIX_1_306562965   ((INT32) 334) /* FIX(1.306562965) */
 
#define DESCALE(x, n)   RIGHT_SHIFT(x, n)
 
#define MULTIPLY(var, const)   ((DCTELEM) DESCALE((var) * (const), CONST_BITS))
 

Functions

 jpeg_fdct_ifast (DCTELEM *data)
 

Macro Definition Documentation

◆ CONST_BITS

#define CONST_BITS   8

Definition at line 45 of file jfdctfst.cpp.

◆ DESCALE

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

Definition at line 75 of file jfdctfst.cpp.

◆ FIX_0_382683433

#define FIX_0_382683433   ((INT32) 98) /* FIX(0.382683433) */

Definition at line 56 of file jfdctfst.cpp.

Referenced by jpeg_fdct_ifast().

◆ FIX_0_541196100

#define FIX_0_541196100   ((INT32) 139) /* FIX(0.541196100) */

Definition at line 57 of file jfdctfst.cpp.

Referenced by jpeg_fdct_ifast().

◆ FIX_0_707106781

#define FIX_0_707106781   ((INT32) 181) /* FIX(0.707106781) */

Definition at line 58 of file jfdctfst.cpp.

Referenced by jpeg_fdct_ifast().

◆ FIX_1_306562965

#define FIX_1_306562965   ((INT32) 334) /* FIX(1.306562965) */

Definition at line 59 of file jfdctfst.cpp.

Referenced by jpeg_fdct_ifast().

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 10 of file jfdctfst.cpp.

◆ MULTIPLY

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

Definition at line 83 of file jfdctfst.cpp.

Referenced by jpeg_fdct_ifast().

Function Documentation

◆ jpeg_fdct_ifast()

jpeg_fdct_ifast ( DCTELEM data)



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