Assignments
Assignments
jmorecfg.h File Reference

Go to the source code of this file.

Macros

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

Typedefs

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

Macro Definition Documentation

◆ BITS_IN_JSAMPLE

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

◆ CENTERJSAMPLE

#define CENTERJSAMPLE   128

◆ EXTERN

#define EXTERN ( type)    extern type

◆ FALSE

#define FALSE   0 /* values of boolean */

◆ FAR

#define FAR

◆ GETJOCTET

#define GETJOCTET ( value)    ((value) & 0xFF)

◆ GETJSAMPLE

#define GETJSAMPLE ( value)    ((int) (value) & 0xFF)

◆ GLOBAL

#define GLOBAL ( type)    type

◆ JMETHOD

#define JMETHOD ( type,
methodname,
arglist )   type (*methodname) ()

◆ JPEG_MAX_DIMENSION

#define JPEG_MAX_DIMENSION   65500L /* a tad under 64K to prevent overflows */

◆ LOCAL

#define LOCAL ( type)    static type

◆ MAX_COMPONENTS

#define MAX_COMPONENTS   10 /* maximum number of image components */

◆ MAXJSAMPLE

#define MAXJSAMPLE   255

◆ METHODDEF

#define METHODDEF ( type)    static type

◆ TRUE

#define TRUE   1

Typedef Documentation

◆ boolean

typedef int boolean

◆ INT16

typedef short INT16

◆ INT32

typedef long INT32

◆ JCOEF

typedef short JCOEF

◆ JDIMENSION

typedef unsigned int JDIMENSION

◆ JOCTET

typedef char JOCTET

◆ JSAMPLE

typedef char JSAMPLE

◆ UINT16

typedef unsigned int UINT16

◆ UINT8

typedef short UINT8