DLPU082C August 2021 – March 2024 DLPC7540
This command configures the warping engine control points. According to these parameters the warp table is interpreted as a 2D warp map. The manual warp table should be configured using WriteManualWarpTable command after this operation. Warp Table is always assumed have the number of warp points same as the control points set-up using this command.
Note 1: If ‘Control Points Defined By Array’ is set to True, provide all 62 horizontal and 32 vertical points. If set to false, the number of control points is per number of columns and rows specified and the points are distributed evenly (equidistant) from each other.
Note 2: For use cases where it is desired to avoid any interpolation errors (that is, where user-defined control points are used in the controller hardware without any modification), TI recommends to use the exact control point values as shown in the example in the table below. This is because those are the control points that the API uses internally for scaling the warp map that is eventually merged with user-provided manual warp map. Using any other control point values can result in interpolation errors while merging the user-provided map with the API internal scaling map.
Example Command Packet
ByteIndex | Value | Description |
---|---|---|
0 | 0x44 | Command packet header (destination 4 , response required) |
1 | 0x35 | Command opcode |
2 | 0x0 | Control points defined by array = 0 |
3 | 0x0004 | Number of equidistant horizontal control points |
5 | 0x0003 | Number of equidistant vertical control points |
ByteIndex | Value | Description |
---|---|---|
0 | 0x44 | Command packet header (destination 4, response required) |
1 | 0x35 | Command opcode |
2 | 0x1 | Control points defined by array = 1 |
Horizontal control points | ||
3 | 0x0000 | 0 |
5 | 0x0040 | 64 |
7 | 0x0080 | 128 |
9 | 0x00BF | 191 |
11 | 0x00FF | 255 |
13 | 0x013E | 318 |
15 | 0x017E | 382 |
17 | 0x01BD | 445 |
19 | 0x01FC | 508 |
21 | 0x023C | 572 |
23 | 0x027B | 635 |
25 | 0x02BB | 699 |
27 | 0x02FA | 762 |
29 | 0x033A | 826 |
31 | 0x0379 | 889 |
33 | 0x03B9 | 953 |
35 | 0x03F8 | 1016 |
37 | 0x0437 | 1079 |
39 | 0x0477 | 1143 |
41 | 0x04B6 | 1206 |
43 | 0x04F6 | 1270 |
45 | 0x0535 | 1333 |
47 | 0x0575 | 1397 |
49 | 0x05B4 | 1460 |
51 | 0x05F3 | 1523 |
53 | 0x0633 | 1587 |
55 | 0x0672 | 1650 |
57 | 0x06B2 | 1714 |
59 | 0x06F1 | 1777 |
61 | 0x0731 | 1841 |
63 | 0x0771 | 1905 |
65 | 0x0790 | 1936 |
67 | 0x07D0 | 2000 |
69 | 0x0810 | 2064 |
71 | 0x084F | 2127 |
73 | 0x088F | 2191 |
75 | 0x08CE | 2254 |
77 | 0x090E | 2318 |
79 | 0x094D | 2381 |
81 | 0x098C | 2444 |
83 | 0x09CC | 2508 |
85 | 0x0AOB | 2571 |
87 | 0x0A4B | 2635 |
89 | 0x0A8A | 2698 |
91 | 0x0ACA | 2762 |
93 | 0x0B09 | 2825 |
95 | 0x0B48 | 2888 |
97 | 0x0B88 | 2952 |
99 | 0x0BC7 | 3015 |
101 | 0x0C07 | 3079 |
103 | 0x0C46 | 3142 |
105 | 0x0C86 | 3206 |
107 | 0x0CC5 | 3269 |
109 | 0x0D05 | 3333 |
111 | 0x0D44 | 3396 |
113 | 0x0D83 | 3459 |
115 | 0x0DC3 | 3523 |
117 | 0x0E02 | 3586 |
119 | 0x0E42 | 3650 |
121 | 0x0E81 | 3713 |
123 | 0x0EC1 | 3777 |
125 | 0x0EFF | 3839 |
127 | 0x0EC1 | 3777 |
129 | 0xOEFF | 3839 |
Vertical control points | ||
131 | 0x0000 | 0 |
133 | 0x0046 | 70 |
135 | 0x008B | 139 |
137 | 0x00D1 | 209 |
139 | 0x0117 | 279 |
141 | 0x015C | 348 |
143 | 0x01A2 | 418 |
145 | 0x01E8 | 488 |
147 | 0x022D | 557 |
149 | 0x0273 | 627 |
151 | Ox02B8 | 696 |
153 | 0x02FE | 766 |
155 | 0x0344 | 836 |
157 | 0x0389 | 905 |
159 | 0x03CF | 975 |
161 | 0x0415 | 1045 |
163 | 0x045A | 1114 |
165 | 0x04A0 | 1184 |
167 | 0x04E6 | 1254 |
169 | 0x052B | 1323 |
171 | 0x0571 | 1393 |
173 | 0x05B7 | 1463 |
175 | 0x05FC | 1532 |
177 | 0x0642 | 1602 |
179 | 0x0687 | 1671 |
181 | 0x06CD | 1741 |
183 | 0x0713 | 1811 |
185 | 0x0758 | 1880 |
187 | 0x079E | 1950 |
189 | 0x07E4 | 2020 |
191 | 0x0829 | 2089 |
193 | 0x086F | 2159 |