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]
Typedefs | Functions | Variables
tif_acorn.c File Reference
#include "tiffiop.h"
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Typedefs

typedef unsigned int bits
 
typedef unsigned char byte
 
typedef _kernel_oserror os_error
 
typedef byte os_f
 

Functions

os_errorxosgbpb_write (os_f file, byte *data, int size, int *unwritten)
 
int osgbpb_write (os_f file, byte *data, int size)
 
os_errorxosgbpb_read (os_f file, byte *buffer, int size, int *unread)
 
int osgbpb_read (os_f file, byte *buffer, int size)
 
os_errorxosfind_openin (bits flags, char *file_name, char *path, os_f *file)
 
os_f osfind_openin (bits flags, char *file_name, char *path)
 
os_errorxosfind_openout (bits flags, char *file_name, char *path, os_f *file)
 
os_f osfind_openout (bits flags, char *file_name, char *path)
 
os_errorxosfind_openup (bits flags, char *file_name, char *path, os_f *file)
 
os_f osfind_openup (bits flags, char *file_name, char *path)
 
os_errorxosfind_close (os_f file)
 
void osfind_close (os_f file)
 
os_errorxosargs_read_ptr (os_f file, int *ptr)
 
int osargs_read_ptr (os_f file)
 
os_errorxosargs_set_ptr (os_f file, int ptr)
 
void osargs_set_ptr (os_f file, int ptr)
 
os_errorxosargs_read_ext (os_f file, int *ext)
 
int osargs_read_ext (os_f file)
 
int open (const char *name, int flags, int mode)
 
int close (int fd)
 
int write (int fd, const char *buf, int nbytes)
 
int read (int fd, char *buf, int nbytes)
 
off_t lseek (int fd, off_t offset, int whence)
 
TIFFTIFFFdOpen (int fd, const char *name, const char *mode)
 
TIFFTIFFOpen (const char *name, const char *mode)
 
void_TIFFmalloc (tsize_t s)
 
void _TIFFfree (tdata_t p)
 
void_TIFFrealloc (tdata_t p, tsize_t s)
 
void _TIFFmemset (tdata_t p, int v, tsize_t c)
 
void _TIFFmemcpy (tdata_t d, const tdata_t s, tsize_t c)
 
int _TIFFmemcmp (const tdata_t p1, const tdata_t p2, tsize_t c)
 

Variables

TIFFErrorHandler _TIFFwarningHandler = acornWarningHandler
 
TIFFErrorHandler _TIFFerrorHandler = acornErrorHandler
 

Typedef Documentation

◆ bits

typedef unsigned int bits

Definition at line 68 of file tif_acorn.c.

◆ byte

typedef unsigned char byte

Definition at line 69 of file tif_acorn.c.

◆ os_error

typedef _kernel_oserror os_error

Definition at line 84 of file tif_acorn.c.

◆ os_f

typedef byte os_f

Definition at line 85 of file tif_acorn.c.

Function Documentation

◆ _TIFFfree()

void _TIFFfree ( tdata_t  p)

◆ _TIFFmalloc()

void* _TIFFmalloc ( tsize_t  s)

◆ _TIFFmemcmp()

int _TIFFmemcmp ( const tdata_t  p1,
const tdata_t  p2,
tsize_t  c 
)

Definition at line 491 of file tif_acorn.c.

◆ _TIFFmemcpy()

void _TIFFmemcpy ( tdata_t  d,
const tdata_t  s,
tsize_t  c 
)

◆ _TIFFmemset()

void _TIFFmemset ( tdata_t  p,
int  v,
tsize_t  c 
)

◆ _TIFFrealloc()

void* _TIFFrealloc ( tdata_t  p,
tsize_t  s 
)

Definition at line 473 of file tif_acorn.c.

Referenced by _TIFFMergeFieldInfo(), TIFFGetConfiguredCODECs(), and TIFFReadDirectory().

◆ close()

int close ( int  fd)

◆ lseek()

off_t lseek ( int  fd,
off_t  offset,
int  whence 
)

◆ open()

int open ( const char *  name,
int  flags,
int  mode 
)

◆ osargs_read_ext()

int osargs_read_ext ( os_f  file)

Referenced by lseek().

◆ osargs_read_ptr()

int osargs_read_ptr ( os_f  file)

Referenced by lseek().

◆ osargs_set_ptr()

void osargs_set_ptr ( os_f  file,
int  ptr 
)

Referenced by lseek().

◆ osfind_close()

void osfind_close ( os_f  file)

◆ osfind_openin()

os_f osfind_openin ( bits  flags,
char *  file_name,
char *  path 
)

◆ osfind_openout()

os_f osfind_openout ( bits  flags,
char *  file_name,
char *  path 
)

◆ osfind_openup()

os_f osfind_openup ( bits  flags,
char *  file_name,
char *  path 
)

◆ osgbpb_read()

int osgbpb_read ( os_f  file,
byte buffer,
int  size 
)

Referenced by read().

◆ osgbpb_write()

int osgbpb_write ( os_f  file,
byte data,
int  size 
)

Referenced by write().

◆ read()

int read ( int  fd,
char *  buf,
int  nbytes 
)

◆ TIFFFdOpen()

TIFF* TIFFFdOpen ( int  fd,
const char *  name,
const char *  mode 
)

Definition at line 418 of file tif_acorn.c.

Referenced by TIFFOpen().

◆ TIFFOpen()

TIFF* TIFFOpen ( const char *  name,
const char *  mode 
)

Definition at line 438 of file tif_acorn.c.

◆ write()

int write ( int  fd,
const char *  buf,
int  nbytes 
)

◆ xosargs_read_ext()

os_error* xosargs_read_ext ( os_f  file,
int ext 
)

◆ xosargs_read_ptr()

os_error* xosargs_read_ptr ( os_f  file,
int ptr 
)

◆ xosargs_set_ptr()

os_error* xosargs_set_ptr ( os_f  file,
int  ptr 
)

◆ xosfind_close()

os_error* xosfind_close ( os_f  file)

Referenced by close().

◆ xosfind_openin()

os_error* xosfind_openin ( bits  flags,
char *  file_name,
char *  path,
os_f file 
)

Referenced by open().

◆ xosfind_openout()

os_error* xosfind_openout ( bits  flags,
char *  file_name,
char *  path,
os_f file 
)

Referenced by open().

◆ xosfind_openup()

os_error* xosfind_openup ( bits  flags,
char *  file_name,
char *  path,
os_f file 
)

Referenced by open().

◆ xosgbpb_read()

os_error* xosgbpb_read ( os_f  file,
byte buffer,
int  size,
int unread 
)

◆ xosgbpb_write()

os_error* xosgbpb_write ( os_f  file,
byte data,
int  size,
int unwritten 
)

Variable Documentation

◆ _TIFFerrorHandler

TIFFErrorHandler _TIFFerrorHandler = acornErrorHandler

Definition at line 519 of file tif_acorn.c.

Referenced by TIFFError(), TIFFErrorExt(), and TIFFSetErrorHandler().

◆ _TIFFwarningHandler

TIFFErrorHandler _TIFFwarningHandler = acornWarningHandler

Definition at line 507 of file tif_acorn.c.

Referenced by TIFFSetWarningHandler(), TIFFWarning(), and TIFFWarningExt().