ReaderWriterTIFF.cpp File Reference

#include <osg/Image>
#include <osg/Notify>
#include <osg/Geode>
#include <osg/GL>
#include <osgDB/Registry>
#include <osgDB/FileUtils>
#include <osgDB/FileNameUtils>
#include <stdio.h>
#include <tiffio.h>
#include <string.h>
#include <stdarg.h>
#include <assert.h>
#include <stdlib.h>

Include dependency graph for ReaderWriterTIFF.cpp:


Defines

#define ERR_NO_ERROR   0
#define ERR_OPEN   1
#define ERR_READ   2
#define ERR_MEM   3
#define ERR_UNSUPPORTED   4
#define ERR_TIFFLIB   5
#define CVT(x)   (((x) * 255L) / ((1L<<16)-1))
#define pack(a, b)   ((a)<<8 | (b))

Functions

int simage_tiff_error (char *buffer, int buflen)
int simage_tiff_identify (const char *, const unsigned char *header, int headerlen)
unsigned char * simage_tiff_load (const char *filename, int *width_ret, int *height_ret, int *numComponents_ret)

Variables

osgDB::RegisterReaderWriterProxy<
ReaderWriterTIFF > 
g_readerWriter_TIFF_Proxy

Define Documentation

#define CVT  )     (((x) * 255L) / ((1L<<16)-1))
 

#define ERR_MEM   3
 

#define ERR_NO_ERROR   0
 

#define ERR_OPEN   1
 

#define ERR_READ   2
 

#define ERR_TIFFLIB   5
 

#define ERR_UNSUPPORTED   4
 

#define pack a,
 )     ((a)<<8 | (b))
 


Function Documentation

int simage_tiff_error char *  buffer,
int  buflen
 

int simage_tiff_identify const char *  ,
const unsigned char *  header,
int  headerlen
 

unsigned char* simage_tiff_load const char *  filename,
int *  width_ret,
int *  height_ret,
int *  numComponents_ret
 


Variable Documentation

osgDB::RegisterReaderWriterProxy<ReaderWriterTIFF> g_readerWriter_TIFF_Proxy
 


Generated at Sat Mar 18 08:11:26 2006 for the OpenSceneGraph by doxygen 1.4.6.