Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Functions
jidctred.c File Reference
#include "jinclude.h"
#include "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

 jpeg_idct_4x4 (j_decompress_ptr cinfo, jpeg_component_info *compptr, JCOEFPTR coef_block, JSAMPARRAY output_buf, JDIMENSION output_col)
 
 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)
 

Macro Definition Documentation

◆ CONST_BITS

#define CONST_BITS   13

Definition at line 43 of file jidctred.c.

Referenced by jpeg_idct_2x2(), and jpeg_idct_4x4().

◆ DEQUANTIZE

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

Definition at line 109 of file jidctred.c.

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

◆ FIX_0_211164243

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

Definition at line 58 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_0_509795579

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

Definition at line 59 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_0_601344887

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

Definition at line 60 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_0_720959822

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

Definition at line 61 of file jidctred.c.

Referenced by jpeg_idct_2x2().

◆ FIX_0_765366865

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

Definition at line 62 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_0_850430095

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

Definition at line 63 of file jidctred.c.

Referenced by jpeg_idct_2x2().

◆ FIX_0_899976223

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

Definition at line 64 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_1_061594337

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

Definition at line 65 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_1_272758580

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

Definition at line 66 of file jidctred.c.

Referenced by jpeg_idct_2x2().

◆ FIX_1_451774981

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

Definition at line 67 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_1_847759065

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

Definition at line 68 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_2_172734803

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

Definition at line 69 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_2_562915447

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

Definition at line 70 of file jidctred.c.

Referenced by jpeg_idct_4x4().

◆ FIX_3_624509785

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

Definition at line 71 of file jidctred.c.

Referenced by jpeg_idct_2x2().

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 23 of file jidctred.c.

◆ MULTIPLY

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

Definition at line 98 of file jidctred.c.

Referenced by jpeg_idct_2x2(), and jpeg_idct_4x4().

◆ PASS1_BITS

#define PASS1_BITS   2

Definition at line 44 of file jidctred.c.

Referenced by jpeg_idct_2x2(), and jpeg_idct_4x4().

Function Documentation

◆ jpeg_idct_1x1()

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

◆ jpeg_idct_2x2()

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

◆ jpeg_idct_4x4()

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