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

Linux 6.18.37 · Userspace API / Media / V4L

8-bit signed Touch Delta

Touch delta를 -128~127 범위의 signed byte matrix로 저장합니다.

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

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

1. 요약·해설

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

요약·해설

pixfmt-tch-td08.rst:1-52

Touch delta를 -128~127 범위의 signed byte matrix로 저장합니다.

2. 영어 원문 전체

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

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

3. 한국어 전문 번역

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

TD08 signed delta matrix

1-52

`V4L2_TCH_FMT_DELTA_TD08` (`TD08`)은 touch controller의 delta data를 표현하는 8-bit signed 형식입니다. Delta 값 범위는 -128부터 127까지입니다.

일반적으로 값은 sensor가 touch됐는지에 따라 작은 범위에서 변합니다. Touchscreen node 하나에 fault가 있거나 line이 연결되지 않았다면 전체 범위의 값이 나타날 수 있습니다. 각 cell은 1 byte이며 아래 예는 4x4 delta matrix를 행 우선으로 저장합니다.

TD08 4x4 byte 순서
OffsetB0B1B2B3
start + 0D00D01D02D03
start + 4D10D11D12D13
start + 8D20D21D22D23
start + 12D30D31D32D33

D'rc는 row r, column c의 signed delta 값입니다.

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

.. _V4L2-TCH-FMT-DELTA-TD08:

********************************
V4L2_TCH_FMT_DELTA_TD08 ('TD08')
********************************

*man V4L2_TCH_FMT_DELTA_TD08(2)*

8-bit signed Touch Delta

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

This format represents delta data from a touch controller.

Delta values may range from -128 to 127. 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

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