#include <plbmpdec.h>
Inheritance diagram for PLBmpDecoder:
Public Member Functions | |
PLBmpDecoder () | |
Creates a decoder. | |
virtual | ~PLBmpDecoder () |
Destroys a decoder. | |
Protected Member Functions | |
virtual void | DoDecode (PLBmp *pBmp, PLDataSource *pDataSrc) |
Does the actual decoding of bitmap data. | |
Private Member Functions | |
WINBITMAPINFOHEADER * | getInfoHeader (PLDataSource *pDataSrc, PLPixel32 *Pal) |
void | decode1bpp (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | decode4bpp (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | decode8bpp (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | decodeRLE4 (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | decodeRLE8 (PLDataSource *pDataSrc, PLBmp *pBmp) |
void | decodeHiColor (PLDataSource *pDataSrc, PLBmp *pBmp, WINBITMAPINFOHEADER *pBMI) |
void | decodeTrueColor (PLDataSource *pDataSrc, PLBmp *pBmp, int SrcBPP) |
void | decode15bppLine (PLDataSource *pDataSrc, PLBmp *pBmp, PLBYTE *pDest) |
void | decode16bppLine (PLDataSource *pDataSrc, PLBmp *pBmp, PLBYTE *pDest) |
void | decode24bppLine (PLDataSource *pDataSrc, PLBmp *pBmp, PLBYTE *pDest) |
void | decode32bppLine (PLDataSource *pDataSrc, PLBmp *pBmp, PLBYTE *pDest) |
void | decode2Nibbles (PLBYTE *pDest, PLBYTE SrcByte) |
int | readPalette (WINBITMAPINFOHEADER *pBMI, PLDataSource *pDataSrc, PLPixel32 *pPal, int RGBSize) |
Decodes bitmap files (compressed and uncompressed) of all bit depths. Returns an 8 or 32 bpp bitmap.
Definition at line 25 of file plbmpdec.h.
|
Creates a decoder.
Definition at line 21 of file plbmpdec.cpp. |
|
Destroys a decoder.
Definition at line 28 of file plbmpdec.cpp. |
|
Definition at line 635 of file plbmpdec.cpp. |
|
Definition at line 659 of file plbmpdec.cpp. |
|
Definition at line 252 of file plbmpdec.cpp. References PLBYTE. |
|
Definition at line 684 of file plbmpdec.cpp. References PLBYTE, and WINRGBQUAD. |
|
Definition at line 719 of file plbmpdec.cpp. References PLBYTE. |
|
Definition at line 708 of file plbmpdec.cpp. References PLBYTE. |
|
Definition at line 322 of file plbmpdec.cpp. References PLBYTE. |
|
Definition at line 370 of file plbmpdec.cpp. References PLBYTE. |
|
Definition at line 573 of file plbmpdec.cpp. References BI_BITFIELDS, PLASSERT, PLULONG, and WINBITMAPINFOHEADER. |
|
Definition at line 405 of file plbmpdec.cpp. References PL_ERRFORMAT_NOT_SUPPORTED, PLBYTE, and raiseError(). |
Here is the call graph for this function:
|
Definition at line 507 of file plbmpdec.cpp. References PL_ERRFORMAT_NOT_SUPPORTED, PLBYTE, and raiseError(). |
Here is the call graph for this function:
|
Definition at line 597 of file plbmpdec.cpp. |
|
Does the actual decoding of bitmap data.
Reimplemented from PLPicDecoder. Definition at line 34 of file plbmpdec.cpp. References tagWINBITMAPINFOHEADER::biBitCount, tagWINBITMAPINFOHEADER::biCompression, tagWINBITMAPINFOHEADER::biHeight, tagWINBITMAPINFOHEADER::biWidth, tagWINBITMAPINFOHEADER::biXPelsPerMeter, tagWINBITMAPINFOHEADER::biYPelsPerMeter, PL_ERRFORMAT_UNKNOWN, raiseError(), WINBITMAPINFOHEADER, PLPoint::x, and PLPoint::y. |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 729 of file plbmpdec.cpp. References PLBYTE, tagWINRGBQUAD::rgbBlue, tagWINRGBQUAD::rgbGreen, tagWINRGBQUAD::rgbRed, WINBITMAPINFOHEADER, and WINRGBQUAD. |