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