xref: /linux/Documentation/userspace-api/media/v4l/pixfmt-tch-td16.rst (revision cbecf716ca618fd44feda6bd9a64a8179d031fc5)
1*059b1c5bSMauro Carvalho Chehab.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
254f38fcaSMauro Carvalho Chehab
354f38fcaSMauro Carvalho Chehab.. _V4L2-TCH-FMT-DELTA-TD16:
454f38fcaSMauro Carvalho Chehab
554f38fcaSMauro Carvalho Chehab********************************
654f38fcaSMauro Carvalho ChehabV4L2_TCH_FMT_DELTA_TD16 ('TD16')
754f38fcaSMauro Carvalho Chehab********************************
854f38fcaSMauro Carvalho Chehab
954f38fcaSMauro Carvalho Chehab*man V4L2_TCH_FMT_DELTA_TD16(2)*
1054f38fcaSMauro Carvalho Chehab
1154f38fcaSMauro Carvalho Chehab16-bit signed little endian Touch Delta
1254f38fcaSMauro Carvalho Chehab
1354f38fcaSMauro Carvalho Chehab
1454f38fcaSMauro Carvalho ChehabDescription
1554f38fcaSMauro Carvalho Chehab===========
1654f38fcaSMauro Carvalho Chehab
1754f38fcaSMauro Carvalho ChehabThis format represents delta data from a touch controller.
1854f38fcaSMauro Carvalho Chehab
1954f38fcaSMauro Carvalho ChehabDelta values may range from -32768 to 32767. Typically the values will vary
2054f38fcaSMauro Carvalho Chehabthrough a small range depending on whether the sensor is touched or not. The
2154f38fcaSMauro Carvalho Chehabfull value may be seen if one of the touchscreen nodes has a fault or the line
2254f38fcaSMauro Carvalho Chehabis not connected.
2354f38fcaSMauro Carvalho Chehab
2454f38fcaSMauro Carvalho Chehab**Byte Order.**
2554f38fcaSMauro Carvalho ChehabEach cell is one byte.
2654f38fcaSMauro Carvalho Chehab
2754f38fcaSMauro Carvalho Chehab.. flat-table::
2854f38fcaSMauro Carvalho Chehab    :header-rows:  0
2954f38fcaSMauro Carvalho Chehab    :stub-columns: 0
3054f38fcaSMauro Carvalho Chehab    :widths:       2 1 1 1 1 1 1 1 1
3154f38fcaSMauro Carvalho Chehab
3254f38fcaSMauro Carvalho Chehab    * - start + 0:
3354f38fcaSMauro Carvalho Chehab      - D'\ :sub:`00low`
3454f38fcaSMauro Carvalho Chehab      - D'\ :sub:`00high`
3554f38fcaSMauro Carvalho Chehab      - D'\ :sub:`01low`
3654f38fcaSMauro Carvalho Chehab      - D'\ :sub:`01high`
3754f38fcaSMauro Carvalho Chehab      - D'\ :sub:`02low`
3854f38fcaSMauro Carvalho Chehab      - D'\ :sub:`02high`
3954f38fcaSMauro Carvalho Chehab      - D'\ :sub:`03low`
4054f38fcaSMauro Carvalho Chehab      - D'\ :sub:`03high`
4154f38fcaSMauro Carvalho Chehab    * - start + 8:
4254f38fcaSMauro Carvalho Chehab      - D'\ :sub:`10low`
4354f38fcaSMauro Carvalho Chehab      - D'\ :sub:`10high`
4454f38fcaSMauro Carvalho Chehab      - D'\ :sub:`11low`
4554f38fcaSMauro Carvalho Chehab      - D'\ :sub:`11high`
4654f38fcaSMauro Carvalho Chehab      - D'\ :sub:`12low`
4754f38fcaSMauro Carvalho Chehab      - D'\ :sub:`12high`
4854f38fcaSMauro Carvalho Chehab      - D'\ :sub:`13low`
4954f38fcaSMauro Carvalho Chehab      - D'\ :sub:`13high`
5054f38fcaSMauro Carvalho Chehab    * - start + 16:
5154f38fcaSMauro Carvalho Chehab      - D'\ :sub:`20low`
5254f38fcaSMauro Carvalho Chehab      - D'\ :sub:`20high`
5354f38fcaSMauro Carvalho Chehab      - D'\ :sub:`21low`
5454f38fcaSMauro Carvalho Chehab      - D'\ :sub:`21high`
5554f38fcaSMauro Carvalho Chehab      - D'\ :sub:`22low`
5654f38fcaSMauro Carvalho Chehab      - D'\ :sub:`22high`
5754f38fcaSMauro Carvalho Chehab      - D'\ :sub:`23low`
5854f38fcaSMauro Carvalho Chehab      - D'\ :sub:`23high`
5954f38fcaSMauro Carvalho Chehab    * - start + 24:
6054f38fcaSMauro Carvalho Chehab      - D'\ :sub:`30low`
6154f38fcaSMauro Carvalho Chehab      - D'\ :sub:`30high`
6254f38fcaSMauro Carvalho Chehab      - D'\ :sub:`31low`
6354f38fcaSMauro Carvalho Chehab      - D'\ :sub:`31high`
6454f38fcaSMauro Carvalho Chehab      - D'\ :sub:`32low`
6554f38fcaSMauro Carvalho Chehab      - D'\ :sub:`32high`
6654f38fcaSMauro Carvalho Chehab      - D'\ :sub:`33low`
6754f38fcaSMauro Carvalho Chehab      - D'\ :sub:`33high`
68