Atmel Software Framework

jmorecfg.h File Reference

Macros

#define BITS_IN_JSAMPLE   8 /* use 8 or 12 */
 
#define CENTERJSAMPLE   128
 
#define EXTERN(type)   extern type
 
#define FALSE   0 /* values of boolean */
 
#define FAR
 
#define GETJOCTET(value)   ((value) & 0xFF)
 
#define GETJSAMPLE(value)   ((int) (value) & 0xFF)
 
#define GLOBAL(type)   type
 
#define JMETHOD(type, methodname, arglist)   type (*methodname) ()
 
#define JPEG_MAX_DIMENSION   65500L /* a tad under 64K to prevent overflows */
 
#define LOCAL(type)   static type
 
#define MAX_COMPONENTS   4 /* maximum number of image components */
 
#define MAXJSAMPLE   255
 
#define METHODDEF(type)   static type
 
#define TRUE   1
 

Typedefs

typedef int boolean
 
typedef short INT16
 
typedef long INT32
 
typedef short JCOEF
 
typedef unsigned int JDIMENSION
 
typedef char JOCTET
 
typedef char JSAMPLE
 
typedef unsigned int UINT16
 
typedef short UINT8
 

#define BITS_IN_JSAMPLE   8 /* use 8 or 12 */

Referenced by jpeg_set_defaults(), and METHODDEF().

#define CENTERJSAMPLE   128

Referenced by build_ycc_rgb_table(), and forward_DCT().

#define EXTERN (   type)    extern type
#define FALSE   0 /* values of boolean */
#define GETJOCTET (   value)    ((value) & 0xFF)
#define GLOBAL (   type)    type
#define JMETHOD (   type,
  methodname,
  arglist 
)    type (*methodname) ()
#define JPEG_MAX_DIMENSION   65500L /* a tad under 64K to prevent overflows */
#define LOCAL (   type)    static type
#define MAX_COMPONENTS   4 /* maximum number of image components */
#define METHODDEF (   type)    static type
#define TRUE   1

typedef int boolean
typedef short INT16
typedef long INT32
typedef short JCOEF
typedef unsigned int JDIMENSION
typedef char JOCTET
typedef char JSAMPLE
typedef unsigned int UINT16
typedef short UINT8