Assignments Assignments

Macros | Typedefs
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)
#define | MAXJSAMPLE 255
#define | CENTERJSAMPLE 128
#define | GETJOCTET(value)
#define | JPEG_MAX_DIMENSION 65500L /* a tad under 64K to prevent overflows */
#define | METHODDEF(type)
#define | LOCAL(type)
#define | GLOBAL(type)
#define | EXTERN(type)
#define | JMETHOD(type, methodname, arglist)
#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 | ) |

Value:
extern type

## ◆ FALSE

#define FALSE 0 /* values of boolean */

## ◆ FAR

#define FAR

## ◆ GETJOCTET

#define GETJOCTET | ( |  | value | ) |

Value:
((value) & 0xFF)

## ◆ GETJSAMPLE

#define GETJSAMPLE | ( |  | value | ) |

Value:
((int) (value) & 0xFF)

## ◆ GLOBAL

#define GLOBAL | ( |  | type | ) |

Value:
type

## ◆ JMETHOD

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

Value:
type (*methodname) ()

## ◆ JPEG_MAX_DIMENSION

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

## ◆ LOCAL

#define LOCAL | ( |  | type | ) |

Value:
static type

## ◆ MAX_COMPONENTS

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

## ◆ MAXJSAMPLE

#define MAXJSAMPLE 255

## ◆ METHODDEF

#define METHODDEF | ( |  | type | ) |

Value:
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