p4est  1.0
Defines | Variables
example/steps/hw32.h File Reference

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

This graph shows which files directly or indirectly include this file:

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.

Detailed Description

This file containts the image data used in the step1 example.


Define Documentation

#define HW32_HEADER_PIXEL (   data,
  pixel 
)
Value:
{\
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.


Variable Documentation

char* hw32_header_data = "" [static]

The image data is encoded as a C string.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines