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
jidctfst.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   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 77 of file jidctfst.c.

◆ DEQUANTIZE

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

Definition at line 129 of file jidctfst.c.

Referenced by jpeg_idct_ifast().

◆ DESCALE

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

Definition at line 111 of file jidctfst.c.

◆ FIX_1_082392200

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

Definition at line 92 of file jidctfst.c.

Referenced by jpeg_idct_ifast().

◆ FIX_1_414213562

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

Definition at line 93 of file jidctfst.c.

Referenced by jpeg_idct_ifast().

◆ FIX_1_847759065

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

Definition at line 94 of file jidctfst.c.

Referenced by jpeg_idct_ifast().

◆ FIX_2_613125930

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

Definition at line 95 of file jidctfst.c.

Referenced by jpeg_idct_ifast().

◆ IDESCALE

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

Definition at line 159 of file jidctfst.c.

Referenced by jpeg_idct_ifast().

◆ IRIGHT_SHIFT

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

Definition at line 153 of file jidctfst.c.

◆ ISHIFT_TEMPS

#define ISHIFT_TEMPS

Definition at line 152 of file jidctfst.c.

Referenced by jpeg_idct_ifast().

◆ JPEG_INTERNALS

#define JPEG_INTERNALS

Definition at line 35 of file jidctfst.c.

◆ MULTIPLY

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

Definition at line 119 of file jidctfst.c.

Referenced by jpeg_idct_ifast().

◆ PASS1_BITS

#define PASS1_BITS   2

Definition at line 78 of file jidctfst.c.

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 
)