xref: /linux/Documentation/userspace-api/media/v4l/pixfmt-tch-td08.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-TD08:
11*54f38fcaSMauro Carvalho Chehab
12*54f38fcaSMauro Carvalho Chehab********************************
13*54f38fcaSMauro Carvalho ChehabV4L2_TCH_FMT_DELTA_TD08 ('TD08')
14*54f38fcaSMauro Carvalho Chehab********************************
15*54f38fcaSMauro Carvalho Chehab
16*54f38fcaSMauro Carvalho Chehab*man V4L2_TCH_FMT_DELTA_TD08(2)*
17*54f38fcaSMauro Carvalho Chehab
18*54f38fcaSMauro Carvalho Chehab8-bit signed Touch Delta
19*54f38fcaSMauro Carvalho Chehab
20*54f38fcaSMauro Carvalho ChehabDescription
21*54f38fcaSMauro Carvalho Chehab===========
22*54f38fcaSMauro Carvalho Chehab
23*54f38fcaSMauro Carvalho ChehabThis format represents delta data from a touch controller.
24*54f38fcaSMauro Carvalho Chehab
25*54f38fcaSMauro Carvalho ChehabDelta values may range from -128 to 127. Typically the values will vary through
26*54f38fcaSMauro Carvalho Chehaba small range depending on whether the sensor is touched or not. The full value
27*54f38fcaSMauro Carvalho Chehabmay be seen if one of the touchscreen nodes has a fault or the line is not
28*54f38fcaSMauro Carvalho Chehabconnected.
29*54f38fcaSMauro Carvalho Chehab
30*54f38fcaSMauro Carvalho Chehab**Byte Order.**
31*54f38fcaSMauro Carvalho ChehabEach cell is one byte.
32*54f38fcaSMauro Carvalho Chehab
33*54f38fcaSMauro Carvalho Chehab
34*54f38fcaSMauro Carvalho Chehab
35*54f38fcaSMauro Carvalho Chehab.. flat-table::
36*54f38fcaSMauro Carvalho Chehab    :header-rows:  0
37*54f38fcaSMauro Carvalho Chehab    :stub-columns: 0
38*54f38fcaSMauro Carvalho Chehab    :widths:       2 1 1 1 1
39*54f38fcaSMauro Carvalho Chehab
40*54f38fcaSMauro Carvalho Chehab    * - start + 0:
41*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`00`
42*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`01`
43*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`02`
44*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`03`
45*54f38fcaSMauro Carvalho Chehab    * - start + 4:
46*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`10`
47*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`11`
48*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`12`
49*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`13`
50*54f38fcaSMauro Carvalho Chehab    * - start + 8:
51*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`20`
52*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`21`
53*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`22`
54*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`23`
55*54f38fcaSMauro Carvalho Chehab    * - start + 12:
56*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`30`
57*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`31`
58*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`32`
59*54f38fcaSMauro Carvalho Chehab      - D'\ :sub:`33`
60