ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Graphics::ColorMasks< 565 > Struct Template Reference

#include <colormasks.h>

List of all members.

Public Types

enum  {
  kHighBitsMask = 0xF7DEF7DE, kLowBitsMask = 0x08210821, qhighBits = 0xE79CE79C, qlowBits = 0x18631863,
  kBytesPerPixel = 2, kAlphaBits = 0, kRedBits = 5, kGreenBits = 6,
  kBlueBits = 5, kAlphaShift = 0, kRedShift = kGreenBits+kBlueBits, kGreenShift = kBlueBits,
  kBlueShift = 0, kAlphaMask = ((1 << kAlphaBits) - 1) << kAlphaShift, kRedMask = ((1 << kRedBits) - 1) << kRedShift, kGreenMask = ((1 << kGreenBits) - 1) << kGreenShift,
  kBlueMask = ((1 << kBlueBits) - 1) << kBlueShift, kRedBlueMask = kRedMask | kBlueMask, kLowBits = (1 << kRedShift) | (1 << kGreenShift) | (1 << kBlueShift), kLow2Bits = (3 << kRedShift) | (3 << kGreenShift) | (3 << kBlueShift),
  kLow3Bits = (7 << kRedShift) | (7 << kGreenShift) | (7 << kBlueShift)
}
typedef uint16 PixelType

Detailed Description

template<>
struct Graphics::ColorMasks< 565 >

Definition at line 68 of file colormasks.h.


Member Typedef Documentation

Definition at line 100 of file colormasks.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
kHighBitsMask 
kLowBitsMask 
qhighBits 
qlowBits 
kBytesPerPixel 
kAlphaBits 
kRedBits 
kGreenBits 
kBlueBits 
kAlphaShift 
kRedShift 
kGreenShift 
kBlueShift 
kAlphaMask 
kRedMask 
kGreenMask 
kBlueMask 
kRedBlueMask 
kLowBits 
kLow2Bits 
kLow3Bits 

Definition at line 69 of file colormasks.h.


The documentation for this struct was generated from the following file:


Generated on Sat Sep 14 2019 05:04:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge