oem310.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:7k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /* OEM Data for 310/325 series */
  2. const UCHAR SiS310_CRT2DelayCompensation1 = 0x04; /* 301A */
  3. const UCHAR SiS310_LCDDelayCompensation1[] =
  4. {
  5.  0x00,0x00,0x00,    /*   800x600 */
  6.  0x0b,0x0b,0x0b,    /*  1024x768 */
  7.  0x08,0x08,0x08,    /* 1280x1024 */
  8.  0x00,0x00,0x00,    /*   640x480 (unknown) */
  9.  0x00,0x00,0x00,    /*  1024x600 (unknown) */
  10.  0x00,0x00,0x00,    /*  1152x864 (unknown) */
  11.  0x08,0x08,0x08,    /*  1280x960 (guessed) */
  12.  0x00,0x00,0x00,    /*  1152x768 (unknown) */
  13.  0x08,0x08,0x08,    /* 1400x1050 */
  14.  0x08,0x08,0x08,    /*  1280x768  (guessed) */
  15.  0x00,0x00,0x00,    /* 1600x1200 */
  16.  0x00,0x00,0x00,    /*   320x480 (unknown) */
  17.  0x00,0x00,0x00,
  18.  0x00,0x00,0x00,
  19.  0x00,0x00,0x00
  20. };
  21. const UCHAR SiS310_TVDelayCompensation1[] =
  22. {
  23.   0x02,0x02,    /* NTSC Enhanced, Standard */
  24.                   0x02,0x02,    /* PAL */
  25.   0x08,0x0b     /* HiVision */
  26. };
  27. const UCHAR SiS310_CRT2DelayCompensation2 = 0x00;   /* TW: From 650/301LV BIOS; was 0x0C; */      /* 301B */
  28. UCHAR SiS310_LCDDelayCompensation2[] =
  29. {
  30.   0x01,0x01,0x01,    /*   800x600 */
  31.   0x01,0x01,0x01,    /*  1024x768 */
  32.   0x01,0x01,0x01,    /* 1280x1024 */
  33.                   0x01,0x01,0x01,    /*   640x480 (unknown) */
  34.   0x01,0x01,0x01,    /*  1024x600 (unknown) */
  35.   0x01,0x01,0x01,    /*  1152x864 (unknown) */
  36.   0x01,0x01,0x01,    /*  1280x960 (guessed) */
  37.   0x01,0x01,0x01,    /*  1152x768 (unknown) */
  38.   0x01,0x01,0x01,    /* 1400x1050 */
  39.   0x08,0x08,0x08,    /*  1280x768  (guessed) */
  40.   0x01,0x01,0x01,    /* 1600x1200 */
  41.   0x02,0x02,0x02,
  42.   0x02,0x02,0x02,
  43.   0x02,0x02,0x02,
  44.   0x02,0x02,0x02
  45. };
  46. const UCHAR SiS310_TVDelayCompensation2[] =
  47. {
  48.   0x03,0x03,        /* TW: From 650/301LVx 1.10.6s BIOS */
  49.   0x03,0x03,
  50.   0x03,0x03
  51. #if 0
  52.   0x03,0x03,        /* NTSC Enhanced, Standard */
  53.                   0x03,0x03,        /* PAL */
  54.   0x08,0x0b         /* HiVision */
  55. #endif
  56. };
  57. const UCHAR SiS310_CRT2DelayCompensation3 = 0x00;   /* LVDS */
  58. const UCHAR SiS310_LCDDelayCompensation3[] =
  59. {
  60.                    0x00,0x00,0x00,    /*   800x600 */
  61.    0x00,0x00,0x00,    /*  1024x768 */
  62.    0x00,0x00,0x00,    /* 1280x1024 */
  63.    0x00,0x00,0x00,    /*   640x480 (unknown) */
  64.    0x00,0x00,0x00,    /*  1024x600 (unknown) */
  65.    0x00,0x00,0x00,    /*  1152x864 (unknown) */
  66.    0x00,0x00,0x00,    /*  1280x960 (guessed) */
  67.    0x00,0x00,0x00,    /*  1152x768 (unknown) */
  68.    0x00,0x00,0x00,    /* 1400x1050 */
  69.    0x00,0x00,0x00,    /*  1280x768  (guessed) */
  70.    0x00,0x00,0x00,    /* 1600x1200 */
  71.    0x00,0x00,0x00,
  72.    0x00,0x00,0x00,
  73.    0x00,0x00,0x00,
  74.    0x00,0x00,0x00
  75. };
  76. const UCHAR SiS310_TVDelayCompensation3[] =
  77. {
  78.    0x0a,0x0a,
  79.    0x0a,0x0a,
  80.    0x0a,0x0a
  81. };
  82. const UCHAR SiS310_TVAntiFlick1[3][2] =
  83. {
  84.             {0x4,0x0},
  85.     {0x4,0x8},
  86.     {0x0,0x0}
  87. };
  88. const UCHAR SiS310_TVEdge1[3][2] =
  89. {
  90.             {0x0,0x4},
  91.     {0x0,0x4},
  92.     {0x0,0x0}
  93. };
  94. const UCHAR SiS310_TVYFilter1[3][8][4] =
  95. {
  96.  {
  97. {0x00,0xf4,0x10,0x38},
  98. {0x00,0xf4,0x10,0x38},
  99. {0xeb,0x04,0x25,0x18},
  100. {0xf1,0x04,0x1f,0x18},
  101. {0x00,0xf4,0x10,0x38},
  102. {0xeb,0x04,0x25,0x18},
  103. {0xee,0x0c,0x22,0x08},
  104. {0xeb,0x15,0x25,0xf6}
  105.  },
  106.  {
  107. {0x00,0xf4,0x10,0x38},
  108. {0x00,0xf4,0x10,0x38},
  109. {0xf1,0xf7,0x1f,0x32},
  110. {0xf3,0x00,0x1d,0x20},
  111. {0x00,0xf4,0x10,0x38},
  112. {0xf1,0xf7,0x1f,0x32},
  113. {0xf3,0x00,0x1d,0x20},
  114. {0xfc,0xfb,0x14,0x2a}
  115.  },
  116.  {
  117. {0x00,0x00,0x00,0x00},
  118. {0x00,0xf4,0x10,0x38},
  119. {0x00,0xf4,0x10,0x38},
  120. {0xeb,0x04,0x25,0x18},
  121. {0xf7,0x06,0x19,0x14},
  122. {0x00,0xf4,0x10,0x38},
  123. {0xeb,0x04,0x25,0x18},
  124. {0xee,0x0c,0x22,0x08}
  125.  }
  126. };
  127. const UCHAR SiS310_TVYFilter2[3][9][7] =
  128. {
  129.  {
  130. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  131. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  132. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  133. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  134. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  135. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  136. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  137. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  138. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  139.  },
  140.  {
  141. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  142. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  143. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  144. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  145. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  146. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  147. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  148. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  149. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  150.  },
  151.  {
  152. {0x00,0x00,0x00,0xF4,0xFF,0x1C,0x22},
  153. {0x00,0x00,0x00,0xF4,0xFF,0x1C,0x22},
  154. {0x00,0x00,0x00,0xF4,0xFF,0x1C,0x22},
  155. {0x00,0x00,0x00,0xF4,0xFF,0x1C,0x22},
  156. {0x00,0x00,0x00,0xF4,0xFF,0x1C,0x22},
  157. {0x00,0x00,0x00,0xF4,0xFF,0x1C,0x22},
  158. {0x00,0x00,0x00,0xF4,0xFF,0x1C,0x22},
  159. {0x00,0x00,0x00,0xF4,0xFF,0x1C,0x22}
  160.  }
  161. };
  162. const UCHAR SiS310_PALMFilter[17][4] =
  163. {
  164. {0x00,0xf4,0x10,0x38},
  165. {0x00,0xf4,0x10,0x38},
  166. {0xeb,0x04,0x10,0x18},
  167. {0xf7,0x06,0x19,0x14},
  168. {0x00,0xf4,0x10,0x38},
  169. {0xeb,0x04,0x25,0x18},
  170. {0xeb,0x04,0x25,0x18},
  171. {0xeb,0x15,0x25,0xf6},
  172. {0xeb,0x04,0x25,0x18},
  173. {0xeb,0x04,0x25,0x18},
  174. {0xeb,0x04,0x25,0x18},
  175. {0xeb,0x04,0x25,0x18},
  176. {0xeb,0x04,0x25,0x18},
  177. {0xeb,0x04,0x25,0x18},
  178. {0xeb,0x04,0x25,0x18},
  179. {0xeb,0x04,0x25,0x18},
  180. {0xff,0xff,0xff,0xff}
  181. };
  182. const UCHAR SiS310_PALNFilter[17][4] =
  183. {
  184. {0x00,0xf4,0x10,0x38},
  185. {0x00,0xf4,0x10,0x38},
  186. {0xeb,0x04,0x10,0x18},
  187. {0xf7,0x06,0x19,0x14},
  188. {0x00,0xf4,0x10,0x38},
  189. {0xeb,0x04,0x25,0x18},
  190. {0xeb,0x04,0x25,0x18},
  191. {0xeb,0x15,0x25,0xf6},
  192. {0xeb,0x04,0x25,0x18},
  193. {0xeb,0x04,0x25,0x18},
  194. {0xeb,0x04,0x25,0x18},
  195. {0xeb,0x04,0x25,0x18},
  196. {0xeb,0x04,0x25,0x18},
  197. {0xeb,0x04,0x25,0x18},
  198. {0xeb,0x04,0x25,0x18},
  199. {0xeb,0x04,0x25,0x18},
  200. {0xff,0xff,0xff,0xff}
  201. };
  202. const UCHAR SiS310_PALMFilter2[9][7] =
  203. {
  204. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  205. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  206. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  207. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  208. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  209. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  210. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  211. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  212. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  213. };
  214. const UCHAR SiS310_PALNFilter2[9][7] =
  215. {
  216. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  217. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  218. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  219. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  220. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  221. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  222. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  223. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  224. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  225. };
  226. const UCHAR SiS310_TVPhaseIncr1[3][2][4]=
  227. {
  228.  {
  229. {0x21,0xed,0xba,0x08},
  230. {0x21,0xed,0xba,0x08}
  231.  },
  232.  {
  233. {0x2a,0x05,0xe3,0x00},
  234. {0x2a,0x05,0xe3,0x00}
  235.  },
  236.  {
  237. {0x2a,0x05,0xd3,0x00},
  238. {0x2a,0x05,0xd3,0x00}
  239.  }
  240. };
  241. const UCHAR SiS310_TVPhaseIncr2[3][2][4]=
  242. {
  243.  {
  244. {0x1e,0x8b,0xda,0xa7},   /* {0x21,0xF1,0x37,0x56}, - new (1.10.6s) */
  245. {0x1e,0x8b,0xda,0xa7}    /* {0x21,0xF1,0x37,0x56} */
  246.  },
  247.  {
  248. {0x2a,0x0a,0x41,0xe9},   /* {0x2a,0x09,0x86,0xe9}, */
  249. {0x2a,0x0a,0x41,0xe9}    /* {0x2a,0x09,0x86,0xe9} */
  250.  },
  251.  {
  252. {0x2a,0x05,0xd3,0x00},
  253. {0x2a,0x05,0xd3,0x00}
  254.  }
  255. };