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.

130 lines
3.3 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. // D1COLTBL.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\d1coltbl.h_v 1.4 14 Feb 1996 11:57:02 AKASAI $
  22. //
  23. // $Log: S:\h26x\src\dec\d1coltbl.h_v $
  24. ;//
  25. ;// Rev 1.4 14 Feb 1996 11:57:02 AKASAI
  26. ;//
  27. ;// Update for fix to color convertor palette flash.
  28. ;//
  29. ;// Rev 1.3 09 Jan 1996 09:41:52 AKASAI
  30. ;// Updated copyright notice.
  31. ;//
  32. ;// Rev 1.2 15 Nov 1995 14:23:00 AKASAI
  33. ;// New tables for 12-bit color converters. Copied with file name changes
  34. ;// directly from d3coltbl files.
  35. ;// (Integration point)
  36. ;//
  37. ;// Rev 1.5 03 Nov 1995 11:49:46 BNICKERS
  38. ;// Support YUV12 to CLUT8 zoom and non-zoom color conversions.
  39. ;//
  40. ;// Rev 1.4 30 Oct 1995 17:15:40 BNICKERS
  41. ;// Fix color shift in RGB24 color convertors.
  42. ;//
  43. ;// Rev 1.3 27 Oct 1995 17:30:58 BNICKERS
  44. ;// Fix RGB16 color convertors.
  45. ;//
  46. ;// Rev 1.2 26 Oct 1995 18:54:40 BNICKERS
  47. ;// Fix color shift in recent YUV12 to RGB color convertors.
  48. ;//
  49. ;// Rev 1.1 25 Oct 1995 18:05:46 BNICKERS
  50. ;//
  51. ;// Change to YUV12 color convertors.
  52. ;//
  53. ;// Rev 1.0 23 Aug 1995 12:35:12 DBRUCKS
  54. ;// Initial revision.
  55. #ifndef __D1COLTBL_H__
  56. #define __D1COLTBL_H__
  57. #ifdef __cplusplus
  58. extern "C" {
  59. #endif
  60. typedef struct {
  61. U32 UVDitherLine01[64];
  62. U32 UVDitherLine23[64];
  63. U8 YDither[262];
  64. U8 Padding1[26];
  65. U32 YDitherZ2[256];
  66. #ifdef WIN32
  67. U8 RValLo555[304];
  68. U8 GValLo555[262];
  69. U8 BValLo555[350];
  70. U8 RValHi555[304];
  71. U8 GValHi555[262];
  72. U8 BValHi555[350];
  73. U8 Padding2[216];
  74. U8 RValLo565[304];
  75. U8 GValLo565[262];
  76. U8 BValLo565[350];
  77. U8 RValHi565[304];
  78. U8 GValHi565[262];
  79. U8 BValHi565[350];
  80. U8 Padding3[216];
  81. U8 RValLo655[304];
  82. U8 GValLo655[262];
  83. U8 BValLo655[350];
  84. U8 RValHi655[304];
  85. U8 GValHi655[262];
  86. U8 BValHi655[350];
  87. U8 Padding4[216];
  88. U8 RValLo664[304];
  89. U8 GValLo664[262];
  90. U8 BValLo664[350];
  91. U8 RValHi664[304];
  92. U8 GValHi664[262];
  93. U8 BValHi664[350];
  94. U8 Padding5[24];
  95. U32 UVContrib[512];
  96. U32 RValZ2555[304];
  97. U32 GValZ2555[262];
  98. U32 BValZ2555[350];
  99. U32 Padding6[108];
  100. U32 RValZ2565[304];
  101. U32 GValZ2565[262];
  102. U32 BValZ2565[350];
  103. U32 Padding7[108];
  104. U32 RValZ2655[304];
  105. U32 GValZ2655[262];
  106. U32 BValZ2655[350];
  107. U32 Padding8[108];
  108. U32 RValZ2664[304];
  109. U32 GValZ2664[262];
  110. U32 BValZ2664[350];
  111. U8 Padding9[16];
  112. U8 B24Value[701];
  113. U8 Padding10[3];
  114. U32 UV24Contrib[512];
  115. #endif
  116. int dummy;
  117. } T_H26xColorConvertorTables;
  118. extern T_H26xColorConvertorTables H26xColorConvertorTables;
  119. #ifdef __cplusplus
  120. }
  121. #endif
  122. #endif