oem300.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. /* $XFree86$ */
  2. /* $XdotOrg$ */
  3. /*
  4. * OEM Data for 300 series
  5. *
  6. * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria
  7. *
  8. * If distributed as part of the Linux kernel, the following license terms
  9. * apply:
  10. *
  11. * * This program is free software; you can redistribute it and/or modify
  12. * * it under the terms of the GNU General Public License as published by
  13. * * the Free Software Foundation; either version 2 of the named License,
  14. * * or any later version.
  15. * *
  16. * * This program is distributed in the hope that it will be useful,
  17. * * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  19. * * GNU General Public License for more details.
  20. * *
  21. * * You should have received a copy of the GNU General Public License
  22. * * along with this program; if not, write to the Free Software
  23. * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
  24. *
  25. * Otherwise, the following license terms apply:
  26. *
  27. * * Redistribution and use in source and binary forms, with or without
  28. * * modification, are permitted provided that the following conditions
  29. * * are met:
  30. * * 1) Redistributions of source code must retain the above copyright
  31. * * notice, this list of conditions and the following disclaimer.
  32. * * 2) Redistributions in binary form must reproduce the above copyright
  33. * * notice, this list of conditions and the following disclaimer in the
  34. * * documentation and/or other materials provided with the distribution.
  35. * * 3) The name of the author may not be used to endorse or promote products
  36. * * derived from this software without specific prior written permission.
  37. * *
  38. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  39. * * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  40. * * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  41. * * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  42. * * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  43. * * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  44. * * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  45. * * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  46. * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  47. * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  48. *
  49. * Author: Thomas Winischhofer <thomas@winischhofer.net>
  50. *
  51. */
  52. static const unsigned char SiS300_OEMTVDelay301[8][4] =
  53. {
  54. {0x08,0x08,0x08,0x08},
  55. {0x08,0x08,0x08,0x08},
  56. {0x08,0x08,0x08,0x08},
  57. {0x2c,0x2c,0x2c,0x2c},
  58. {0x08,0x08,0x08,0x08},
  59. {0x08,0x08,0x08,0x08},
  60. {0x08,0x08,0x08,0x08},
  61. {0x20,0x20,0x20,0x20}
  62. };
  63. static const unsigned char SiS300_OEMTVDelayLVDS[8][4] =
  64. {
  65. {0x20,0x20,0x20,0x20},
  66. {0x20,0x20,0x20,0x20},
  67. {0x20,0x20,0x20,0x20},
  68. {0x20,0x20,0x20,0x20},
  69. {0x20,0x20,0x20,0x20},
  70. {0x20,0x20,0x20,0x20},
  71. {0x20,0x20,0x20,0x20},
  72. {0x20,0x20,0x20,0x20}
  73. };
  74. static const unsigned char SiS300_OEMTVFlicker[8][4] =
  75. {
  76. {0x00,0x00,0x00,0x00},
  77. {0x00,0x00,0x00,0x00},
  78. {0x00,0x00,0x00,0x00},
  79. {0x00,0x00,0x00,0x00},
  80. {0x00,0x00,0x00,0x00},
  81. {0x00,0x00,0x00,0x00},
  82. {0x00,0x00,0x00,0x00},
  83. {0x00,0x00,0x00,0x00}
  84. };
  85. static const unsigned char SiS300_OEMLCDDelay2[64][4] = /* for 301/301b/302b/301LV/302LV */
  86. {
  87. {0x20,0x20,0x20,0x20},
  88. {0x20,0x20,0x20,0x20},
  89. {0x20,0x20,0x20,0x20},
  90. {0x20,0x20,0x20,0x20},
  91. {0x20,0x20,0x20,0x20},
  92. {0x20,0x20,0x20,0x20},
  93. {0x20,0x20,0x20,0x20},
  94. {0x20,0x20,0x20,0x20},
  95. {0x20,0x20,0x20,0x20},
  96. {0x20,0x20,0x20,0x20},
  97. {0x20,0x20,0x20,0x20},
  98. {0x20,0x20,0x20,0x20},
  99. {0x20,0x20,0x20,0x20},
  100. {0x20,0x20,0x20,0x20},
  101. {0x20,0x20,0x20,0x20},
  102. {0x20,0x20,0x20,0x20},
  103. {0x20,0x20,0x20,0x20},
  104. {0x20,0x20,0x20,0x20},
  105. {0x20,0x20,0x20,0x20},
  106. {0x20,0x20,0x20,0x20},
  107. {0x20,0x20,0x20,0x20},
  108. {0x20,0x20,0x20,0x20},
  109. {0x20,0x20,0x20,0x20},
  110. {0x20,0x20,0x20,0x20},
  111. {0x20,0x20,0x20,0x20},
  112. {0x20,0x20,0x20,0x20},
  113. {0x20,0x20,0x20,0x20},
  114. {0x20,0x20,0x20,0x20},
  115. {0x20,0x20,0x20,0x20},
  116. {0x20,0x20,0x20,0x20},
  117. {0x20,0x20,0x20,0x20},
  118. {0x20,0x20,0x20,0x20},
  119. {0x20,0x20,0x20,0x20},
  120. {0x20,0x20,0x20,0x20},
  121. {0x20,0x20,0x20,0x20},
  122. {0x20,0x20,0x20,0x20},
  123. {0x20,0x20,0x20,0x20},
  124. {0x20,0x20,0x20,0x20},
  125. {0x20,0x20,0x20,0x20},
  126. {0x20,0x20,0x20,0x20},
  127. {0x20,0x20,0x20,0x20},
  128. {0x20,0x20,0x20,0x20},
  129. {0x20,0x20,0x20,0x20},
  130. {0x20,0x20,0x20,0x20},
  131. {0x20,0x20,0x20,0x20},
  132. {0x20,0x20,0x20,0x20},
  133. {0x20,0x20,0x20,0x20},
  134. {0x20,0x20,0x20,0x20},
  135. {0x20,0x20,0x20,0x20},
  136. {0x20,0x20,0x20,0x20},
  137. {0x20,0x20,0x20,0x20},
  138. {0x20,0x20,0x20,0x20},
  139. {0x20,0x20,0x20,0x20},
  140. {0x20,0x20,0x20,0x20},
  141. {0x20,0x20,0x20,0x20},
  142. {0x20,0x20,0x20,0x20},
  143. {0x20,0x20,0x20,0x20},
  144. {0x20,0x20,0x20,0x20},
  145. {0x20,0x20,0x20,0x20},
  146. {0x20,0x20,0x20,0x20},
  147. {0x20,0x20,0x20,0x20},
  148. {0x20,0x20,0x20,0x20},
  149. {0x20,0x20,0x20,0x20},
  150. {0x20,0x20,0x20,0x20}
  151. };
  152. static const unsigned char SiS300_OEMLCDDelay4[12][4] =
  153. {
  154. {0x2c,0x2c,0x2c,0x2c},
  155. {0x20,0x20,0x20,0x20},
  156. {0x20,0x20,0x20,0x20},
  157. {0x2c,0x2c,0x2c,0x2c},
  158. {0x2c,0x2c,0x2c,0x2c},
  159. {0x20,0x20,0x20,0x20},
  160. {0x20,0x20,0x20,0x20},
  161. {0x24,0x24,0x24,0x24},
  162. {0x24,0x24,0x24,0x24},
  163. {0x20,0x20,0x20,0x20},
  164. {0x20,0x20,0x20,0x20},
  165. {0x24,0x24,0x24,0x24}
  166. };
  167. static const unsigned char SiS300_OEMLCDDelay5[32][4] =
  168. {
  169. {0x20,0x20,0x20,0x20},
  170. {0x20,0x20,0x20,0x20},
  171. {0x20,0x20,0x20,0x20},
  172. {0x20,0x20,0x20,0x20},
  173. {0x20,0x20,0x20,0x20},
  174. {0x20,0x20,0x20,0x20},
  175. {0x20,0x20,0x20,0x20},
  176. {0x20,0x20,0x20,0x20},
  177. {0x20,0x20,0x20,0x20},
  178. {0x20,0x20,0x20,0x20},
  179. {0x20,0x20,0x20,0x20},
  180. {0x20,0x20,0x20,0x20},
  181. {0x20,0x20,0x20,0x20},
  182. {0x20,0x20,0x20,0x20},
  183. {0x20,0x20,0x20,0x20},
  184. {0x20,0x20,0x20,0x20},
  185. {0x20,0x20,0x20,0x20},
  186. {0x20,0x20,0x20,0x20},
  187. {0x20,0x20,0x20,0x20},
  188. {0x20,0x20,0x20,0x20},
  189. {0x20,0x20,0x20,0x20},
  190. {0x20,0x20,0x20,0x20},
  191. {0x20,0x20,0x20,0x20},
  192. {0x20,0x20,0x20,0x20},
  193. {0x20,0x20,0x20,0x20},
  194. {0x20,0x20,0x20,0x20},
  195. {0x20,0x20,0x20,0x20},
  196. {0x20,0x20,0x20,0x20},
  197. {0x20,0x20,0x20,0x20},
  198. {0x20,0x20,0x20,0x20},
  199. {0x20,0x20,0x20,0x20},
  200. {0x20,0x20,0x20,0x20},
  201. };
  202. static const unsigned char SiS300_OEMLCDDelay3[64][4] = /* For LVDS */
  203. {
  204. {0x20,0x20,0x20,0x20},
  205. {0x20,0x20,0x20,0x20},
  206. {0x20,0x20,0x20,0x20},
  207. {0x20,0x20,0x20,0x20},
  208. {0x20,0x20,0x20,0x20},
  209. {0x20,0x20,0x20,0x20},
  210. {0x20,0x20,0x20,0x20},
  211. {0x20,0x20,0x20,0x20},
  212. {0x20,0x20,0x20,0x20},
  213. {0x20,0x20,0x20,0x20},
  214. {0x20,0x20,0x20,0x20},
  215. {0x20,0x20,0x20,0x20},
  216. {0x20,0x20,0x20,0x20},
  217. {0x20,0x20,0x20,0x20},
  218. {0x20,0x20,0x20,0x20},
  219. {0x20,0x20,0x20,0x20},
  220. {0x20,0x20,0x20,0x20},
  221. {0x20,0x20,0x20,0x20},
  222. {0x20,0x20,0x20,0x20},
  223. {0x20,0x20,0x20,0x20},
  224. {0x20,0x20,0x20,0x20},
  225. {0x20,0x20,0x20,0x20},
  226. {0x20,0x20,0x20,0x20},
  227. {0x20,0x20,0x20,0x20},
  228. {0x20,0x20,0x20,0x20},
  229. {0x20,0x20,0x20,0x20},
  230. {0x20,0x20,0x20,0x20},
  231. {0x20,0x20,0x20,0x20},
  232. {0x20,0x20,0x20,0x20},
  233. {0x20,0x20,0x20,0x20},
  234. {0x20,0x20,0x20,0x20},
  235. {0x20,0x20,0x20,0x20},
  236. {0x20,0x20,0x20,0x20},
  237. {0x20,0x20,0x20,0x20},
  238. {0x20,0x20,0x20,0x20},
  239. {0x20,0x20,0x20,0x20},
  240. {0x20,0x20,0x20,0x20},
  241. {0x20,0x20,0x20,0x20},
  242. {0x20,0x20,0x20,0x20},
  243. {0x20,0x20,0x20,0x20},
  244. {0x20,0x20,0x20,0x20},
  245. {0x20,0x20,0x20,0x20},
  246. {0x20,0x20,0x20,0x20},
  247. {0x20,0x20,0x20,0x20},
  248. {0x20,0x20,0x20,0x20},
  249. {0x20,0x20,0x20,0x20},
  250. {0x20,0x20,0x20,0x20},
  251. {0x20,0x20,0x20,0x20},
  252. {0x20,0x20,0x20,0x20},
  253. {0x20,0x20,0x20,0x20},
  254. {0x20,0x20,0x20,0x20},
  255. {0x20,0x20,0x20,0x20},
  256. {0x20,0x20,0x20,0x20},
  257. {0x20,0x20,0x20,0x20},
  258. {0x20,0x20,0x20,0x20},
  259. {0x20,0x20,0x20,0x20},
  260. {0x20,0x20,0x20,0x20},
  261. {0x20,0x20,0x20,0x20},
  262. {0x20,0x20,0x20,0x20},
  263. {0x20,0x20,0x20,0x20},
  264. {0x20,0x20,0x20,0x20},
  265. {0x20,0x20,0x20,0x20},
  266. {0x20,0x20,0x20,0x20},
  267. {0x20,0x20,0x20,0x20}
  268. };
  269. static const unsigned char SiS300_Phase1[8][5][4] =
  270. {
  271. {
  272. {0x21,0xed,0x00,0x08},
  273. {0x21,0xed,0x8a,0x08},
  274. {0x21,0xed,0x8a,0x08},
  275. {0x21,0xed,0x8a,0x08},
  276. {0x21,0xed,0x8a,0x08}
  277. },
  278. {
  279. {0x2a,0x05,0xd3,0x00},
  280. {0x2a,0x05,0xd3,0x00},
  281. {0x2a,0x05,0xd3,0x00},
  282. {0x2a,0x05,0xd3,0x00},
  283. {0x2a,0x05,0xd3,0x00}
  284. },
  285. {
  286. {0x2a,0x05,0xd3,0x00},
  287. {0x2a,0x05,0xd3,0x00},
  288. {0x2a,0x05,0xd3,0x00},
  289. {0x2a,0x05,0xd3,0x00},
  290. {0x2a,0x05,0xd3,0x00}
  291. },
  292. {
  293. {0x2a,0x05,0xd3,0x00},
  294. {0x2a,0x05,0xd3,0x00},
  295. {0x2a,0x05,0xd3,0x00},
  296. {0x2a,0x05,0xd3,0x00},
  297. {0x2a,0x05,0xd3,0x00}
  298. },
  299. {
  300. {0x21,0xed,0x00,0x08},
  301. {0x21,0xed,0x8a,0x08},
  302. {0x21,0xed,0x8a,0x08},
  303. {0x21,0xed,0x8a,0x08},
  304. {0x21,0xed,0x8a,0x08}
  305. },
  306. {
  307. {0x2a,0x05,0xd3,0x00},
  308. {0x2a,0x05,0xd3,0x00},
  309. {0x2a,0x05,0xd3,0x00},
  310. {0x2a,0x05,0xd3,0x00},
  311. {0x2a,0x05,0xd3,0x00}
  312. },
  313. {
  314. {0x2a,0x05,0xd3,0x00},
  315. {0x2a,0x05,0xd3,0x00},
  316. {0x2a,0x05,0xd3,0x00},
  317. {0x2a,0x05,0xd3,0x00},
  318. {0x2a,0x05,0xd3,0x00}
  319. },
  320. {
  321. {0x2a,0x05,0xd3,0x00},
  322. {0x2a,0x05,0xd3,0x00},
  323. {0x2a,0x05,0xd3,0x00},
  324. {0x2a,0x05,0xd3,0x00},
  325. {0x2a,0x05,0xd3,0x00}
  326. }
  327. };
  328. static const unsigned char SiS300_Phase2[8][5][4] =
  329. {
  330. {
  331. {0x21,0xed,0x00,0x08},
  332. {0x21,0xed,0x8a,0x08},
  333. {0x21,0xed,0x8a,0x08},
  334. {0x21,0xed,0x8a,0x08},
  335. {0x21,0xed,0x8a,0x08}
  336. },
  337. {
  338. {0x2a,0x05,0xd3,0x00},
  339. {0x2a,0x05,0xd3,0x00},
  340. {0x2a,0x05,0xd3,0x00},
  341. {0x2a,0x05,0xd3,0x00},
  342. {0x2a,0x05,0xd3,0x00}
  343. },
  344. {
  345. {0x2a,0x05,0xd3,0x00},
  346. {0x2a,0x05,0xd3,0x00},
  347. {0x2a,0x05,0xd3,0x00},
  348. {0x2a,0x05,0xd3,0x00},
  349. {0x2a,0x05,0xd3,0x00}
  350. },
  351. {
  352. {0x2a,0x05,0xd3,0x00},
  353. {0x2a,0x05,0xd3,0x00},
  354. {0x2a,0x05,0xd3,0x00},
  355. {0x2a,0x05,0xd3,0x00},
  356. {0x2a,0x05,0xd3,0x00}
  357. },
  358. {
  359. {0x21,0xed,0x00,0x08},
  360. {0x21,0xed,0x8a,0x08},
  361. {0x21,0xed,0x8a,0x08},
  362. {0x21,0xed,0x8a,0x08},
  363. {0x21,0xed,0x8a,0x08}
  364. },
  365. {
  366. {0x2a,0x05,0xd3,0x00},
  367. {0x2a,0x05,0xd3,0x00},
  368. {0x2a,0x05,0xd3,0x00},
  369. {0x2a,0x05,0xd3,0x00},
  370. {0x2a,0x05,0xd3,0x00}
  371. },
  372. {
  373. {0x2a,0x05,0xd3,0x00},
  374. {0x2a,0x05,0xd3,0x00},
  375. {0x2a,0x05,0xd3,0x00},
  376. {0x2a,0x05,0xd3,0x00},
  377. {0x2a,0x05,0xd3,0x00}
  378. },
  379. {
  380. {0x2a,0x05,0xd3,0x00},
  381. {0x2a,0x05,0xd3,0x00},
  382. {0x2a,0x05,0xd3,0x00},
  383. {0x2a,0x05,0xd3,0x00},
  384. {0x2a,0x05,0xd3,0x00}
  385. }
  386. };
  387. static const unsigned char SiS300_Filter1[10][16][4] =
  388. {
  389. {
  390. {0x00,0xf4,0x10,0x38},
  391. {0x00,0xf4,0x10,0x38},
  392. {0xeb,0x04,0x10,0x18},
  393. {0xf7,0x06,0x19,0x14},
  394. {0x00,0xf4,0x10,0x38},
  395. {0xeb,0x04,0x25,0x18},
  396. {0xeb,0x04,0x25,0x18},
  397. {0xeb,0x15,0x25,0xf6},
  398. {0xeb,0x04,0x25,0x18},
  399. {0xeb,0x04,0x25,0x18},
  400. {0xeb,0x04,0x25,0x18},
  401. {0xeb,0x04,0x25,0x18},
  402. {0xeb,0x04,0x25,0x18},
  403. {0xeb,0x04,0x25,0x18},
  404. {0xeb,0x04,0x25,0x18},
  405. {0xeb,0x04,0x25,0x18}
  406. },
  407. {
  408. {0x00,0xf4,0x10,0x38},
  409. {0x00,0xf4,0x10,0x38},
  410. {0xf1,0xf7,0x10,0x32},
  411. {0xf3,0x00,0x1d,0x20},
  412. {0x00,0xf4,0x10,0x38},
  413. {0xf1,0xf7,0x1f,0x32},
  414. {0xf1,0xf7,0x1f,0x32},
  415. {0xfc,0xfb,0x14,0x2a},
  416. {0xf1,0xf7,0x1f,0x32},
  417. {0xf1,0xf7,0x1f,0x32},
  418. {0xf1,0xf7,0x1f,0x32},
  419. {0xf1,0xf7,0x1f,0x32},
  420. {0xf1,0xf7,0x1f,0x32},
  421. {0xf1,0xf7,0x1f,0x32},
  422. {0xf1,0xf7,0x1f,0x32},
  423. {0xf1,0xf7,0x1f,0x32}
  424. },
  425. {
  426. {0x00,0xf4,0x10,0x38},
  427. {0x00,0xf4,0x10,0x38},
  428. {0xf1,0xf7,0x10,0x32},
  429. {0xf3,0x00,0x1d,0x20},
  430. {0x00,0xf4,0x10,0x38},
  431. {0xf1,0xf7,0x1f,0x32},
  432. {0xf1,0xf7,0x1f,0x32},
  433. {0xfc,0xfb,0x14,0x2a},
  434. {0xf1,0xf7,0x1f,0x32},
  435. {0xf1,0xf7,0x1f,0x32},
  436. {0xf1,0xf7,0x1f,0x32},
  437. {0xf1,0xf7,0x1f,0x32},
  438. {0xf1,0xf7,0x1f,0x32},
  439. {0xf1,0xf7,0x1f,0x32},
  440. {0xf1,0xf7,0x1f,0x32},
  441. {0xf1,0xf7,0x1f,0x32}
  442. },
  443. {
  444. {0x00,0xf4,0x10,0x38},
  445. {0x00,0xf4,0x10,0x38},
  446. {0xf1,0xf7,0x10,0x32},
  447. {0xf3,0x00,0x1d,0x20},
  448. {0x00,0xf4,0x10,0x38},
  449. {0xf1,0xf7,0x1f,0x32},
  450. {0xf1,0xf7,0x1f,0x32},
  451. {0xfc,0xfb,0x14,0x2a},
  452. {0xf1,0xf7,0x1f,0x32},
  453. {0xf1,0xf7,0x1f,0x32},
  454. {0xf1,0xf7,0x1f,0x32},
  455. {0xf1,0xf7,0x1f,0x32},
  456. {0xf1,0xf7,0x1f,0x32},
  457. {0xf1,0xf7,0x1f,0x32},
  458. {0xf1,0xf7,0x1f,0x32},
  459. {0xf1,0xf7,0x1f,0x32}
  460. },
  461. {
  462. {0x00,0xf4,0x10,0x38},
  463. {0x00,0xf4,0x10,0x38},
  464. {0xeb,0x04,0x10,0x18},
  465. {0xf7,0x06,0x19,0x14},
  466. {0x00,0xf4,0x10,0x38},
  467. {0xeb,0x04,0x25,0x18},
  468. {0xeb,0x04,0x25,0x18},
  469. {0xeb,0x15,0x25,0xf6},
  470. {0xeb,0x04,0x25,0x18},
  471. {0xeb,0x04,0x25,0x18},
  472. {0xeb,0x04,0x25,0x18},
  473. {0xeb,0x04,0x25,0x18},
  474. {0xeb,0x04,0x25,0x18},
  475. {0xeb,0x04,0x25,0x18},
  476. {0xeb,0x04,0x25,0x18},
  477. {0xeb,0x04,0x25,0x18}
  478. },
  479. {
  480. {0x00,0xf4,0x10,0x38},
  481. {0x00,0xf4,0x10,0x38},
  482. {0xf1,0xf7,0x10,0x32},
  483. {0xf3,0x00,0x1d,0x20},
  484. {0x00,0xf4,0x10,0x38},
  485. {0xf1,0xf7,0x1f,0x32},
  486. {0xf1,0xf7,0x1f,0x32},
  487. {0xfc,0xfb,0x14,0x2a},
  488. {0xf1,0xf7,0x1f,0x32},
  489. {0xf1,0xf7,0x1f,0x32},
  490. {0xf1,0xf7,0x1f,0x32},
  491. {0xf1,0xf7,0x1f,0x32},
  492. {0xf1,0xf7,0x1f,0x32},
  493. {0xf1,0xf7,0x1f,0x32},
  494. {0xf1,0xf7,0x1f,0x32},
  495. {0xf1,0xf7,0x1f,0x32}
  496. },
  497. {
  498. {0x00,0xf4,0x10,0x38},
  499. {0x00,0xf4,0x10,0x38},
  500. {0xf1,0xf7,0x10,0x32},
  501. {0xf3,0x00,0x1d,0x20},
  502. {0x00,0xf4,0x10,0x38},
  503. {0xf1,0xf7,0x1f,0x32},
  504. {0xf1,0xf7,0x1f,0x32},
  505. {0xfc,0xfb,0x14,0x2a},
  506. {0xf1,0xf7,0x1f,0x32},
  507. {0xf1,0xf7,0x1f,0x32},
  508. {0xf1,0xf7,0x1f,0x32},
  509. {0xf1,0xf7,0x1f,0x32},
  510. {0xf1,0xf7,0x1f,0x32},
  511. {0xf1,0xf7,0x1f,0x32},
  512. {0xf1,0xf7,0x1f,0x32},
  513. {0xf1,0xf7,0x1f,0x32}
  514. },
  515. {
  516. {0x00,0xf4,0x10,0x38},
  517. {0x00,0xf4,0x10,0x38},
  518. {0xf1,0xf7,0x10,0x32},
  519. {0xf3,0x00,0x1d,0x20},
  520. {0x00,0xf4,0x10,0x38},
  521. {0xf1,0xf7,0x1f,0x32},
  522. {0xf1,0xf7,0x1f,0x32},
  523. {0xfc,0xfb,0x14,0x2a},
  524. {0xf1,0xf7,0x1f,0x32},
  525. {0xf1,0xf7,0x1f,0x32},
  526. {0xf1,0xf7,0x1f,0x32},
  527. {0xf1,0xf7,0x1f,0x32},
  528. {0xf1,0xf7,0x1f,0x32},
  529. {0xf1,0xf7,0x1f,0x32},
  530. {0xf1,0xf7,0x1f,0x32},
  531. {0xf1,0xf7,0x1f,0x32}
  532. },
  533. {
  534. {0x00,0xf4,0x10,0x38},
  535. {0x00,0xf4,0x10,0x38},
  536. {0xeb,0x04,0x10,0x18},
  537. {0xf7,0x06,0x19,0x14},
  538. {0x00,0xf4,0x10,0x38},
  539. {0xeb,0x04,0x25,0x18},
  540. {0xeb,0x04,0x25,0x18},
  541. {0xeb,0x15,0x25,0xf6},
  542. {0xeb,0x04,0x25,0x18},
  543. {0xeb,0x04,0x25,0x18},
  544. {0xeb,0x04,0x25,0x18},
  545. {0xeb,0x04,0x25,0x18},
  546. {0xeb,0x04,0x25,0x18},
  547. {0xeb,0x04,0x25,0x18},
  548. {0xeb,0x04,0x25,0x18},
  549. {0xeb,0x04,0x25,0x18}
  550. },
  551. {
  552. {0x00,0xf4,0x10,0x38},
  553. {0x00,0xf4,0x10,0x38},
  554. {0xeb,0x04,0x10,0x18},
  555. {0xf7,0x06,0x19,0x14},
  556. {0x00,0xf4,0x10,0x38},
  557. {0xeb,0x04,0x25,0x18},
  558. {0xeb,0x04,0x25,0x18},
  559. {0xeb,0x15,0x25,0xf6},
  560. {0xeb,0x04,0x25,0x18},
  561. {0xeb,0x04,0x25,0x18},
  562. {0xeb,0x04,0x25,0x18},
  563. {0xeb,0x04,0x25,0x18},
  564. {0xeb,0x04,0x25,0x18},
  565. {0xeb,0x04,0x25,0x18},
  566. {0xeb,0x04,0x25,0x18},
  567. {0xeb,0x04,0x25,0x18}
  568. },
  569. };
  570. static const unsigned char SiS300_Filter2[10][9][7] =
  571. {
  572. {
  573. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  574. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  575. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  576. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  577. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  578. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  579. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  580. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  581. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  582. },
  583. {
  584. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  585. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  586. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  587. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  588. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  589. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  590. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  591. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  592. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  593. },
  594. {
  595. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  596. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  597. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  598. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  599. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  600. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  601. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  602. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  603. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  604. },
  605. {
  606. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  607. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  608. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  609. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  610. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  611. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  612. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  613. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  614. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  615. },
  616. {
  617. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  618. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  619. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  620. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  621. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  622. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  623. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  624. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  625. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  626. },
  627. {
  628. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  629. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  630. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  631. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  632. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  633. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  634. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  635. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  636. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  637. },
  638. {
  639. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  640. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  641. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  642. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  643. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  644. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  645. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  646. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  647. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  648. },
  649. {
  650. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  651. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  652. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  653. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  654. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  655. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  656. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  657. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  658. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  659. },
  660. {
  661. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  662. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  663. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  664. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  665. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  666. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  667. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  668. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  669. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  670. },
  671. {
  672. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  673. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  674. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  675. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  676. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  677. {0xFF,0x03,0x02,0xF6,0xFC,0x27,0x46},
  678. {0x01,0x02,0xFE,0xF7,0x03,0x27,0x3C},
  679. {0x01,0x01,0xFC,0xF8,0x08,0x26,0x38},
  680. {0xFF,0xFF,0xFC,0x00,0x0F,0x22,0x28}
  681. }
  682. };
  683. /* Custom data for Barco iQ Pro R300 */
  684. static const unsigned char barco_p1[2][9][7][3] =
  685. {
  686. {
  687. {
  688. { 0x16, 0xcf, 0x00 },
  689. { 0x18, 0x00, 0x00 },
  690. { 0x1a, 0xe7, 0x00 },
  691. { 0x1b, 0x26, 0x00 },
  692. { 0x1c, 0xff, 0x00 },
  693. { 0x1d, 0x1c, 0x00 },
  694. { 0x1e, 0x19, 0x00 }
  695. },
  696. {
  697. { 0x16, 0xcf, 0x00 },
  698. { 0x18, 0x00, 0x00 },
  699. { 0x1a, 0xe7, 0x00 },
  700. { 0x1b, 0x1e, 0x00 },
  701. { 0x1c, 0xff, 0x00 },
  702. { 0x1d, 0x1c, 0x00 },
  703. { 0x1e, 0x16, 0x00 }
  704. },
  705. {
  706. { 0x16, 0xcf, 0x00 },
  707. { 0x1a, 0xe7, 0x00 },
  708. { 0x1b, 0x26, 0x00 },
  709. { 0x1c, 0xff, 0x00 },
  710. { 0x1d, 0x1c, 0x00 },
  711. { 0x1e, 0x19, 0x00 },
  712. { 0, 0, 0 }
  713. },
  714. {
  715. { 0, 0, 0 }
  716. },
  717. {
  718. { 0x16, 0xcf, 0x00 },
  719. { 0x1a, 0xe7, 0x00 },
  720. { 0x1b, 0x26, 0x00 },
  721. { 0x1c, 0xff, 0x00 },
  722. { 0x1d, 0x1c, 0x00 },
  723. { 0x1e, 0x1e, 0x00 },
  724. { 0, 0, 0 }
  725. },
  726. {
  727. { 0x16, 0xd1, 0x00 },
  728. { 0x18, 0x00, 0x00 },
  729. { 0x1a, 0xe7, 0x00 },
  730. { 0x1b, 0x11, 0x00 },
  731. { 0x1c, 0xff, 0x00 },
  732. { 0x1d, 0x1c, 0x00 },
  733. { 0x1e, 0x26, 0x00 }
  734. },
  735. {
  736. { 0x16, 0xd1, 0x00 },
  737. { 0x1a, 0xe7, 0x00 },
  738. { 0x1b, 0x26, 0x00 },
  739. { 0x1c, 0xff, 0x00 },
  740. { 0x1d, 0x1c, 0x00 },
  741. { 0x1e, 0x30, 0x00 },
  742. { 0, 0, 0 }
  743. },
  744. {
  745. { 0x16, 0x00, 0x00 },
  746. { 0x17, 0xa0, 0x00 },
  747. { 0x1a, 0xa0, 0x00 },
  748. { 0x1b, 0x2a, 0x00 },
  749. { 0x1c, 0xff, 0x00 },
  750. { 0x1d, 0x1c, 0x00 },
  751. { 0, 0, 0 }
  752. },
  753. {
  754. { 0x16, 0x00, 0x00 },
  755. { 0x17, 0xaa, 0x00 },
  756. { 0x1a, 0xa0, 0x00 },
  757. { 0x1b, 0x2a, 0x00 },
  758. { 0x1c, 0xff, 0x00 },
  759. { 0x1d, 0x1c, 0x00 },
  760. { 0, 0, 0 }
  761. }
  762. },
  763. {
  764. {
  765. { 0x16, 0xcf, 0x00 },
  766. { 0x18, 0x00, 0x00 },
  767. { 0x1a, 0xe7, 0x00 },
  768. { 0x1b, 0x26, 0x00 },
  769. { 0x1c, 0xff, 0x00 },
  770. { 0x1d, 0x1c, 0x00 },
  771. { 0x1e, 0x19, 0x00 }
  772. },
  773. {
  774. { 0, 0, 0 }
  775. },
  776. {
  777. { 0x16, 0xcf, 0x00 },
  778. { 0x18, 0x00, 0x00 },
  779. { 0x1a, 0xe7, 0x00 },
  780. { 0x1b, 0x26, 0x00 },
  781. { 0x1c, 0xff, 0x00 },
  782. { 0x1d, 0x1c, 0x00 },
  783. { 0x1e, 0x19, 0x00 },
  784. },
  785. {
  786. { 0, 0, 0 }
  787. },
  788. {
  789. { 0x16, 0xcf, 0x00 },
  790. { 0x18, 0x00, 0x00 },
  791. { 0x1a, 0xe7, 0x00 },
  792. { 0x1b, 0x26, 0x00 },
  793. { 0x1c, 0xff, 0x00 },
  794. { 0x1d, 0x1c, 0x00 },
  795. { 0x1e, 0x1e, 0x00 }
  796. },
  797. {
  798. { 0x16, 0xd1, 0x00 },
  799. { 0x18, 0x00, 0x00 },
  800. { 0x1a, 0xe6, 0x00 },
  801. { 0x1b, 0x11, 0x00 },
  802. { 0x1c, 0xff, 0x00 },
  803. { 0x1d, 0x1c, 0x00 },
  804. { 0x1e, 0x26, 0x00 }
  805. },
  806. {
  807. { 0x18, 0x00, 0x00 },
  808. { 0x1a, 0xe0, 0x00 },
  809. { 0x1b, 0x26, 0x00 },
  810. { 0x1c, 0xff, 0x00 },
  811. { 0x1d, 0x1c, 0x00 },
  812. { 0x1e, 0x30, 0x00 },
  813. { 0, 0, 0 }
  814. },
  815. {
  816. { 0, 0, 0 }
  817. },
  818. {
  819. { 0, 0, 0 }
  820. }
  821. }
  822. };