Beatmup
mask_bitmap_access.h File Reference
#include "abstract_bitmap.h"
#include "../exception.h"
#include "pixel_arithmetic.h"

Go to the source code of this file.

Classes

class  Beatmup::MaskScanner< num_bits >
 A generic to access mask bitmap data. More...
 
class  Beatmup::LookupMaskScanner< num_bits, lookup >
 A generic to access sub-byte mask bitmap data. More...
 
class  Beatmup::LookupMaskWriter< num_bits, lookup >
 A generic to write mask bitmap data lookup tables for masks values. More...
 
class  Beatmup::SingleByteMaskReader
 Mask reqding interface to single byte bitmap. More...
 
class  Beatmup::SingleByteMaskWriter
 

Namespaces

 Beatmup
 

Typedefs

typedef LookupMaskScanner< 1, MASK_LUT_1_BIT > Beatmup::BinaryMaskReader
 
typedef LookupMaskScanner< 2, MASK_LUT_2_BITS > Beatmup::QuaternaryMaskReader
 
typedef LookupMaskScanner< 4, MASK_LUT_4_BITS > Beatmup::HexMaskReader
 
typedef LookupMaskWriter< 1, MASK_LUT_1_BIT > Beatmup::BinaryMaskWriter
 
typedef LookupMaskWriter< 2, MASK_LUT_2_BITS > Beatmup::QuaternaryMaskWriter
 
typedef LookupMaskWriter< 4, MASK_LUT_4_BITS > Beatmup::HexMaskWriter
 

Variables

const int Beatmup::MASK_LUT_1_BIT [2] = { 0, 255 }
 
const int Beatmup::MASK_LUT_2_BITS [4] = { 0, 85, 170, 255 }
 
const int Beatmup::MASK_LUT_4_BITS [16] = { 0, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255 }