aboutsummaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/pixfmt-tch-td16.rst
blob: 4031b175257c2220c2477d8bff31322da87ab5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.. Permission is granted to copy, distribute and/or modify this
.. document under the terms of the GNU Free Documentation License,
.. Version 1.1 or any later version published by the Free Software
.. Foundation, with no Invariant Sections, no Front-Cover Texts
.. and no Back-Cover Texts. A copy of the license is included at
.. Documentation/media/uapi/fdl-appendix.rst.
..
.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections

.. _V4L2-TCH-FMT-DELTA-TD16:

********************************
V4L2_TCH_FMT_DELTA_TD16 ('TD16')
********************************

*man V4L2_TCH_FMT_DELTA_TD16(2)*

16-bit signed Touch Delta


Description
===========

This format represents delta data from a touch controller.

Delta values may range from -32768 to 32767. Typically the values will vary
through a small range depending on whether the sensor is touched or not. The
full value may be seen if one of the touchscreen nodes has a fault or the line
is not connected.

**Byte Order.**
Each cell is one byte.

.. flat-table::
    :header-rows:  0
    :stub-columns: 0
    :widths:       2 1 1 1 1 1 1 1 1

    * - start + 0:
      - D'\ :sub:`00high`
      - D'\ :sub:`00low`
      - D'\ :sub:`01high`
      - D'\ :sub:`01low`
      - D'\ :sub:`02high`
      - D'\ :sub:`02low`
      - D'\ :sub:`03high`
      - D'\ :sub:`03low`
    * - start + 8:
      - D'\ :sub:`10high`
      - D'\ :sub:`10low`
      - D'\ :sub:`11high`
      - D'\ :sub:`11low`
      - D'\ :sub:`12high`
      - D'\ :sub:`12low`
      - D'\ :sub:`13high`
      - D'\ :sub:`13low`
    * - start + 16:
      - D'\ :sub:`20high`
      - D'\ :sub:`20low`
      - D'\ :sub:`21high`
      - D'\ :sub:`21low`
      - D'\ :sub:`22high`
      - D'\ :sub:`22low`
      - D'\ :sub:`23high`
      - D'\ :sub:`23low`
    * - start + 24:
      - D'\ :sub:`30high`
      - D'\ :sub:`30low`
      - D'\ :sub:`31high`
      - D'\ :sub:`31low`
      - D'\ :sub:`32high`
      - D'\ :sub:`32low`
      - D'\ :sub:`33high`
      - D'\ :sub:`33low`