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 | Typedefs | Functions
tif_jpeg.c File Reference
#include "tiffiop.h"
#include <setjmp.h>
#include "jpeglib.h"
#include "jerror.h"

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN
 
#define VC_EXTRALEAN
 
#define SETJMP(jbuf)   setjmp(jbuf)
 
#define LONGJMP(jbuf, code)   longjmp(jbuf,code)
 
#define JMP_BUF   jmp_buf
 
#define JState(tif)   ((JPEGState*)(tif)->tif_data)
 
#define FIELD_JPEGTABLES   (FIELD_CODEC+0)
 
#define FIELD_RECVPARAMS   (FIELD_CODEC+1)
 
#define FIELD_SUBADDRESS   (FIELD_CODEC+2)
 
#define FIELD_RECVTIME   (FIELD_CODEC+3)
 
#define FIELD_FAXDCS   (FIELD_CODEC+4)
 
#define N(a)   (sizeof (a) / sizeof (a[0]))
 
#define CALLJPEG(sp, fail, op)   (SETJMP((sp)->exit_jmpbuf) ? (fail) : (op))
 
#define CALLVJPEG(sp, op)   CALLJPEG(sp, 0, ((op),1))
 
#define SIZE_OF_JPEGTABLES   2000
 

Typedefs

typedef struct jpeg_destination_mgr jpeg_destination_mgr
 
typedef struct jpeg_source_mgr jpeg_source_mgr
 
typedef struct jpeg_error_mgr jpeg_error_mgr
 

Functions

int TIFFFillStrip (TIFF *, tstrip_t)
 
int TIFFFillTile (TIFF *, ttile_t)
 
int TIFFInitJPEG (TIFF *tif, int scheme)
 

Macro Definition Documentation

◆ CALLJPEG

#define CALLJPEG (   sp,
  fail,
  op 
)    (SETJMP((sp)->exit_jmpbuf) ? (fail) : (op))

Definition at line 253 of file tif_jpeg.c.

◆ CALLVJPEG

#define CALLVJPEG (   sp,
  op 
)    CALLJPEG(sp, 0, ((op),1))

Definition at line 254 of file tif_jpeg.c.

◆ FIELD_FAXDCS

#define FIELD_FAXDCS   (FIELD_CODEC+4)

Definition at line 184 of file tif_jpeg.c.

◆ FIELD_JPEGTABLES

#define FIELD_JPEGTABLES   (FIELD_CODEC+0)

Definition at line 180 of file tif_jpeg.c.

◆ FIELD_RECVPARAMS

#define FIELD_RECVPARAMS   (FIELD_CODEC+1)

Definition at line 181 of file tif_jpeg.c.

◆ FIELD_RECVTIME

#define FIELD_RECVTIME   (FIELD_CODEC+3)

Definition at line 183 of file tif_jpeg.c.

◆ FIELD_SUBADDRESS

#define FIELD_SUBADDRESS   (FIELD_CODEC+2)

Definition at line 182 of file tif_jpeg.c.

◆ JMP_BUF

#define JMP_BUF   jmp_buf

Definition at line 107 of file tif_jpeg.c.

◆ JState

#define JState (   tif)    ((JPEGState*)(tif)->tif_data)

Definition at line 171 of file tif_jpeg.c.

Referenced by TIFFInitJPEG().

◆ LONGJMP

#define LONGJMP (   jbuf,
  code 
)    longjmp(jbuf,code)

Definition at line 106 of file tif_jpeg.c.

◆ N

#define N (   a)    (sizeof (a) / sizeof (a[0]))

Definition at line 205 of file tif_jpeg.c.

Referenced by TIFFInitJPEG().

◆ SETJMP

#define SETJMP (   jbuf)    setjmp(jbuf)

Definition at line 105 of file tif_jpeg.c.

◆ SIZE_OF_JPEGTABLES

#define SIZE_OF_JPEGTABLES   2000

◆ VC_EXTRALEAN

#define VC_EXTRALEAN

Definition at line 28 of file tif_jpeg.c.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 27 of file tif_jpeg.c.

Typedef Documentation

◆ jpeg_destination_mgr

Definition at line 109 of file tif_jpeg.c.

◆ jpeg_error_mgr

Definition at line 111 of file tif_jpeg.c.

◆ jpeg_source_mgr

Definition at line 110 of file tif_jpeg.c.

Function Documentation

◆ TIFFFillStrip()

int TIFFFillStrip ( TIFF tif,
tstrip_t  strip 
)

◆ TIFFFillTile()

int TIFFFillTile ( TIFF tif,
ttile_t  tile 
)

◆ TIFFInitJPEG()

int TIFFInitJPEG ( TIFF tif,
int  scheme 
)