xref: /linux/Documentation/userspace-api/media/v4l/pixfmt-tch-td16.rst (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1.. Permission is granted to copy, distribute and/or modify this
2.. document under the terms of the GNU Free Documentation License,
3.. Version 1.1 or any later version published by the Free Software
4.. Foundation, with no Invariant Sections, no Front-Cover Texts
5.. and no Back-Cover Texts. A copy of the license is included at
6.. Documentation/userspace-api/media/fdl-appendix.rst.
7..
8.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
9
10.. _V4L2-TCH-FMT-DELTA-TD16:
11
12********************************
13V4L2_TCH_FMT_DELTA_TD16 ('TD16')
14********************************
15
16*man V4L2_TCH_FMT_DELTA_TD16(2)*
17
1816-bit signed little endian Touch Delta
19
20
21Description
22===========
23
24This format represents delta data from a touch controller.
25
26Delta values may range from -32768 to 32767. Typically the values will vary
27through a small range depending on whether the sensor is touched or not. The
28full value may be seen if one of the touchscreen nodes has a fault or the line
29is not connected.
30
31**Byte Order.**
32Each cell is one byte.
33
34.. flat-table::
35    :header-rows:  0
36    :stub-columns: 0
37    :widths:       2 1 1 1 1 1 1 1 1
38
39    * - start + 0:
40      - D'\ :sub:`00low`
41      - D'\ :sub:`00high`
42      - D'\ :sub:`01low`
43      - D'\ :sub:`01high`
44      - D'\ :sub:`02low`
45      - D'\ :sub:`02high`
46      - D'\ :sub:`03low`
47      - D'\ :sub:`03high`
48    * - start + 8:
49      - D'\ :sub:`10low`
50      - D'\ :sub:`10high`
51      - D'\ :sub:`11low`
52      - D'\ :sub:`11high`
53      - D'\ :sub:`12low`
54      - D'\ :sub:`12high`
55      - D'\ :sub:`13low`
56      - D'\ :sub:`13high`
57    * - start + 16:
58      - D'\ :sub:`20low`
59      - D'\ :sub:`20high`
60      - D'\ :sub:`21low`
61      - D'\ :sub:`21high`
62      - D'\ :sub:`22low`
63      - D'\ :sub:`22high`
64      - D'\ :sub:`23low`
65      - D'\ :sub:`23high`
66    * - start + 24:
67      - D'\ :sub:`30low`
68      - D'\ :sub:`30high`
69      - D'\ :sub:`31low`
70      - D'\ :sub:`31high`
71      - D'\ :sub:`32low`
72      - D'\ :sub:`32high`
73      - D'\ :sub:`33low`
74      - D'\ :sub:`33high`
75