#include <pltiffdec.h>
Inheritance diagram for PLTIFFDecoder:
Public Member Functions | |
PLTIFFDecoder () | |
Creates a decoder. | |
virtual | ~PLTIFFDecoder () |
Destroys a decoder. | |
Protected Member Functions | |
virtual void | DoDecode (PLBmp *pBmp, PLDataSource *pDataSrc) |
Sets up LIBTIFF environment and calls LIBTIFF to decode an image. | |
virtual void | DoTiffDecode (PLBmp *pBmp, PLDataSource *pDataSrc, TIFF *tiff) |
Private Member Functions | |
void | doHiColor (TIFF *tif, PLBmp *pBmp, uint16 SamplePerPixel) |
void | doLoColor (TIFF *tif, PLBmp *pBmp) |
const PLPoint | getResolution (TIFF *tif) |
Static Private Member Functions | |
void | Win32WarningHandler (const char *module, const char *fmt, va_list ap) |
void | Win32ErrorHandler (const char *module, const char *fmt, va_list ap) |
Static Private Attributes | |
char | m_szLastErr [256] |
Friends | |
class | _tiff_helper |
class | PLTIFFEncoder |
Uses LIBTIFF to do the actual conversion. Supports 1, 8 and 24 bits per pixel as output formats.
Definition at line 30 of file pltiffdec.h.
|
Creates a decoder.
Definition at line 108 of file pltiffdec.cpp. |
|
Destroys a decoder.
Definition at line 115 of file pltiffdec.cpp. |
|
Sets up LIBTIFF environment and calls LIBTIFF to decode an image.
Reimplemented from PLPicDecoder. Reimplemented in PLTIFFDecoderEx. Definition at line 142 of file pltiffdec.cpp. References DoTiffDecode(), PLDataSource::GetFileSize(), getResolution(), m_szLastErr, PL_ERRWRONG_SIGNATURE, PLPicDecoder::raiseError(), PLDataSource::ReadEverything(), PLBmp::SetResolution(), TIFF, and TIFFOpenMem(). |
Here is the call graph for this function:
|
Definition at line 185 of file pltiffdec.cpp. References PLBmp::Create(), PLBmp::GetLineArray32(), PLBmp::Lock(), m_szLastErr, PL_ERRNO_MEMORY, PL_ERRWRONG_SIGNATURE, PLBYTE, PLULONG, PLPicDecoder::raiseError(), PLPixel32::Set(), and PLBmp::Unlock(). Referenced by DoTiffDecode(). |
Here is the call graph for this function:
|
Definition at line 270 of file pltiffdec.cpp. References checkcmap(), PLBmp::Create(), CVT, PLBmp::GetLineArray(), PLBmp::Lock(), m_szLastErr, PL_ERRINTERNAL, PL_ERRNO_MEMORY, PLASSERT, PLBYTE, PLPicDecoder::raiseError(), PLBmp::SetPalette(), PLPicDecoder::Trace(), and PLBmp::Unlock(). Referenced by DoTiffDecode(). |
Here is the call graph for this function:
|
Definition at line 120 of file pltiffdec.cpp. References doHiColor(), and doLoColor(). Referenced by PLTIFFDecoderEx::DoDecode(), and DoDecode(). |
Here is the call graph for this function:
|
Definition at line 159 of file pltiffdec.cpp. Referenced by DoDecode(). |
|
Definition at line 427 of file pltiffdec.cpp. References m_szLastErr, and PLPicDecoder::Trace(). |
Here is the call graph for this function:
|
Definition at line 438 of file pltiffdec.cpp. References PLPicDecoder::Trace(). |
Here is the call graph for this function:
|
Definition at line 33 of file pltiffdec.h. |
|
Definition at line 34 of file pltiffdec.h. |
|
Definition at line 23 of file pltiffdec.cpp. Referenced by DoDecode(), doHiColor(), doLoColor(), and Win32ErrorHandler(). |