#include <plpictdec.h>
Inheritance diagram for PLPictDecoder:
Public Member Functions | |
PLPictDecoder (PLJPEGDecoder *pJPEGDecoder) | |
Creates a decoder. | |
virtual | ~PLPictDecoder () |
Destroys a decoder. | |
Protected Member Functions | |
virtual void | DoDecode (PLBmp *pBmp, PLDataSource *pDataSrc) |
Does the actual decoding after a data source has been set up. | |
Private Member Functions | |
void | readHeader (PLDataSource *pDataSrc, int &Version) |
void | interpretOpcodes (PLBmp *pBmp, PLDataSource *pDataSrc, int &Version) |
PLWORD | readOpcode (int Version, PLDataSource *pDataSrc) |
void | clip (PLDataSource *pDataSrc) |
void | pixPat (PLDataSource *pDataSrc) |
void | skipPolyOrRegion (PLDataSource *pDataSrc) |
void | bitsRect (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | bitsRegion (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | opcode9a (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | longComment (PLDataSource *pDataSrc) |
void | headerOp (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | jpegOp (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | createOutputBmp (MacpixMap PixMap, PLBmp *pBmp) |
void | doBitmap (int rowBytes, bool bIsRegion, PLBmp *pBmp, PLDataSource *pDataSrc) |
void | doPixmap (int rowBytes, bool bIsRegion, PLBmp *pBmp, PLDataSource *pDataSrc) |
void | unpack32bits (MacRect *pBounds, PLWORD rowBytes, int NumBitPlanes, PLBmp *pBmp, PLDataSource *pDataSrc) |
void | unpack8bits (MacRect *pBounds, PLWORD rowBytes, PLBmp *pBmp, PLDataSource *pDataSrc) |
void | unpackbits (MacRect *pBounds, PLWORD rowBytes, int pixelSize, PLBmp *pBmp, PLDataSource *pDataSrc) |
void | skipBits (MacRect *pBounds, PLWORD rowBytes, int pixelSize, PLDataSource *pDataSrc) |
void | expandBuf (PLBYTE *pDestBuf, PLBYTE *pSrcBuf, int Width, int bpp) |
void | expandBuf8 (PLBYTE *pDestBuf, PLBYTE *pSrcBuf, int Width, int bpp) |
void | readPixmap (MacpixMap *pPixMap, PLDataSource *pDataSrc) |
void | readColourTable (PLWORD *pNumColors, PLDataSource *pDataSrc, PLPixel32 *pPal) |
void | readRect (MacRect *pr, PLDataSource *pDataSrc) |
void | dumpRect (char *psz, MacRect *pr) |
void | tracePixMapHeader (int Level, MacpixMap *pPixMap) |
Private Attributes | |
PLJPEGDecoder * | m_pJPEGDecoder |
PLPoint | m_Resolution |
If an alpha channel is present in a 32-bit-PICT, it is decoded as well. The PICT format is a general picture file format and can contain a lot of other elements besides bitmaps. These elements are ignored.
Definition at line 28 of file plpictdec.h.
|
Creates a decoder. A JPEG decoder is needed to decode PICT files containing JPEGs. Definition at line 31 of file plpictdec.cpp. |
|
Destroys a decoder.
Definition at line 42 of file plpictdec.cpp. |
|
Definition at line 317 of file plpictdec.cpp. References PLWORD. |
|
Definition at line 333 of file plpictdec.cpp. References PLWORD. |
|
Definition at line 256 of file plpictdec.cpp. References PLWORD. |
|
Definition at line 457 of file plpictdec.cpp. |
|
Definition at line 478 of file plpictdec.cpp. References MacRect::bottom, MacRect::left, PLWORD, MacRect::right, and MacRect::top. |
|
Does the actual decoding after a data source has been set up.
Reimplemented from PLPicDecoder. Definition at line 48 of file plpictdec.cpp. |
|
Definition at line 519 of file plpictdec.cpp. References MacpixMap::Bounds, MacpixMap::cmpCount, MacpixMap::pixelSize, and PLWORD. |
|
Definition at line 1120 of file plpictdec.cpp. |
|
Definition at line 921 of file plpictdec.cpp. References PL_ERRFORMAT_UNKNOWN, PLBYTE, PLWORD, and raiseError(). |
Here is the call graph for this function:
|
Definition at line 959 of file plpictdec.cpp. References PL_ERRFORMAT_UNKNOWN, PLBYTE, and raiseError(). |
Here is the call graph for this function:
|
Definition at line 402 of file plpictdec.cpp. |
|
Definition at line 110 of file plpictdec.cpp. References clip, PL_ERRFORMAT_NOT_SUPPORTED, PL_ERRFORMAT_UNKNOWN, PLWORD, and raiseError(). |
Here is the call graph for this function:
|
Definition at line 415 of file plpictdec.cpp. References PL_ERRFORMAT_NOT_SUPPORTED, PLBYTE, and raiseError(). |
Here is the call graph for this function:
|
Definition at line 389 of file plpictdec.cpp. References PLWORD. |
|
Definition at line 349 of file plpictdec.cpp. References MacpixMap::Bounds, MacpixMap::cmpCount, MacpixMap::pixelSize, and PLWORD. |
|
Definition at line 273 of file plpictdec.cpp. References MacpixMap::Bounds, MacpixMap::pixelSize, PL_ERRFORMAT_UNKNOWN, PLWORD, and raiseError(). |
Here is the call graph for this function:
|
Definition at line 1064 of file plpictdec.cpp. References PL_ERRFORMAT_UNKNOWN, PLBYTE, PLLONG, PLWORD, raiseError(), PLPixel32::SetB(), PLPixel32::SetG(), and PLPixel32::SetR(). |
Here is the call graph for this function:
|
Definition at line 68 of file plpictdec.cpp. References PL_ERRWRONG_SIGNATURE, PLBYTE, PLWORD, and raiseError(). |
Here is the call graph for this function:
|
Definition at line 236 of file plpictdec.cpp. |
|
Definition at line 1043 of file plpictdec.cpp. |
|
Definition at line 1108 of file plpictdec.cpp. |
|
Definition at line 876 of file plpictdec.cpp. References PLWORD. |
|
Definition at line 309 of file plpictdec.cpp. |
|
Definition at line 1132 of file plpictdec.cpp. |
|
Definition at line 566 of file plpictdec.cpp. References MacRect::bottom, MacRect::left, PLBYTE, PLWORD, MacRect::right, PLPixel32::SetA(), PLPixel32::SetB(), PLPixel32::SetG(), PLPixel32::SetR(), and MacRect::top. |
Here is the call graph for this function:
|
Definition at line 652 of file plpictdec.cpp. |
|
Definition at line 701 of file plpictdec.cpp. References PL_ERRFORMAT_UNKNOWN, PLBYTE, PLWORD, and raiseError(). |
Here is the call graph for this function:
|
Definition at line 245 of file plpictdec.h. |
|
Definition at line 246 of file plpictdec.h. |