#include <assert.h>
Go to the source code of this file.
|
#define | BLEND16_50(d, s, mask) ((((s & mask) + (d & mask)) >> 1) + (s & d & (~mask & 0xffff))) |
|
#define | BLEND2x16_50(d, s, mask) |
|
|
template<const int BPP> |
static Uint32 | DRAW::GetPixel (const void *const pixels, unsigned int index) |
|
template<const int BPP> |
static void | DRAW::PutPixel (void *const pixels, unsigned int index, Uint32 color) |
|
template<const int BPP> |
static void | DRAW::PutPixelDouble (void *pixels, const unsigned int index, Uint32 color) |
|
template<const int BPP> |
static void | DRAW::PutPixelQuatro (void *pixels, unsigned int index, Uint32 color) |
|
template<const int BPP> |
static void | DRAW::DrawHLine (void *pixels, unsigned int index, int width, Uint32 color) |
|
◆ BLEND16_50
#define BLEND16_50 |
( |
|
d, |
|
|
|
s, |
|
|
|
mask |
|
) |
| ((((s & mask) + (d & mask)) >> 1) + (s & d & (~mask & 0xffff))) |
◆ BLEND2x16_50
#define BLEND2x16_50 |
( |
|
d, |
|
|
|
s, |
|
|
|
mask |
|
) |
| |
Value: (((s & (mask | mask << 16)) >> 1) + ((d & (mask | mask << 16)) >> 1) \
+ (s & d & (~(mask | mask << 16))))
◆ Primitive16_555_t
◆ Primitive16_565_t
◆ Primitive32_t
(C) Copyright 1998-2012 by The