movpal.h
上传用户:wstnjxml
上传日期:2014-04-03
资源大小:7248k
文件大小:7k
源码类别:

Windows CE

开发平台:

C/C++

  1. /*****************************************************************************
  2.  *
  3.  * This program is free software ; you can redistribute it and/or modify
  4.  * it under the terms of the GNU General Public License as published by
  5.  * the Free Software Foundation; either version 2 of the License,or
  6.  * (at your option) any later version.
  7.  *
  8.  * This program is distributed in the hope that it will be useful,
  9.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11.  * GNU General Public License for more details.
  12.  *
  13.  * You should have received a copy of the GNU General Public License
  14.  * along with this program; if not,write to the Free Software
  15.  * Foundation,Inc.,59 Temple Place,Suite 330,Boston,MA  02111-1307 USA
  16.  *
  17.  * $Id: movpal.h 336 2005-11-08 16:02:34Z picard $
  18.  *
  19.  * The Core Pocket Media Player
  20.  * Copyright (c) 2004-2005 Gabor Kovacs
  21.  *
  22.  ****************************************************************************/
  23. #ifndef __MOVPAL_H
  24. #define __MOVPAL_H
  25. static const rgbval_t MovPal[4+16+256] = 
  26. {
  27. //2 bits
  28. CRGB(0x93,0x65,0x5E),CRGB(0xFF,0xFF,0xFF),CRGB(0xDF,0xD0,0xAB),CRGB(0x00,0x00,0x00), 
  29. //4 bits
  30. CRGB(0xFF,0xFB,0xFF),CRGB(0xEF,0xD9,0xBB),CRGB(0xE8,0xC9,0xB1),CRGB(0x93,0x65,0x5E),
  31. CRGB(0xFC,0xDE,0xE8),CRGB(0x9D,0x88,0x91),CRGB(0xFF,0xFF,0xFF),CRGB(0xFF,0xFF,0xFF),
  32. CRGB(0xFF,0xFF,0xFF),CRGB(0x47,0x48,0x37),CRGB(0x7A,0x5E,0x55),CRGB(0xDF,0xD0,0xAB),
  33. CRGB(0xFF,0xFB,0xF9),CRGB(0xE8,0xCA,0xC5),CRGB(0x8A,0x7C,0x77),CRGB(0x00,0x00,0x00), 
  34. //8 bits
  35. CRGB(0xFF,0xFF,0xFF),CRGB(0xFF,0xFF,0xCC),CRGB(0xFF,0xFF,0x99),CRGB(0xFF,0xFF,0x66),
  36. CRGB(0xFF,0xFF,0x33),CRGB(0xFF,0xFF,0x00),CRGB(0xFF,0xCC,0xFF),CRGB(0xFF,0xCC,0xCC),
  37. CRGB(0xFF,0xCC,0x99),CRGB(0xFF,0xCC,0x66),CRGB(0xFF,0xCC,0x33),CRGB(0xFF,0xCC,0x00),
  38. CRGB(0xFF,0x99,0xFF),CRGB(0xFF,0x99,0xCC),CRGB(0xFF,0x99,0x99),CRGB(0xFF,0x99,0x66),
  39. CRGB(0xFF,0x99,0x33),CRGB(0xFF,0x99,0x00),CRGB(0xFF,0x66,0xFF),CRGB(0xFF,0x66,0xCC),
  40. CRGB(0xFF,0x66,0x99),CRGB(0xFF,0x66,0x66),CRGB(0xFF,0x66,0x33),CRGB(0xFF,0x66,0x00),
  41. CRGB(0xFF,0x33,0xFF),CRGB(0xFF,0x33,0xCC),CRGB(0xFF,0x33,0x99),CRGB(0xFF,0x33,0x66),
  42. CRGB(0xFF,0x33,0x33),CRGB(0xFF,0x33,0x00),CRGB(0xFF,0x00,0xFF),CRGB(0xFF,0x00,0xCC),
  43. CRGB(0xFF,0x00,0x99),CRGB(0xFF,0x00,0x66),CRGB(0xFF,0x00,0x33),CRGB(0xFF,0x00,0x00),
  44. CRGB(0xCC,0xFF,0xFF),CRGB(0xCC,0xFF,0xCC),CRGB(0xCC,0xFF,0x99),CRGB(0xCC,0xFF,0x66),
  45. CRGB(0xCC,0xFF,0x33),CRGB(0xCC,0xFF,0x00),CRGB(0xCC,0xCC,0xFF),CRGB(0xCC,0xCC,0xCC),
  46. CRGB(0xCC,0xCC,0x99),CRGB(0xCC,0xCC,0x66),CRGB(0xCC,0xCC,0x33),CRGB(0xCC,0xCC,0x00),
  47. CRGB(0xCC,0x99,0xFF),CRGB(0xCC,0x99,0xCC),CRGB(0xCC,0x99,0x99),CRGB(0xCC,0x99,0x66),
  48. CRGB(0xCC,0x99,0x33),CRGB(0xCC,0x99,0x00),CRGB(0xCC,0x66,0xFF),CRGB(0xCC,0x66,0xCC),
  49. CRGB(0xCC,0x66,0x99),CRGB(0xCC,0x66,0x66),CRGB(0xCC,0x66,0x33),CRGB(0xCC,0x66,0x00),
  50. CRGB(0xCC,0x33,0xFF),CRGB(0xCC,0x33,0xCC),CRGB(0xCC,0x33,0x99),CRGB(0xCC,0x33,0x66),
  51. CRGB(0xCC,0x33,0x33),CRGB(0xCC,0x33,0x00),CRGB(0xCC,0x00,0xFF),CRGB(0xCC,0x00,0xCC),
  52. CRGB(0xCC,0x00,0x99),CRGB(0xCC,0x00,0x66),CRGB(0xCC,0x00,0x33),CRGB(0xCC,0x00,0x00),
  53. CRGB(0x99,0xFF,0xFF),CRGB(0x99,0xFF,0xCC),CRGB(0x99,0xFF,0x99),CRGB(0x99,0xFF,0x66),
  54. CRGB(0x99,0xFF,0x33),CRGB(0x99,0xFF,0x00),CRGB(0x99,0xCC,0xFF),CRGB(0x99,0xCC,0xCC),
  55. CRGB(0x99,0xCC,0x99),CRGB(0x99,0xCC,0x66),CRGB(0x99,0xCC,0x33),CRGB(0x99,0xCC,0x00),
  56. CRGB(0x99,0x99,0xFF),CRGB(0x99,0x99,0xCC),CRGB(0x99,0x99,0x99),CRGB(0x99,0x99,0x66),
  57. CRGB(0x99,0x99,0x33),CRGB(0x99,0x99,0x00),CRGB(0x99,0x66,0xFF),CRGB(0x99,0x66,0xCC),
  58. CRGB(0x99,0x66,0x99),CRGB(0x99,0x66,0x66),CRGB(0x99,0x66,0x33),CRGB(0x99,0x66,0x00),
  59. CRGB(0x99,0x33,0xFF),CRGB(0x99,0x33,0xCC),CRGB(0x99,0x33,0x99),CRGB(0x99,0x33,0x66),
  60. CRGB(0x99,0x33,0x33),CRGB(0x99,0x33,0x00),CRGB(0x99,0x00,0xFF),CRGB(0x99,0x00,0xCC),
  61. CRGB(0x99,0x00,0x99),CRGB(0x99,0x00,0x66),CRGB(0x99,0x00,0x33),CRGB(0x99,0x00,0x00),
  62. CRGB(0x66,0xFF,0xFF),CRGB(0x66,0xFF,0xCC),CRGB(0x66,0xFF,0x99),CRGB(0x66,0xFF,0x66),
  63. CRGB(0x66,0xFF,0x33),CRGB(0x66,0xFF,0x00),CRGB(0x66,0xCC,0xFF),CRGB(0x66,0xCC,0xCC),
  64. CRGB(0x66,0xCC,0x99),CRGB(0x66,0xCC,0x66),CRGB(0x66,0xCC,0x33),CRGB(0x66,0xCC,0x00),
  65. CRGB(0x66,0x99,0xFF),CRGB(0x66,0x99,0xCC),CRGB(0x66,0x99,0x99),CRGB(0x66,0x99,0x66),
  66. CRGB(0x66,0x99,0x33),CRGB(0x66,0x99,0x00),CRGB(0x66,0x66,0xFF),CRGB(0x66,0x66,0xCC),
  67. CRGB(0x66,0x66,0x99),CRGB(0x66,0x66,0x66),CRGB(0x66,0x66,0x33),CRGB(0x66,0x66,0x00),
  68. CRGB(0x66,0x33,0xFF),CRGB(0x66,0x33,0xCC),CRGB(0x66,0x33,0x99),CRGB(0x66,0x33,0x66),
  69. CRGB(0x66,0x33,0x33),CRGB(0x66,0x33,0x00),CRGB(0x66,0x00,0xFF),CRGB(0x66,0x00,0xCC),
  70. CRGB(0x66,0x00,0x99),CRGB(0x66,0x00,0x66),CRGB(0x66,0x00,0x33),CRGB(0x66,0x00,0x00),
  71. CRGB(0x33,0xFF,0xFF),CRGB(0x33,0xFF,0xCC),CRGB(0x33,0xFF,0x99),CRGB(0x33,0xFF,0x66),
  72. CRGB(0x33,0xFF,0x33),CRGB(0x33,0xFF,0x00),CRGB(0x33,0xCC,0xFF),CRGB(0x33,0xCC,0xCC),
  73. CRGB(0x33,0xCC,0x99),CRGB(0x33,0xCC,0x66),CRGB(0x33,0xCC,0x33),CRGB(0x33,0xCC,0x00),
  74. CRGB(0x33,0x99,0xFF),CRGB(0x33,0x99,0xCC),CRGB(0x33,0x99,0x99),CRGB(0x33,0x99,0x66),
  75. CRGB(0x33,0x99,0x33),CRGB(0x33,0x99,0x00),CRGB(0x33,0x66,0xFF),CRGB(0x33,0x66,0xCC),
  76. CRGB(0x33,0x66,0x99),CRGB(0x33,0x66,0x66),CRGB(0x33,0x66,0x33),CRGB(0x33,0x66,0x00),
  77. CRGB(0x33,0x33,0xFF),CRGB(0x33,0x33,0xCC),CRGB(0x33,0x33,0x99),CRGB(0x33,0x33,0x66),
  78. CRGB(0x33,0x33,0x33),CRGB(0x33,0x33,0x00),CRGB(0x33,0x00,0xFF),CRGB(0x33,0x00,0xCC),
  79. CRGB(0x33,0x00,0x99),CRGB(0x33,0x00,0x66),CRGB(0x33,0x00,0x33),CRGB(0x33,0x00,0x00),
  80. CRGB(0x00,0xFF,0xFF),CRGB(0x00,0xFF,0xCC),CRGB(0x00,0xFF,0x99),CRGB(0x00,0xFF,0x66),
  81. CRGB(0x00,0xFF,0x33),CRGB(0x00,0xFF,0x00),CRGB(0x00,0xCC,0xFF),CRGB(0x00,0xCC,0xCC),
  82. CRGB(0x00,0xCC,0x99),CRGB(0x00,0xCC,0x66),CRGB(0x00,0xCC,0x33),CRGB(0x00,0xCC,0x00),
  83. CRGB(0x00,0x99,0xFF),CRGB(0x00,0x99,0xCC),CRGB(0x00,0x99,0x99),CRGB(0x00,0x99,0x66),
  84. CRGB(0x00,0x99,0x33),CRGB(0x00,0x99,0x00),CRGB(0x00,0x66,0xFF),CRGB(0x00,0x66,0xCC),
  85. CRGB(0x00,0x66,0x99),CRGB(0x00,0x66,0x66),CRGB(0x00,0x66,0x33),CRGB(0x00,0x66,0x00),
  86. CRGB(0x00,0x33,0xFF),CRGB(0x00,0x33,0xCC),CRGB(0x00,0x33,0x99),CRGB(0x00,0x33,0x66),
  87. CRGB(0x00,0x33,0x33),CRGB(0x00,0x33,0x00),CRGB(0x00,0x00,0xFF),CRGB(0x00,0x00,0xCC),
  88. CRGB(0x00,0x00,0x99),CRGB(0x00,0x00,0x66),CRGB(0x00,0x00,0x33),CRGB(0xEE,0x00,0x00),
  89. CRGB(0xDD,0x00,0x00),CRGB(0xBB,0x00,0x00),CRGB(0xAA,0x00,0x00),CRGB(0x88,0x00,0x00),
  90. CRGB(0x77,0x00,0x00),CRGB(0x55,0x00,0x00),CRGB(0x44,0x00,0x00),CRGB(0x22,0x00,0x00),
  91. CRGB(0x11,0x00,0x00),CRGB(0x00,0xEE,0x00),CRGB(0x00,0xDD,0x00),CRGB(0x00,0xBB,0x00),
  92. CRGB(0x00,0xAA,0x00),CRGB(0x00,0x88,0x00),CRGB(0x00,0x77,0x00),CRGB(0x00,0x55,0x00),
  93. CRGB(0x00,0x44,0x00),CRGB(0x00,0x22,0x00),CRGB(0x00,0x11,0x00),CRGB(0x00,0x00,0xEE),
  94. CRGB(0x00,0x00,0xDD),CRGB(0x00,0x00,0xBB),CRGB(0x00,0x00,0xAA),CRGB(0x00,0x00,0x88),
  95. CRGB(0x00,0x00,0x77),CRGB(0x00,0x00,0x55),CRGB(0x00,0x00,0x44),CRGB(0x00,0x00,0x22),
  96. CRGB(0x00,0x00,0x11),CRGB(0xEE,0xEE,0xEE),CRGB(0xDD,0xDD,0xDD),CRGB(0xBB,0xBB,0xBB),
  97. CRGB(0xAA,0xAA,0xAA),CRGB(0x88,0x88,0x88),CRGB(0x77,0x77,0x77),CRGB(0x55,0x55,0x55),
  98. CRGB(0x44,0x44,0x44),CRGB(0x22,0x22,0x22),CRGB(0x11,0x11,0x11),CRGB(0x00,0x00,0x00)
  99. };
  100. #endif