13#ifndef __BLIT_SCAN_H__
14#define __BLIT_SCAN_H__
73#define BLIT_SCAN_DEFINE(name, width, height) \
74 blit_scanline_t name##_store[(((width) + 7) >> 3) * (height)]; \
75 struct blit_scan name = {name##_store, (width), (height), ((width) + 7) >> 3}
90#define BLIT_SCAN_DEFINE_STATIC(name, width, height) \
91 static blit_scanline_t name##_store[(((width) + 7) >> 3) * (height)]; \
92 static struct blit_scan name = {name##_store, (width), (height), ((width) + 7) >> 3}
uint8_t blit_scanline_t
Type definition for a scanline element.
int height
Height of the scanline buffer in pixels.
int stride
Stride of the scanline buffer.
int width
Width of the scanline buffer in pixels.
blit_scanline_t * store
Pointer to the scanline data buffer.