p4est  1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
hw32.h File Reference

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

Go to the source code of this file.

Macros

#define HW32_HEADER_PIXEL(data, pixel)
 Access a pixel of the image and move the data pointer forward. More...
 

Variables

static const char * hw32_header_data
 The image data is encoded as a C string. More...
 

Detailed Description

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

Macro Definition 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

const char* hw32_header_data
static

The image data is encoded as a C string.