← Documents Documentation/userspace-api/media/v4l/pixfmt-tch-td16.rst GitHub 원문 ↗

Linux 6.18.37 · Userspace API / Media / V4L

16-bit signed Touch Delta

Touch delta를 -32768~32767 범위의 little-endian signed word matrix로 저장합니다.

Source pathDocumentation/userspace-api/media/v4l/pixfmt-tch-td16.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

pixfmt-tch-td16.rst:1-67

Touch delta를 -32768~32767 범위의 little-endian signed word matrix로 저장합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3 .. _V4L2-TCH-FMT-DELTA-TD16:
4
5 ********************************
6 V4L2_TCH_FMT_DELTA_TD16 ('TD16')
7 ********************************
8
9 *man V4L2_TCH_FMT_DELTA_TD16(2)*
10
11 16-bit signed little endian Touch Delta
12
13
14 Description
15 ===========
16
17 This format represents delta data from a touch controller.
18
19 Delta values may range from -32768 to 32767. Typically the values will vary
20 through a small range depending on whether the sensor is touched or not. The
21 full value may be seen if one of the touchscreen nodes has a fault or the line
22 is not connected.
23
24 **Byte Order.**
25 Each cell is one byte.
26
27 .. flat-table::
28 :header-rows: 0
29 :stub-columns: 0
30 :widths: 2 1 1 1 1 1 1 1 1
31
32 * - start + 0:
33 - D'\ :sub:`00low`
34 - D'\ :sub:`00high`
35 - D'\ :sub:`01low`
36 - D'\ :sub:`01high`
37 - D'\ :sub:`02low`
38 - D'\ :sub:`02high`
39 - D'\ :sub:`03low`
40 - D'\ :sub:`03high`
41 * - start + 8:
42 - D'\ :sub:`10low`
43 - D'\ :sub:`10high`
44 - D'\ :sub:`11low`
45 - D'\ :sub:`11high`
46 - D'\ :sub:`12low`
47 - D'\ :sub:`12high`
48 - D'\ :sub:`13low`
49 - D'\ :sub:`13high`
50 * - start + 16:
51 - D'\ :sub:`20low`
52 - D'\ :sub:`20high`
53 - D'\ :sub:`21low`
54 - D'\ :sub:`21high`
55 - D'\ :sub:`22low`
56 - D'\ :sub:`22high`
57 - D'\ :sub:`23low`
58 - D'\ :sub:`23high`
59 * - start + 24:
60 - D'\ :sub:`30low`
61 - D'\ :sub:`30high`
62 - D'\ :sub:`31low`
63 - D'\ :sub:`31high`
64 - D'\ :sub:`32low`
65 - D'\ :sub:`32high`
66 - D'\ :sub:`33low`
67 - D'\ :sub:`33high`
68

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

TD16 signed delta matrix

1-67

`V4L2_TCH_FMT_DELTA_TD16` (`TD16`)은 touch controller의 delta data를 16-bit signed little-endian 값으로 표현합니다. Delta 범위는 -32768부터 32767까지입니다.

정상적으로는 touch 상태에 따라 작은 범위에서 변하지만 touchscreen node fault나 line 단선에서는 전체 범위 값이 보일 수 있습니다. 각 cell은 1 byte이고 각 delta 표본의 low byte가 high byte보다 먼저 옵니다.

TD16 4x4 byte 순서
OffsetB0B1B2B3B4B5B6B7
start + 0D00[7:0]D00[15:8]D01[7:0]D01[15:8]D02[7:0]D02[15:8]D03[7:0]D03[15:8]
start + 8D10[7:0]D10[15:8]D11[7:0]D11[15:8]D12[7:0]D12[15:8]D13[7:0]D13[15:8]
start + 16D20[7:0]D20[15:8]D21[7:0]D21[15:8]D22[7:0]D22[15:8]D23[7:0]D23[15:8]
start + 24D30[7:0]D30[15:8]D31[7:0]D31[15:8]D32[7:0]D32[15:8]D33[7:0]D33[15:8]

D'rc 표본마다 little-endian 두 byte를 사용합니다.

.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later

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

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

*man V4L2_TCH_FMT_DELTA_TD16(2)*

16-bit signed little endian 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:`00low`
      - D'\ :sub:`00high`
      - D'\ :sub:`01low`
      - D'\ :sub:`01high`
      - D'\ :sub:`02low`
      - D'\ :sub:`02high`
      - D'\ :sub:`03low`
      - D'\ :sub:`03high`
    * - start + 8:
      - D'\ :sub:`10low`
      - D'\ :sub:`10high`
      - D'\ :sub:`11low`
      - D'\ :sub:`11high`
      - D'\ :sub:`12low`
      - D'\ :sub:`12high`
      - D'\ :sub:`13low`
      - D'\ :sub:`13high`
    * - start + 16:
      - D'\ :sub:`20low`
      - D'\ :sub:`20high`
      - D'\ :sub:`21low`
      - D'\ :sub:`21high`
      - D'\ :sub:`22low`
      - D'\ :sub:`22high`
      - D'\ :sub:`23low`
      - D'\ :sub:`23high`
    * - start + 24:
      - D'\ :sub:`30low`
      - D'\ :sub:`30high`
      - D'\ :sub:`31low`
      - D'\ :sub:`31high`
      - D'\ :sub:`32low`
      - D'\ :sub:`32high`
      - D'\ :sub:`33low`
      - D'\ :sub:`33high`