#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <stdarg.h>#include <qimage.h>Include dependency graph for Palm2QImage.cpp:

Go to the source code of this file.
Defines | |
| #define | READ_BIGENDIAN_SHORT(p) (((p)[0] << 8)|((p)[1])) |
| #define | READ_BIGENDIAN_LONG(p) (((p)[0] << 24)|((p)[1] << 16)|((p)[2] << 8)|((p)[3])) |
| #define | PALM_IS_COMPRESSED_FLAG 0x8000 |
| #define | PALM_HAS_COLORMAP_FLAG 0x4000 |
| #define | PALM_HAS_TRANSPARENCY_FLAG 0x2000 |
| #define | PALM_DIRECT_COLOR_FLAG 0x0400 |
| #define | PALM_4_BYTE_FIELD_FLAG 0x0200 |
| #define | PALM_COMPRESSION_SCANLINE 0x00 |
| #define | PALM_COMPRESSION_RLE 0x01 |
| #define | PALM_COMPRESSION_PACKBITS 0x02 |
| #define | PALM_COMPRESSION_NONE 0xFF |
| #define | PALM_COLORMAP_SIZE 232 |
Functions | |
| QImage * | Palm2QImage (unsigned char *image_bytes_in, int byte_count_in) |
Variables | |
| static ColorMapEntry | Palm8BitColormap [] |
| static ColorMapEntry | Palm1BitColormap [] = {{ 255, 255, 255 }, { 0, 0, 0 }} |
| static ColorMapEntry | Palm2BitColormap [] |
| static ColorMapEntry | Palm4BitColormap [] |
|
|
Definition at line 30 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
|
Definition at line 37 of file Palm2QImage.cpp. |
|
|
Definition at line 35 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
|
Definition at line 34 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
|
Definition at line 33 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
|
Definition at line 32 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
|
Definition at line 29 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
|
Definition at line 27 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
|
Definition at line 28 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
|
Definition at line 26 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
|
Definition at line 24 of file Palm2QImage.cpp. |
|
|
Definition at line 23 of file Palm2QImage.cpp. Referenced by Palm2QImage(). |
|
||||||||||||
|
Definition at line 123 of file Palm2QImage.cpp. References flags, height, i, NULL, PALM_4_BYTE_FIELD_FLAG, PALM_COMPRESSION_NONE, PALM_COMPRESSION_PACKBITS, PALM_COMPRESSION_RLE, PALM_COMPRESSION_SCANLINE, PALM_DIRECT_COLOR_FLAG, PALM_HAS_COLORMAP_FLAG, PALM_HAS_TRANSPARENCY_FLAG, PALM_IS_COMPRESSED_FLAG, qDebug(), READ_BIGENDIAN_SHORT, version, and width. Referenced by CPlucker::imagefromdata(). |
|
|
Definition at line 111 of file Palm2QImage.cpp. |
|
|
Initial value: {
{ 255, 255, 255 }, { 192, 192, 192 }, { 128, 128, 128 }, { 0, 0, 0 }}
Definition at line 113 of file Palm2QImage.cpp. |
|
|
Initial value: {
{ 255, 255, 255 }, { 238, 238, 238 }, { 221, 221, 221 }, { 204, 204, 204 },
{ 187, 187, 187 }, { 170, 170, 170 }, { 153, 153, 153 }, { 136, 136, 136 },
{ 119, 119, 119 }, { 102, 102, 102 }, { 85, 85, 85 }, { 68, 68, 68 },
{ 51, 51, 51 }, { 34, 34, 34 }, { 17, 17, 17 }, { 0, 0, 0 }}
Definition at line 116 of file Palm2QImage.cpp. |
|
|
Definition at line 45 of file Palm2QImage.cpp. |
1.4.2