Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. /**************************************************************************\
  2. *
  3. * Copyright (c) 1999-2000 Microsoft Corporation
  4. *
  5. * Module Name:
  6. *
  7. * HtTables.hpp
  8. *
  9. * Abstract:
  10. *
  11. * Tables for doing halftoning, using Daniel Chou's supercell technique
  12. *
  13. * Created:
  14. *
  15. * 10/29/1999 DCurtis
  16. *
  17. \**************************************************************************/
  18. #ifndef _HTTABLES_HPP
  19. #define _HTTABLES_HPP
  20. typedef struct {
  21. WORD palVersion;
  22. WORD palNumEntries;
  23. PALETTEENTRY palPalEntry[256];
  24. } GDIP_LOGPALETTE256;
  25. extern GDIP_LOGPALETTE256 HTColorPalette;
  26. extern GDIP_LOGPALETTE256 Win9xHalftonePalette;
  27. extern const BYTE GammaTable216[];
  28. extern const BYTE InverseGammaTable216[];
  29. extern const BYTE GammaTable16[];
  30. extern const BYTE InverseGammaTable16[];
  31. extern const BYTE HT_216_8x8[];
  32. extern const BYTE HT_SuperCell_Red216[];
  33. extern const BYTE HT_SuperCell_Green216[];
  34. extern const BYTE HT_SuperCell_Blue216[];
  35. extern const BYTE HT_SuperCell_RedMono[];
  36. extern const BYTE HT_SuperCell_GreenMono[];
  37. extern const BYTE HT_SuperCell_BlueMono[];
  38. #endif // _HTTABLES_HPP