mdnie_tft_data_millet.h 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532
  1. /* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
  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 version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. *
  12. * You should have received a copy of the GNU General Public License
  13. * along with this program; if not, write to the Free Software
  14. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  15. * 02110-1301, USA.
  16. *
  17. */
  18. #ifndef _MDNIE_TFT_DATA_H_
  19. #define _MDNIE_TFT_DATA_H_
  20. ////////////////// NEGATIVE /// /////////////////////
  21. /*static char NEGATIVE_1[] = {
  22. 0xE7,
  23. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  24. 0x30, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  25. 0x03, //HSIZE
  26. 0x20,
  27. 0x05, //VSIZE
  28. 0x00,
  29. 0x00, //sharpen cc gamma 00 0 0
  30. };
  31. static char NEGATIVE_2[] = {
  32. 0xE8,
  33. 0x00, //roi0 x start
  34. 0x00,
  35. 0x00, //roi0 x end
  36. 0x00,
  37. 0x00, //roi0 y start
  38. 0x00,
  39. 0x00, //roi0 y end
  40. 0x00,
  41. 0x00, //roi1 x strat
  42. 0x00,
  43. 0x00, //roi1 x end
  44. 0x00,
  45. 0x00, //roi1 y start
  46. 0x00,
  47. 0x00, //roi1 y end
  48. 0x00,
  49. };
  50. static char NEGATIVE_3[] = {
  51. 0xE9,
  52. 0xff, //scr Cr Yb
  53. 0x00, //scr Rr Bb
  54. 0x00, //scr Cg Yg
  55. 0xff, //scr Rg Bg
  56. 0x00, //scr Cb Yr
  57. 0xff, //scr Rb Br
  58. 0x00, //scr Mr Mb
  59. 0xff, //scr Gr Gb
  60. 0xff, //scr Mg Mg
  61. 0x00, //scr Gg Gg
  62. 0x00, //scr Mb Mr
  63. 0xff, //scr Gb Gr
  64. 0x00, //scr Yr Cb
  65. 0xff, //scr Br Rb
  66. 0x00, //scr Yg Cg
  67. 0xff, //scr Bg Rg
  68. 0xff, //scr Yb Cr
  69. 0x00, //scr Bb Rr
  70. 0x00, //scr Wr Wb
  71. 0xff, //scr Kr Kb
  72. 0x00, //scr Wg Wg
  73. 0xff, //scr Kg Kg
  74. 0x00, //scr Wb Wr
  75. 0xff, //scr Kb Kr
  76. };
  77. static char NEGATIVE_4[] = {
  78. 0xEA,
  79. 0x00, //curve 1 b
  80. 0x20, //curve 1 a
  81. 0x00, //curve 2 b
  82. 0x20, //curve 2 a
  83. 0x00, //curve 3 b
  84. 0x20, //curve 3 a
  85. 0x00, //curve 4 b
  86. 0x20, //curve 4 a
  87. 0x00, //curve 5 b
  88. 0x20, //curve 5 a
  89. 0x00, //curve 6 b
  90. 0x20, //curve 6 a
  91. 0x00, //curve 7 b
  92. 0x20, //curve 7 a
  93. 0x00, //curve 8 b
  94. 0x20, //curve 8 a
  95. 0x00, //curve 9 b
  96. 0x20, //curve 9 a
  97. 0x00, //curve10 b
  98. 0x20, //curve10 a
  99. 0x00, //curve11 b
  100. 0x20, //curve11 a
  101. 0x00, //curve12 b
  102. 0x20, //curve12 a
  103. };
  104. static char NEGATIVE_5[] = {
  105. 0xEB,
  106. 0x00, //curve13 b
  107. 0x20, //curve13 a
  108. 0x00, //curve14 b
  109. 0x20, //curve14 a
  110. 0x00, //curve15 b
  111. 0x20, //curve15 a
  112. 0x00, //curve16 b
  113. 0x20, //curve16 a
  114. 0x00, //curve17 b
  115. 0x20, //curve17 a
  116. 0x00, //curve18 b
  117. 0x20, //curve18 a
  118. 0x00, //curve19 b
  119. 0x20, //curve19 a
  120. 0x00, //curve20 b
  121. 0x20, //curve20 a
  122. 0x00, //curve21 b
  123. 0x20, //curve21 a
  124. 0x00, //curve22 b
  125. 0x20, //curve22 a
  126. 0x00, //curve23 b
  127. 0x20, //curve23 a
  128. 0x00, //curve24 b
  129. 0xFF, //curve24 a
  130. };
  131. static char NEGATIVE_6[] = {
  132. 0xEC,
  133. 0x04, //cc r1
  134. 0x00,
  135. 0x00, //cc r2
  136. 0x00,
  137. 0x00, //cc r3
  138. 0x00,
  139. 0x00, //cc g1
  140. 0x00,
  141. 0x04, //cc g2
  142. 0x00,
  143. 0x00, //cc g3
  144. 0x00,
  145. 0x00, //cc b1
  146. 0x00,
  147. 0x00, //cc b2
  148. 0x00,
  149. 0x04, //cc b3
  150. 0x00,
  151. };
  152. */
  153. static char BROWSER_1[] = {
  154. 0xE7,
  155. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  156. 0x03, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  157. 0x03, //HSIZE
  158. 0x20,
  159. 0x05, //VSIZE
  160. 0x00,
  161. 0x02, //sharpen cc gamma 00 0 0
  162. };
  163. static char BROWSER_2[] = {
  164. 0xE8,
  165. 0x00, //roi0 x start
  166. 0x00,
  167. 0x00, //roi0 x end
  168. 0x00,
  169. 0x00, //roi0 y start
  170. 0x00,
  171. 0x00, //roi0 y end
  172. 0x00,
  173. 0x00, //roi1 x strat
  174. 0x00,
  175. 0x00, //roi1 x end
  176. 0x00,
  177. 0x00, //roi1 y start
  178. 0x00,
  179. 0x00, //roi1 y end
  180. 0x00,
  181. };
  182. static char BROWSER_3[] = {
  183. 0xE9,
  184. 0x00, //scr Cr Yb
  185. 0xff, //scr Rr Bb
  186. 0xff, //scr Cg Yg
  187. 0x00, //scr Rg Bg
  188. 0xff, //scr Cb Yr
  189. 0x00, //scr Rb Br
  190. 0xff, //scr Mr Mb
  191. 0x00, //scr Gr Gb
  192. 0x00, //scr Mg Mg
  193. 0xff, //scr Gg Gg
  194. 0xff, //scr Mb Mr
  195. 0x00, //scr Gb Gr
  196. 0xff, //scr Yr Cb
  197. 0x00, //scr Br Rb
  198. 0xff, //scr Yg Cg
  199. 0x00, //scr Bg Rg
  200. 0x00, //scr Yb Cr
  201. 0xff, //scr Bb Rr
  202. 0xff, //scr Wr Wb
  203. 0x00, //scr Kr Kb
  204. 0xff, //scr Wg Wg
  205. 0x00, //scr Kg Kg
  206. 0xff, //scr Wb Wr
  207. 0x00, //scr Kb Kr
  208. };
  209. static char BROWSER_4[] = {
  210. 0xEA,
  211. 0x00, //curve 1 b
  212. 0x20, //curve 1 a
  213. 0x00, //curve 2 b
  214. 0x20, //curve 2 a
  215. 0x00, //curve 3 b
  216. 0x20, //curve 3 a
  217. 0x00, //curve 4 b
  218. 0x20, //curve 4 a
  219. 0x00, //curve 5 b
  220. 0x20, //curve 5 a
  221. 0x00, //curve 6 b
  222. 0x20, //curve 6 a
  223. 0x00, //curve 7 b
  224. 0x20, //curve 7 a
  225. 0x00, //curve 8 b
  226. 0x20, //curve 8 a
  227. 0x00, //curve 9 b
  228. 0x20, //curve 9 a
  229. 0x00, //curve10 b
  230. 0x20, //curve10 a
  231. 0x00, //curve11 b
  232. 0x20, //curve11 a
  233. 0x00, //curve12 b
  234. 0x20, //curve12 a
  235. };
  236. static char BROWSER_5[] = {
  237. 0xEB,
  238. 0x00, //curve13 b
  239. 0x20, //curve13 a
  240. 0x00, //curve14 b
  241. 0x20, //curve14 a
  242. 0x00, //curve15 b
  243. 0x20, //curve15 a
  244. 0x00, //curve16 b
  245. 0x20, //curve16 a
  246. 0x00, //curve17 b
  247. 0x20, //curve17 a
  248. 0x00, //curve18 b
  249. 0x20, //curve18 a
  250. 0x00, //curve19 b
  251. 0x20, //curve19 a
  252. 0x00, //curve20 b
  253. 0x20, //curve20 a
  254. 0x00, //curve21 b
  255. 0x20, //curve21 a
  256. 0x00, //curve22 b
  257. 0x20, //curve22 a
  258. 0x00, //curve23 b
  259. 0x20, //curve23 a
  260. 0x00, //curve24 b
  261. 0xFF, //curve24 a
  262. };
  263. static char BROWSER_6[] = {
  264. 0xEC,
  265. 0x04, //cc r1 0.1
  266. 0x48,
  267. 0x1f, //cc r2
  268. 0xc4,
  269. 0x1f, //cc r3
  270. 0xf4,
  271. 0x1f, //cc g1
  272. 0xe1,
  273. 0x04, //cc g2
  274. 0x2b,
  275. 0x1f, //cc g3
  276. 0xf4,
  277. 0x1f, //cc b1
  278. 0xe1,
  279. 0x1f, //cc b2
  280. 0xc4,
  281. 0x04, //cc b3
  282. 0x5b,
  283. };
  284. /*
  285. static char BYPASS_1[] = {
  286. 0xE7,
  287. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  288. 0x00, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  289. 0x03, //HSIZE
  290. 0x20,
  291. 0x05, //VSIZE
  292. 0x00,
  293. 0x00, //sharpen cc gamma 00 0 0
  294. };
  295. static char BYPASS_2[] = {
  296. 0xE8,
  297. 0x00, //roi0 x start
  298. 0x00,
  299. 0x00, //roi0 x end
  300. 0x00,
  301. 0x00, //roi0 y start
  302. 0x00,
  303. 0x00, //roi0 y end
  304. 0x00,
  305. 0x00, //roi1 x strat
  306. 0x00,
  307. 0x00, //roi1 x end
  308. 0x00,
  309. 0x00, //roi1 y start
  310. 0x00,
  311. 0x00, //roi1 y end
  312. 0x00,
  313. };
  314. static char BYPASS_3[] = {
  315. 0xE9,
  316. 0x00, //scr Cr Yb
  317. 0xff, //scr Rr Bb
  318. 0xff, //scr Cg Yg
  319. 0x00, //scr Rg Bg
  320. 0xff, //scr Cb Yr
  321. 0x00, //scr Rb Br
  322. 0xff, //scr Mr Mb
  323. 0x00, //scr Gr Gb
  324. 0x00, //scr Mg Mg
  325. 0xff, //scr Gg Gg
  326. 0xff, //scr Mb Mr
  327. 0x00, //scr Gb Gr
  328. 0xff, //scr Yr Cb
  329. 0x00, //scr Br Rb
  330. 0xff, //scr Yg Cg
  331. 0x00, //scr Bg Rg
  332. 0x00, //scr Yb Cr
  333. 0xff, //scr Bb Rr
  334. 0xff, //scr Wr Wb
  335. 0x00, //scr Kr Kb
  336. 0xff, //scr Wg Wg
  337. 0x00, //scr Kg Kg
  338. 0xff, //scr Wb Wr
  339. 0x00, //scr Kb Kr
  340. };
  341. static char BYPASS_4[] = {
  342. 0xEA,
  343. 0x00, //curve 1 b
  344. 0x20, //curve 1 a
  345. 0x00, //curve 2 b
  346. 0x20, //curve 2 a
  347. 0x00, //curve 3 b
  348. 0x20, //curve 3 a
  349. 0x00, //curve 4 b
  350. 0x20, //curve 4 a
  351. 0x00, //curve 5 b
  352. 0x20, //curve 5 a
  353. 0x00, //curve 6 b
  354. 0x20, //curve 6 a
  355. 0x00, //curve 7 b
  356. 0x20, //curve 7 a
  357. 0x00, //curve 8 b
  358. 0x20, //curve 8 a
  359. 0x00, //curve 9 b
  360. 0x20, //curve 9 a
  361. 0x00, //curve10 b
  362. 0x20, //curve10 a
  363. 0x00, //curve11 b
  364. 0x20, //curve11 a
  365. 0x00, //curve12 b
  366. 0x20, //curve12 a
  367. };
  368. static char BYPASS_5[] = {
  369. 0xEB,
  370. 0x00, //curve13 b
  371. 0x20, //curve13 a
  372. 0x00, //curve14 b
  373. 0x20, //curve14 a
  374. 0x00, //curve15 b
  375. 0x20, //curve15 a
  376. 0x00, //curve16 b
  377. 0x20, //curve16 a
  378. 0x00, //curve17 b
  379. 0x20, //curve17 a
  380. 0x00, //curve18 b
  381. 0x20, //curve18 a
  382. 0x00, //curve19 b
  383. 0x20, //curve19 a
  384. 0x00, //curve20 b
  385. 0x20, //curve20 a
  386. 0x00, //curve21 b
  387. 0x20, //curve21 a
  388. 0x00, //curve22 b
  389. 0x20, //curve22 a
  390. 0x00, //curve23 b
  391. 0x20, //curve23 a
  392. 0x00, //curve24 b
  393. 0xFF, //curve24 a
  394. };
  395. static char BYPASS_6[] = {
  396. 0xEC,
  397. 0x04, //cc r1
  398. 0x00,
  399. 0x00, //cc r2
  400. 0x00,
  401. 0x00, //cc r3
  402. 0x00,
  403. 0x00, //cc g1
  404. 0x00,
  405. 0x04, //cc g2
  406. 0x00,
  407. 0x00, //cc g3
  408. 0x00,
  409. 0x00, //cc b1
  410. 0x00,
  411. 0x00, //cc b2
  412. 0x00,
  413. 0x04, //cc b3
  414. 0x00,
  415. };
  416. */
  417. static char CAMERA_1[] = {
  418. 0xE7,
  419. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  420. 0x03, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  421. 0x03, //HSIZE
  422. 0x20,
  423. 0x05, //VSIZE
  424. 0x00,
  425. 0x06, //sharpen cc gamma 00 0 0
  426. };
  427. static char CAMERA_2[] = {
  428. 0xE8,
  429. 0x00, //roi0 x start
  430. 0x00,
  431. 0x00, //roi0 x end
  432. 0x00,
  433. 0x00, //roi0 y start
  434. 0x00,
  435. 0x00, //roi0 y end
  436. 0x00,
  437. 0x00, //roi1 x strat
  438. 0x00,
  439. 0x00, //roi1 x end
  440. 0x00,
  441. 0x00, //roi1 y start
  442. 0x00,
  443. 0x00, //roi1 y end
  444. 0x00,
  445. };
  446. static char CAMERA_3[] = {
  447. 0xE9,
  448. 0x00, //scr Cr Yb
  449. 0xff, //scr Rr Bb
  450. 0xff, //scr Cg Yg
  451. 0x00, //scr Rg Bg
  452. 0xff, //scr Cb Yr
  453. 0x00, //scr Rb Br
  454. 0xff, //scr Mr Mb
  455. 0x00, //scr Gr Gb
  456. 0x00, //scr Mg Mg
  457. 0xff, //scr Gg Gg
  458. 0xff, //scr Mb Mr
  459. 0x00, //scr Gb Gr
  460. 0xff, //scr Yr Cb
  461. 0x00, //scr Br Rb
  462. 0xff, //scr Yg Cg
  463. 0x00, //scr Bg Rg
  464. 0x00, //scr Yb Cr
  465. 0xff, //scr Bb Rr
  466. 0xff, //scr Wr Wb
  467. 0x00, //scr Kr Kb
  468. 0xff, //scr Wg Wg
  469. 0x00, //scr Kg Kg
  470. 0xff, //scr Wb Wr
  471. 0x00, //scr Kb Kr
  472. };
  473. static char CAMERA_4[] = {
  474. 0xEA,
  475. 0x00, //curve 1 b
  476. 0x20, //curve 1 a
  477. 0x00, //curve 2 b
  478. 0x20, //curve 2 a
  479. 0x00, //curve 3 b
  480. 0x20, //curve 3 a
  481. 0x00, //curve 4 b
  482. 0x20, //curve 4 a
  483. 0x00, //curve 5 b
  484. 0x20, //curve 5 a
  485. 0x00, //curve 6 b
  486. 0x20, //curve 6 a
  487. 0x00, //curve 7 b
  488. 0x20, //curve 7 a
  489. 0x00, //curve 8 b
  490. 0x20, //curve 8 a
  491. 0x00, //curve 9 b
  492. 0x20, //curve 9 a
  493. 0x00, //curve10 b
  494. 0x20, //curve10 a
  495. 0x00, //curve11 b
  496. 0x20, //curve11 a
  497. 0x00, //curve12 b
  498. 0x20, //curve12 a
  499. };
  500. static char CAMERA_5[] = {
  501. 0xEB,
  502. 0x00, //curve13 b
  503. 0x20, //curve13 a
  504. 0x00, //curve14 b
  505. 0x20, //curve14 a
  506. 0x00, //curve15 b
  507. 0x20, //curve15 a
  508. 0x00, //curve16 b
  509. 0x20, //curve16 a
  510. 0x00, //curve17 b
  511. 0x20, //curve17 a
  512. 0x00, //curve18 b
  513. 0x20, //curve18 a
  514. 0x00, //curve19 b
  515. 0x20, //curve19 a
  516. 0x00, //curve20 b
  517. 0x20, //curve20 a
  518. 0x00, //curve21 b
  519. 0x20, //curve21 a
  520. 0x00, //curve22 b
  521. 0x20, //curve22 a
  522. 0x00, //curve23 b
  523. 0x20, //curve23 a
  524. 0x00, //curve24 b
  525. 0xFF, //curve24 a
  526. };
  527. static char CAMERA_6[] = {
  528. 0xEC,
  529. 0x04, //cc r1 0.1
  530. 0x48,
  531. 0x1f, //cc r2
  532. 0xc4,
  533. 0x1f, //cc r3
  534. 0xf4,
  535. 0x1f, //cc g1
  536. 0xe1,
  537. 0x04, //cc g2
  538. 0x2b,
  539. 0x1f, //cc g3
  540. 0xf4,
  541. 0x1f, //cc b1
  542. 0xe1,
  543. 0x1f, //cc b2
  544. 0xc4,
  545. 0x04, //cc b3
  546. 0x5b,
  547. };
  548. static char COLOR_BLIND_1[] = {
  549. 0xE7,
  550. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  551. 0x30, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  552. 0x03, //HSIZE
  553. 0x20,
  554. 0x05, //VSIZE
  555. 0x00,
  556. 0x00, //sharpen cc gamma 00 0 0
  557. };
  558. static char COLOR_BLIND_2[] = {
  559. 0xE8,
  560. 0x00, //roi0 x start
  561. 0x00,
  562. 0x00, //roi0 x end
  563. 0x00,
  564. 0x00, //roi0 y start
  565. 0x00,
  566. 0x00, //roi0 y end
  567. 0x00,
  568. 0x00, //roi1 x strat
  569. 0x00,
  570. 0x00, //roi1 x end
  571. 0x00,
  572. 0x00, //roi1 y start
  573. 0x00,
  574. 0x00, //roi1 y end
  575. 0x00,
  576. };
  577. static char COLOR_BLIND_3[] = {
  578. 0xE9,
  579. 0x00, //scr Cr Yb
  580. 0xff, //scr Rr Bb
  581. 0xff, //scr Cg Yg
  582. 0x00, //scr Rg Bg
  583. 0xff, //scr Cb Yr
  584. 0x00, //scr Rb Br
  585. 0xff, //scr Mr Mb
  586. 0x00, //scr Gr Gb
  587. 0x00, //scr Mg Mg
  588. 0xff, //scr Gg Gg
  589. 0xff, //scr Mb Mr
  590. 0x00, //scr Gb Gr
  591. 0xff, //scr Yr Cb
  592. 0x00, //scr Br Rb
  593. 0xff, //scr Yg Cg
  594. 0x00, //scr Bg Rg
  595. 0x00, //scr Yb Cr
  596. 0xff, //scr Bb Rr
  597. 0xff, //scr Wr Wb
  598. 0x00, //scr Kr Kb
  599. 0xff, //scr Wg Wg
  600. 0x00, //scr Kg Kg
  601. 0xff, //scr Wb Wr
  602. 0x00, //scr Kb Kr
  603. };
  604. static char COLOR_BLIND_4[] = {
  605. 0xEA,
  606. 0x00, //curve 1 b
  607. 0x20, //curve 1 a
  608. 0x00, //curve 2 b
  609. 0x20, //curve 2 a
  610. 0x00, //curve 3 b
  611. 0x20, //curve 3 a
  612. 0x00, //curve 4 b
  613. 0x20, //curve 4 a
  614. 0x00, //curve 5 b
  615. 0x20, //curve 5 a
  616. 0x00, //curve 6 b
  617. 0x20, //curve 6 a
  618. 0x00, //curve 7 b
  619. 0x20, //curve 7 a
  620. 0x00, //curve 8 b
  621. 0x20, //curve 8 a
  622. 0x00, //curve 9 b
  623. 0x20, //curve 9 a
  624. 0x00, //curve10 b
  625. 0x20, //curve10 a
  626. 0x00, //curve11 b
  627. 0x20, //curve11 a
  628. 0x00, //curve12 b
  629. 0x20, //curve12 a
  630. };
  631. static char COLOR_BLIND_5[] = {
  632. 0xEB,
  633. 0x00, //curve13 b
  634. 0x20, //curve13 a
  635. 0x00, //curve14 b
  636. 0x20, //curve14 a
  637. 0x00, //curve15 b
  638. 0x20, //curve15 a
  639. 0x00, //curve16 b
  640. 0x20, //curve16 a
  641. 0x00, //curve17 b
  642. 0x20, //curve17 a
  643. 0x00, //curve18 b
  644. 0x20, //curve18 a
  645. 0x00, //curve19 b
  646. 0x20, //curve19 a
  647. 0x00, //curve20 b
  648. 0x20, //curve20 a
  649. 0x00, //curve21 b
  650. 0x20, //curve21 a
  651. 0x00, //curve22 b
  652. 0x20, //curve22 a
  653. 0x00, //curve23 b
  654. 0x20, //curve23 a
  655. 0x00, //curve24 b
  656. 0xFF, //curve24 a
  657. };
  658. static char COLOR_BLIND_6[] = {
  659. 0xEC,
  660. 0x04, //cc r1
  661. 0x00,
  662. 0x00, //cc r2
  663. 0x00,
  664. 0x00, //cc r3
  665. 0x00,
  666. 0x00, //cc g1
  667. 0x00,
  668. 0x04, //cc g2
  669. 0x00,
  670. 0x00, //cc g3
  671. 0x00,
  672. 0x00, //cc b1
  673. 0x00,
  674. 0x00, //cc b2
  675. 0x00,
  676. 0x04, //cc b3
  677. 0x00,
  678. };
  679. static char eBOOK_1[] = {
  680. 0xE7,
  681. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  682. 0x30, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  683. 0x03, //HSIZE
  684. 0x20,
  685. 0x05, //VSIZE
  686. 0x00,
  687. 0x00, //sharpen cc gamma 00 0 0
  688. };
  689. static char eBOOK_2[] = {
  690. 0xE8,
  691. 0x00, //roi0 x start
  692. 0x00,
  693. 0x00, //roi0 x end
  694. 0x00,
  695. 0x00, //roi0 y start
  696. 0x00,
  697. 0x00, //roi0 y end
  698. 0x00,
  699. 0x00, //roi1 x strat
  700. 0x00,
  701. 0x00, //roi1 x end
  702. 0x00,
  703. 0x00, //roi1 y start
  704. 0x00,
  705. 0x00, //roi1 y end
  706. 0x00,
  707. };
  708. static char eBOOK_3[] = {
  709. 0xE9,
  710. 0x00, //scr Cr Yb
  711. 0xff, //scr Rr Bb
  712. 0xff, //scr Cg Yg
  713. 0x00, //scr Rg Bg
  714. 0xff, //scr Cb Yr
  715. 0x00, //scr Rb Br
  716. 0xff, //scr Mr Mb
  717. 0x00, //scr Gr Gb
  718. 0x00, //scr Mg Mg
  719. 0xff, //scr Gg Gg
  720. 0xff, //scr Mb Mr
  721. 0x00, //scr Gb Gr
  722. 0xff, //scr Yr Cb
  723. 0x00, //scr Br Rb
  724. 0xff, //scr Yg Cg
  725. 0x00, //scr Bg Rg
  726. 0x00, //scr Yb Cr
  727. 0xff, //scr Bb Rr
  728. 0xf5, //scr Wr Wb
  729. 0x00, //scr Kr Kb
  730. 0xff, //scr Wg Wg
  731. 0x00, //scr Kg Kg
  732. 0xea, //scr Wb Wr
  733. 0x00, //scr Kb Kr
  734. };
  735. static char eBOOK_4[] = {
  736. 0xEA,
  737. 0x00, //curve 1 b
  738. 0x20, //curve 1 a
  739. 0x00, //curve 2 b
  740. 0x20, //curve 2 a
  741. 0x00, //curve 3 b
  742. 0x20, //curve 3 a
  743. 0x00, //curve 4 b
  744. 0x20, //curve 4 a
  745. 0x00, //curve 5 b
  746. 0x20, //curve 5 a
  747. 0x00, //curve 6 b
  748. 0x20, //curve 6 a
  749. 0x00, //curve 7 b
  750. 0x20, //curve 7 a
  751. 0x00, //curve 8 b
  752. 0x20, //curve 8 a
  753. 0x00, //curve 9 b
  754. 0x20, //curve 9 a
  755. 0x00, //curve10 b
  756. 0x20, //curve10 a
  757. 0x00, //curve11 b
  758. 0x20, //curve11 a
  759. 0x00, //curve12 b
  760. 0x20, //curve12 a
  761. };
  762. static char eBOOK_5[] = {
  763. 0xEB,
  764. 0x00, //curve13 b
  765. 0x20, //curve13 a
  766. 0x00, //curve14 b
  767. 0x20, //curve14 a
  768. 0x00, //curve15 b
  769. 0x20, //curve15 a
  770. 0x00, //curve16 b
  771. 0x20, //curve16 a
  772. 0x00, //curve17 b
  773. 0x20, //curve17 a
  774. 0x00, //curve18 b
  775. 0x20, //curve18 a
  776. 0x00, //curve19 b
  777. 0x20, //curve19 a
  778. 0x00, //curve20 b
  779. 0x20, //curve20 a
  780. 0x00, //curve21 b
  781. 0x20, //curve21 a
  782. 0x00, //curve22 b
  783. 0x20, //curve22 a
  784. 0x00, //curve23 b
  785. 0x20, //curve23 a
  786. 0x00, //curve24 b
  787. 0xFF, //curve24 a
  788. };
  789. static char eBOOK_6[] = {
  790. 0xEC,
  791. 0x04, //cc r1 0.2
  792. 0x90,
  793. 0x1f, //cc r2
  794. 0x88,
  795. 0x1f, //cc r3
  796. 0xe9,
  797. 0x1f, //cc g1
  798. 0xc3,
  799. 0x04, //cc g2
  800. 0x55,
  801. 0x1f, //cc g3
  802. 0xe9,
  803. 0x1f, //cc b1
  804. 0xc3,
  805. 0x1f, //cc b2
  806. 0x88,
  807. 0x04, //cc b3
  808. 0xb5,
  809. };
  810. static char eMAIL_1[] = {
  811. 0xE7,
  812. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  813. 0x30, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  814. 0x03, //HSIZE
  815. 0x20,
  816. 0x05, //VSIZE
  817. 0x00,
  818. 0x00, //sharpen cc gamma 00 0 0
  819. };
  820. static char eMAIL_2[] = {
  821. 0xE8,
  822. 0x00, //roi0 x start
  823. 0x00,
  824. 0x00, //roi0 x end
  825. 0x00,
  826. 0x00, //roi0 y start
  827. 0x00,
  828. 0x00, //roi0 y end
  829. 0x00,
  830. 0x00, //roi1 x strat
  831. 0x00,
  832. 0x00, //roi1 x end
  833. 0x00,
  834. 0x00, //roi1 y start
  835. 0x00,
  836. 0x00, //roi1 y end
  837. 0x00,
  838. };
  839. static char eMAIL_3[] = {
  840. 0xE9,
  841. 0x00, //scr Cr Yb
  842. 0xff, //scr Rr Bb
  843. 0xff, //scr Cg Yg
  844. 0x00, //scr Rg Bg
  845. 0xff, //scr Cb Yr
  846. 0x00, //scr Rb Br
  847. 0xff, //scr Mr Mb
  848. 0x00, //scr Gr Gb
  849. 0x00, //scr Mg Mg
  850. 0xff, //scr Gg Gg
  851. 0xff, //scr Mb Mr
  852. 0x00, //scr Gb Gr
  853. 0xff, //scr Yr Cb
  854. 0x00, //scr Br Rb
  855. 0xff, //scr Yg Cg
  856. 0x00, //scr Bg Rg
  857. 0x00, //scr Yb Cr
  858. 0xff, //scr Bb Rr
  859. 0xfd, //scr Wr Wb
  860. 0x00, //scr Kr Kb
  861. 0xff, //scr Wg Wg
  862. 0x00, //scr Kg Kg
  863. 0xf9, //scr Wb Wr
  864. 0x00, //scr Kb Kr
  865. };
  866. static char eMAIL_4[] = {
  867. 0xEA,
  868. 0x00, //curve 1 b
  869. 0x20, //curve 1 a
  870. 0x00, //curve 2 b
  871. 0x20, //curve 2 a
  872. 0x00, //curve 3 b
  873. 0x20, //curve 3 a
  874. 0x00, //curve 4 b
  875. 0x20, //curve 4 a
  876. 0x00, //curve 5 b
  877. 0x20, //curve 5 a
  878. 0x00, //curve 6 b
  879. 0x20, //curve 6 a
  880. 0x00, //curve 7 b
  881. 0x20, //curve 7 a
  882. 0x00, //curve 8 b
  883. 0x20, //curve 8 a
  884. 0x00, //curve 9 b
  885. 0x20, //curve 9 a
  886. 0x00, //curve10 b
  887. 0x20, //curve10 a
  888. 0x00, //curve11 b
  889. 0x20, //curve11 a
  890. 0x00, //curve12 b
  891. 0x20, //curve12 a
  892. };
  893. static char eMAIL_5[] = {
  894. 0xEB,
  895. 0x00, //curve13 b
  896. 0x20, //curve13 a
  897. 0x00, //curve14 b
  898. 0x20, //curve14 a
  899. 0x00, //curve15 b
  900. 0x20, //curve15 a
  901. 0x00, //curve16 b
  902. 0x20, //curve16 a
  903. 0x00, //curve17 b
  904. 0x20, //curve17 a
  905. 0x00, //curve18 b
  906. 0x20, //curve18 a
  907. 0x00, //curve19 b
  908. 0x20, //curve19 a
  909. 0x00, //curve20 b
  910. 0x20, //curve20 a
  911. 0x00, //curve21 b
  912. 0x20, //curve21 a
  913. 0x00, //curve22 b
  914. 0x20, //curve22 a
  915. 0x00, //curve23 b
  916. 0x20, //curve23 a
  917. 0x00, //curve24 b
  918. 0xFF, //curve24 a
  919. };
  920. static char eMAIL_6[] = {
  921. 0xEC,
  922. 0x04, //cc r1 0.2
  923. 0x90,
  924. 0x1f, //cc r2
  925. 0x88,
  926. 0x1f, //cc r3
  927. 0xe9,
  928. 0x1f, //cc g1
  929. 0xc3,
  930. 0x04, //cc g2
  931. 0x55,
  932. 0x1f, //cc g3
  933. 0xe9,
  934. 0x1f, //cc b1
  935. 0xc3,
  936. 0x1f, //cc b2
  937. 0x88,
  938. 0x04, //cc b3
  939. 0xb5,
  940. };
  941. static char GALLERY_1[] = {
  942. 0xE7,
  943. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  944. 0x03, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  945. 0x03, //HSIZE
  946. 0x20,
  947. 0x05, //VSIZE
  948. 0x00,
  949. 0x06, //sharpen cc gamma 00 0 0
  950. };
  951. static char GALLERY_2[] = {
  952. 0xE8,
  953. 0x00, //roi0 x start
  954. 0x00,
  955. 0x00, //roi0 x end
  956. 0x00,
  957. 0x00, //roi0 y start
  958. 0x00,
  959. 0x00, //roi0 y end
  960. 0x00,
  961. 0x00, //roi1 x strat
  962. 0x00,
  963. 0x00, //roi1 x end
  964. 0x00,
  965. 0x00, //roi1 y start
  966. 0x00,
  967. 0x00, //roi1 y end
  968. 0x00,
  969. };
  970. static char GALLERY_3[] = {
  971. 0xE9,
  972. 0x00, //scr Cr Yb
  973. 0xff, //scr Rr Bb
  974. 0xff, //scr Cg Yg
  975. 0x00, //scr Rg Bg
  976. 0xff, //scr Cb Yr
  977. 0x00, //scr Rb Br
  978. 0xff, //scr Mr Mb
  979. 0x00, //scr Gr Gb
  980. 0x00, //scr Mg Mg
  981. 0xff, //scr Gg Gg
  982. 0xff, //scr Mb Mr
  983. 0x00, //scr Gb Gr
  984. 0xff, //scr Yr Cb
  985. 0x00, //scr Br Rb
  986. 0xff, //scr Yg Cg
  987. 0x00, //scr Bg Rg
  988. 0x00, //scr Yb Cr
  989. 0xff, //scr Bb Rr
  990. 0xff, //scr Wr Wb
  991. 0x00, //scr Kr Kb
  992. 0xff, //scr Wg Wg
  993. 0x00, //scr Kg Kg
  994. 0xff, //scr Wb Wr
  995. 0x00, //scr Kb Kr
  996. };
  997. static char GALLERY_4[] = {
  998. 0xEA,
  999. 0x00, //curve 1 b
  1000. 0x20, //curve 1 a
  1001. 0x00, //curve 2 b
  1002. 0x20, //curve 2 a
  1003. 0x00, //curve 3 b
  1004. 0x20, //curve 3 a
  1005. 0x00, //curve 4 b
  1006. 0x20, //curve 4 a
  1007. 0x00, //curve 5 b
  1008. 0x20, //curve 5 a
  1009. 0x00, //curve 6 b
  1010. 0x20, //curve 6 a
  1011. 0x00, //curve 7 b
  1012. 0x20, //curve 7 a
  1013. 0x00, //curve 8 b
  1014. 0x20, //curve 8 a
  1015. 0x00, //curve 9 b
  1016. 0x20, //curve 9 a
  1017. 0x00, //curve10 b
  1018. 0x20, //curve10 a
  1019. 0x00, //curve11 b
  1020. 0x20, //curve11 a
  1021. 0x00, //curve12 b
  1022. 0x20, //curve12 a
  1023. };
  1024. static char GALLERY_5[] = {
  1025. 0xEB,
  1026. 0x00, //curve13 b
  1027. 0x20, //curve13 a
  1028. 0x00, //curve14 b
  1029. 0x20, //curve14 a
  1030. 0x00, //curve15 b
  1031. 0x20, //curve15 a
  1032. 0x00, //curve16 b
  1033. 0x20, //curve16 a
  1034. 0x00, //curve17 b
  1035. 0x20, //curve17 a
  1036. 0x00, //curve18 b
  1037. 0x20, //curve18 a
  1038. 0x00, //curve19 b
  1039. 0x20, //curve19 a
  1040. 0x00, //curve20 b
  1041. 0x20, //curve20 a
  1042. 0x00, //curve21 b
  1043. 0x20, //curve21 a
  1044. 0x00, //curve22 b
  1045. 0x20, //curve22 a
  1046. 0x00, //curve23 b
  1047. 0x20, //curve23 a
  1048. 0x00, //curve24 b
  1049. 0xFF, //curve24 a
  1050. };
  1051. static char GALLERY_6[] = {
  1052. 0xEC,
  1053. 0x04, //cc r1 0.1
  1054. 0x48,
  1055. 0x1f, //cc r2
  1056. 0xc4,
  1057. 0x1f, //cc r3
  1058. 0xf4,
  1059. 0x1f, //cc g1
  1060. 0xe1,
  1061. 0x04, //cc g2
  1062. 0x2b,
  1063. 0x1f, //cc g3
  1064. 0xf4,
  1065. 0x1f, //cc b1
  1066. 0xe1,
  1067. 0x1f, //cc b2
  1068. 0xc4,
  1069. 0x04, //cc b3
  1070. 0x5b,
  1071. };
  1072. static char UI_1[] = {
  1073. 0xE7,
  1074. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  1075. 0x03, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  1076. 0x03, //HSIZE
  1077. 0x20,
  1078. 0x05, //VSIZE
  1079. 0x00,
  1080. 0x02, //sharpen cc gamma 00 0 0
  1081. };
  1082. static char UI_2[] = {
  1083. 0xE8,
  1084. 0x00, //roi0 x start
  1085. 0x00,
  1086. 0x00, //roi0 x end
  1087. 0x00,
  1088. 0x00, //roi0 y start
  1089. 0x00,
  1090. 0x00, //roi0 y end
  1091. 0x00,
  1092. 0x00, //roi1 x strat
  1093. 0x00,
  1094. 0x00, //roi1 x end
  1095. 0x00,
  1096. 0x00, //roi1 y start
  1097. 0x00,
  1098. 0x00, //roi1 y end
  1099. 0x00,
  1100. };
  1101. static char UI_3[] = {
  1102. 0xE9,
  1103. 0x00, //scr Cr Yb
  1104. 0xff, //scr Rr Bb
  1105. 0xff, //scr Cg Yg
  1106. 0x00, //scr Rg Bg
  1107. 0xff, //scr Cb Yr
  1108. 0x00, //scr Rb Br
  1109. 0xff, //scr Mr Mb
  1110. 0x00, //scr Gr Gb
  1111. 0x00, //scr Mg Mg
  1112. 0xff, //scr Gg Gg
  1113. 0xff, //scr Mb Mr
  1114. 0x00, //scr Gb Gr
  1115. 0xff, //scr Yr Cb
  1116. 0x00, //scr Br Rb
  1117. 0xff, //scr Yg Cg
  1118. 0x00, //scr Bg Rg
  1119. 0x00, //scr Yb Cr
  1120. 0xff, //scr Bb Rr
  1121. 0xff, //scr Wr Wb
  1122. 0x00, //scr Kr Kb
  1123. 0xff, //scr Wg Wg
  1124. 0x00, //scr Kg Kg
  1125. 0xff, //scr Wb Wr
  1126. 0x00, //scr Kb Kr
  1127. };
  1128. static char UI_4[] = {
  1129. 0xEA,
  1130. 0x00, //curve 1 b
  1131. 0x20, //curve 1 a
  1132. 0x00, //curve 2 b
  1133. 0x20, //curve 2 a
  1134. 0x00, //curve 3 b
  1135. 0x20, //curve 3 a
  1136. 0x00, //curve 4 b
  1137. 0x20, //curve 4 a
  1138. 0x00, //curve 5 b
  1139. 0x20, //curve 5 a
  1140. 0x00, //curve 6 b
  1141. 0x20, //curve 6 a
  1142. 0x00, //curve 7 b
  1143. 0x20, //curve 7 a
  1144. 0x00, //curve 8 b
  1145. 0x20, //curve 8 a
  1146. 0x00, //curve 9 b
  1147. 0x20, //curve 9 a
  1148. 0x00, //curve10 b
  1149. 0x20, //curve10 a
  1150. 0x00, //curve11 b
  1151. 0x20, //curve11 a
  1152. 0x00, //curve12 b
  1153. 0x20, //curve12 a
  1154. };
  1155. static char UI_5[] = {
  1156. 0xEB,
  1157. 0x00, //curve13 b
  1158. 0x20, //curve13 a
  1159. 0x00, //curve14 b
  1160. 0x20, //curve14 a
  1161. 0x00, //curve15 b
  1162. 0x20, //curve15 a
  1163. 0x00, //curve16 b
  1164. 0x20, //curve16 a
  1165. 0x00, //curve17 b
  1166. 0x20, //curve17 a
  1167. 0x00, //curve18 b
  1168. 0x20, //curve18 a
  1169. 0x00, //curve19 b
  1170. 0x20, //curve19 a
  1171. 0x00, //curve20 b
  1172. 0x20, //curve20 a
  1173. 0x00, //curve21 b
  1174. 0x20, //curve21 a
  1175. 0x00, //curve22 b
  1176. 0x20, //curve22 a
  1177. 0x00, //curve23 b
  1178. 0x20, //curve23 a
  1179. 0x00, //curve24 b
  1180. 0xFF, //curve24 a
  1181. };
  1182. static char UI_6[] = {
  1183. 0xEC,
  1184. 0x04, //cc r1 0.1
  1185. 0x48,
  1186. 0x1f, //cc r2
  1187. 0xc4,
  1188. 0x1f, //cc r3
  1189. 0xf4,
  1190. 0x1f, //cc g1
  1191. 0xe1,
  1192. 0x04, //cc g2
  1193. 0x2b,
  1194. 0x1f, //cc g3
  1195. 0xf4,
  1196. 0x1f, //cc b1
  1197. 0xe1,
  1198. 0x1f, //cc b2
  1199. 0xc4,
  1200. 0x04, //cc b3
  1201. 0x5b,
  1202. };
  1203. static char VIDEO_1[] = {
  1204. 0xE7,
  1205. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  1206. 0x03, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  1207. 0x03, //HSIZE
  1208. 0x20,
  1209. 0x05, //VSIZE
  1210. 0x00,
  1211. 0x06, //sharpen cc gamma 00 0 0
  1212. };
  1213. static char VIDEO_2[] = {
  1214. 0xE8,
  1215. 0x00, //roi0 x start
  1216. 0x00,
  1217. 0x00, //roi0 x end
  1218. 0x00,
  1219. 0x00, //roi0 y start
  1220. 0x00,
  1221. 0x00, //roi0 y end
  1222. 0x00,
  1223. 0x00, //roi1 x strat
  1224. 0x00,
  1225. 0x00, //roi1 x end
  1226. 0x00,
  1227. 0x00, //roi1 y start
  1228. 0x00,
  1229. 0x00, //roi1 y end
  1230. 0x00,
  1231. };
  1232. static char VIDEO_3[] = {
  1233. 0xE9,
  1234. 0x00, //scr Cr Yb
  1235. 0xff, //scr Rr Bb
  1236. 0xff, //scr Cg Yg
  1237. 0x00, //scr Rg Bg
  1238. 0xff, //scr Cb Yr
  1239. 0x00, //scr Rb Br
  1240. 0xff, //scr Mr Mb
  1241. 0x00, //scr Gr Gb
  1242. 0x00, //scr Mg Mg
  1243. 0xff, //scr Gg Gg
  1244. 0xff, //scr Mb Mr
  1245. 0x00, //scr Gb Gr
  1246. 0xff, //scr Yr Cb
  1247. 0x00, //scr Br Rb
  1248. 0xff, //scr Yg Cg
  1249. 0x00, //scr Bg Rg
  1250. 0x00, //scr Yb Cr
  1251. 0xff, //scr Bb Rr
  1252. 0xff, //scr Wr Wb
  1253. 0x00, //scr Kr Kb
  1254. 0xff, //scr Wg Wg
  1255. 0x00, //scr Kg Kg
  1256. 0xff, //scr Wb Wr
  1257. 0x00, //scr Kb Kr
  1258. };
  1259. static char VIDEO_4[] = {
  1260. 0xEA,
  1261. 0x00, //curve 1 b
  1262. 0x20, //curve 1 a
  1263. 0x00, //curve 2 b
  1264. 0x20, //curve 2 a
  1265. 0x00, //curve 3 b
  1266. 0x20, //curve 3 a
  1267. 0x00, //curve 4 b
  1268. 0x20, //curve 4 a
  1269. 0x00, //curve 5 b
  1270. 0x20, //curve 5 a
  1271. 0x00, //curve 6 b
  1272. 0x20, //curve 6 a
  1273. 0x00, //curve 7 b
  1274. 0x20, //curve 7 a
  1275. 0x00, //curve 8 b
  1276. 0x20, //curve 8 a
  1277. 0x00, //curve 9 b
  1278. 0x20, //curve 9 a
  1279. 0x00, //curve10 b
  1280. 0x20, //curve10 a
  1281. 0x00, //curve11 b
  1282. 0x20, //curve11 a
  1283. 0x00, //curve12 b
  1284. 0x20, //curve12 a
  1285. };
  1286. static char VIDEO_5[] = {
  1287. 0xEB,
  1288. 0x00, //curve13 b
  1289. 0x20, //curve13 a
  1290. 0x00, //curve14 b
  1291. 0x20, //curve14 a
  1292. 0x00, //curve15 b
  1293. 0x20, //curve15 a
  1294. 0x00, //curve16 b
  1295. 0x20, //curve16 a
  1296. 0x00, //curve17 b
  1297. 0x20, //curve17 a
  1298. 0x00, //curve18 b
  1299. 0x20, //curve18 a
  1300. 0x00, //curve19 b
  1301. 0x20, //curve19 a
  1302. 0x00, //curve20 b
  1303. 0x20, //curve20 a
  1304. 0x00, //curve21 b
  1305. 0x20, //curve21 a
  1306. 0x00, //curve22 b
  1307. 0x20, //curve22 a
  1308. 0x00, //curve23 b
  1309. 0x20, //curve23 a
  1310. 0x00, //curve24 b
  1311. 0xFF, //curve24 a
  1312. };
  1313. static char VIDEO_6[] = {
  1314. 0xEC,
  1315. 0x04, //cc r1 0.1
  1316. 0x48,
  1317. 0x1f, //cc r2
  1318. 0xc4,
  1319. 0x1f, //cc r3
  1320. 0xf4,
  1321. 0x1f, //cc g1
  1322. 0xe1,
  1323. 0x04, //cc g2
  1324. 0x2b,
  1325. 0x1f, //cc g3
  1326. 0xf4,
  1327. 0x1f, //cc b1
  1328. 0xe1,
  1329. 0x1f, //cc b2
  1330. 0xc4,
  1331. 0x04, //cc b3
  1332. 0x5b,
  1333. };
  1334. static char VT_1[] = {
  1335. 0xE7,
  1336. 0x08, //roi_ctrl rgb_if_type mdnie_en mask 00 00 0 000
  1337. 0x03, //scr_roi 1 scr algo_roi 1 algo 00 1 0 00 1 0
  1338. 0x03, //HSIZE
  1339. 0x20,
  1340. 0x05, //VSIZE
  1341. 0x00,
  1342. 0x06, //sharpen cc gamma 00 0 0
  1343. };
  1344. static char VT_2[] = {
  1345. 0xE8,
  1346. 0x00, //roi0 x start
  1347. 0x00,
  1348. 0x00, //roi0 x end
  1349. 0x00,
  1350. 0x00, //roi0 y start
  1351. 0x00,
  1352. 0x00, //roi0 y end
  1353. 0x00,
  1354. 0x00, //roi1 x strat
  1355. 0x00,
  1356. 0x00, //roi1 x end
  1357. 0x00,
  1358. 0x00, //roi1 y start
  1359. 0x00,
  1360. 0x00, //roi1 y end
  1361. 0x00,
  1362. };
  1363. static char VT_3[] = {
  1364. 0xE9,
  1365. 0x00, //scr Cr Yb
  1366. 0xff, //scr Rr Bb
  1367. 0xff, //scr Cg Yg
  1368. 0x00, //scr Rg Bg
  1369. 0xff, //scr Cb Yr
  1370. 0x00, //scr Rb Br
  1371. 0xff, //scr Mr Mb
  1372. 0x00, //scr Gr Gb
  1373. 0x00, //scr Mg Mg
  1374. 0xff, //scr Gg Gg
  1375. 0xff, //scr Mb Mr
  1376. 0x00, //scr Gb Gr
  1377. 0xff, //scr Yr Cb
  1378. 0x00, //scr Br Rb
  1379. 0xff, //scr Yg Cg
  1380. 0x00, //scr Bg Rg
  1381. 0x00, //scr Yb Cr
  1382. 0xff, //scr Bb Rr
  1383. 0xff, //scr Wr Wb
  1384. 0x00, //scr Kr Kb
  1385. 0xff, //scr Wg Wg
  1386. 0x00, //scr Kg Kg
  1387. 0xff, //scr Wb Wr
  1388. 0x00, //scr Kb Kr
  1389. };
  1390. static char VT_4[] = {
  1391. 0xEA,
  1392. 0x00, //curve 1 b
  1393. 0x20, //curve 1 a
  1394. 0x00, //curve 2 b
  1395. 0x20, //curve 2 a
  1396. 0x00, //curve 3 b
  1397. 0x20, //curve 3 a
  1398. 0x00, //curve 4 b
  1399. 0x20, //curve 4 a
  1400. 0x00, //curve 5 b
  1401. 0x20, //curve 5 a
  1402. 0x00, //curve 6 b
  1403. 0x20, //curve 6 a
  1404. 0x00, //curve 7 b
  1405. 0x20, //curve 7 a
  1406. 0x00, //curve 8 b
  1407. 0x20, //curve 8 a
  1408. 0x00, //curve 9 b
  1409. 0x20, //curve 9 a
  1410. 0x00, //curve10 b
  1411. 0x20, //curve10 a
  1412. 0x00, //curve11 b
  1413. 0x20, //curve11 a
  1414. 0x00, //curve12 b
  1415. 0x20, //curve12 a
  1416. };
  1417. static char VT_5[] = {
  1418. 0xEB,
  1419. 0x00, //curve13 b
  1420. 0x20, //curve13 a
  1421. 0x00, //curve14 b
  1422. 0x20, //curve14 a
  1423. 0x00, //curve15 b
  1424. 0x20, //curve15 a
  1425. 0x00, //curve16 b
  1426. 0x20, //curve16 a
  1427. 0x00, //curve17 b
  1428. 0x20, //curve17 a
  1429. 0x00, //curve18 b
  1430. 0x20, //curve18 a
  1431. 0x00, //curve19 b
  1432. 0x20, //curve19 a
  1433. 0x00, //curve20 b
  1434. 0x20, //curve20 a
  1435. 0x00, //curve21 b
  1436. 0x20, //curve21 a
  1437. 0x00, //curve22 b
  1438. 0x20, //curve22 a
  1439. 0x00, //curve23 b
  1440. 0x20, //curve23 a
  1441. 0x00, //curve24 b
  1442. 0xFF, //curve24 a
  1443. };
  1444. static char VT_6[] = {
  1445. 0xEC,
  1446. 0x04, //cc r1 0.1
  1447. 0x48,
  1448. 0x1f, //cc r2
  1449. 0xc4,
  1450. 0x1f, //cc r3
  1451. 0xf4,
  1452. 0x1f, //cc g1
  1453. 0xe1,
  1454. 0x04, //cc g2
  1455. 0x2b,
  1456. 0x1f, //cc g3
  1457. 0xf4,
  1458. 0x1f, //cc b1
  1459. 0xe1,
  1460. 0x1f, //cc b2
  1461. 0xc4,
  1462. 0x04, //cc b3
  1463. 0x5b,
  1464. };
  1465. #endif