|
p4est
1.0
|
This file containts the image data used in the step1 example. More...

Go to the source code of this file.
Defines | |
| #define | HW32_HEADER_PIXEL(data, pixel) |
| Access a pixel of the image and move the data pointer forward. | |
Variables | |
| static char * | hw32_header_data = "" |
| The image data is encoded as a C string. | |
This file containts the image data used in the step1 example.
| #define HW32_HEADER_PIXEL | ( | data, | |
| pixel | |||
| ) |
{\
pixel[0] = (((data[0] - 33) << 2) | ((data[1] - 33) >> 4)); \
pixel[1] = ((((data[1] - 33) & 0xF) << 4) | ((data[2] - 33) >> 2)); \
pixel[2] = ((((data[2] - 33) & 0x3) << 6) | ((data[3] - 33))); \
data += 4; \
}
Access a pixel of the image and move the data pointer forward.
char* hw32_header_data = "" [static] |
The image data is encoded as a C string.
1.7.6.1