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.

125 lines
3.1 KiB

  1. /* *************************************************************************
  2. ** INTEL Corporation Proprietary Information
  3. **
  4. ** This listing is supplied under the terms of a license
  5. ** agreement with INTEL Corporation and may not be copied
  6. ** nor disclosed except in accordance with the terms of
  7. ** that agreement.
  8. **
  9. ** Copyright (c) 1995 Intel Corporation.
  10. ** All Rights Reserved.
  11. **
  12. ** *************************************************************************
  13. */
  14. ////////////////////////////////////////////////////////////////////////////
  15. //
  16. // D3COLTBL.H - The color tables need to be declared here in order that the
  17. // assembly object files can find them. If they are declared
  18. // in a CPP file the names will be mangled. This table was
  19. // taken from part of MRV's COLOR.C.
  20. //
  21. // $Header: S:\h26x\src\dec\d3coltbl.h_v 1.7 05 Feb 1996 13:35:44 BNICKERS $
  22. //
  23. // $Log: S:\h26x\src\dec\d3coltbl.h_v $
  24. ;//
  25. ;// Rev 1.7 05 Feb 1996 13:35:44 BNICKERS
  26. ;// Fix RGB16 color flash problem, by allowing different RGB16 formats at oce.
  27. ;//
  28. ;// Rev 1.6 27 Dec 1995 14:36:12 RMCKENZX
  29. ;// Added copyright notice
  30. //
  31. // Rev 1.5 03 Nov 1995 11:49:46 BNICKERS
  32. // Support YUV12 to CLUT8 zoom and non-zoom color conversions.
  33. //
  34. // Rev 1.4 30 Oct 1995 17:15:40 BNICKERS
  35. // Fix color shift in RGB24 color convertors.
  36. //
  37. // Rev 1.3 27 Oct 1995 17:30:58 BNICKERS
  38. // Fix RGB16 color convertors.
  39. //
  40. // Rev 1.2 26 Oct 1995 18:54:40 BNICKERS
  41. // Fix color shift in recent YUV12 to RGB color convertors.
  42. //
  43. // Rev 1.1 25 Oct 1995 18:05:46 BNICKERS
  44. //
  45. // Change to YUV12 color convertors.
  46. //
  47. // Rev 1.0 23 Aug 1995 12:35:12 DBRUCKS
  48. // Initial revision.
  49. #ifndef __D3COLTBL_H__
  50. #define __D3COLTBL_H__
  51. #ifdef __cplusplus
  52. extern "C" {
  53. #endif
  54. typedef struct {
  55. U32 UVDitherLine01[64];
  56. U32 UVDitherLine23[64];
  57. U8 YDither[262];
  58. U8 Padding1[26];
  59. U32 YDitherZ2[256];
  60. #ifdef WIN32
  61. U8 RValLo555[304];
  62. U8 GValLo555[262];
  63. U8 BValLo555[350];
  64. U8 RValHi555[304];
  65. U8 GValHi555[262];
  66. U8 BValHi555[350];
  67. U8 Padding2[216];
  68. U8 RValLo565[304];
  69. U8 GValLo565[262];
  70. U8 BValLo565[350];
  71. U8 RValHi565[304];
  72. U8 GValHi565[262];
  73. U8 BValHi565[350];
  74. U8 Padding3[216];
  75. U8 RValLo655[304];
  76. U8 GValLo655[262];
  77. U8 BValLo655[350];
  78. U8 RValHi655[304];
  79. U8 GValHi655[262];
  80. U8 BValHi655[350];
  81. U8 Padding4[216];
  82. U8 RValLo664[304];
  83. U8 GValLo664[262];
  84. U8 BValLo664[350];
  85. U8 RValHi664[304];
  86. U8 GValHi664[262];
  87. U8 BValHi664[350];
  88. U8 Padding5[24];
  89. U32 UVContrib[512];
  90. U32 RValZ2555[304];
  91. U32 GValZ2555[262];
  92. U32 BValZ2555[350];
  93. U32 Padding6[108];
  94. U32 RValZ2565[304];
  95. U32 GValZ2565[262];
  96. U32 BValZ2565[350];
  97. U32 Padding7[108];
  98. U32 RValZ2655[304];
  99. U32 GValZ2655[262];
  100. U32 BValZ2655[350];
  101. U32 Padding8[108];
  102. U32 RValZ2664[304];
  103. U32 GValZ2664[262];
  104. U32 BValZ2664[350];
  105. U8 Padding9[16];
  106. U8 B24Value[701];
  107. U8 Padding10[3];
  108. U32 UV24Contrib[512];
  109. #endif
  110. int dummy;
  111. } T_H26xColorConvertorTables;
  112. extern T_H26xColorConvertorTables H26xColorConvertorTables;
  113. #ifdef __cplusplus
  114. }
  115. #endif
  116. #endif