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

Linux 6.18.37 · Userspace API / Media / V4L

16-bit unsigned raw Touch data

Raw·reference touch data를 0~65535 범위의 little-endian word matrix로 저장합니다.

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

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

1. 요약·해설

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

요약·해설

pixfmt-tch-tu16.rst:1-66

Raw·reference touch data를 0~65535 범위의 little-endian word matrix로 저장합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3 .. _V4L2-TCH-FMT-TU16:
4
5 ********************************
6 V4L2_TCH_FMT_TU16 ('TU16')
7 ********************************
8
9 *man V4L2_TCH_FMT_TU16(2)*
10
11 16-bit unsigned little endian raw touch data
12
13
14 Description
15 ===========
16
17 This format represents unsigned 16-bit data from a touch controller.
18
19 This may be used for output for raw and reference data. Values may range from
20 0 to 65535.
21
22 **Byte Order.**
23 Each cell is one byte.
24
25
26 .. flat-table::
27 :header-rows: 0
28 :stub-columns: 0
29 :widths: 2 1 1 1 1 1 1 1 1
30
31 * - start + 0:
32 - R'\ :sub:`00low`
33 - R'\ :sub:`00high`
34 - R'\ :sub:`01low`
35 - R'\ :sub:`01high`
36 - R'\ :sub:`02low`
37 - R'\ :sub:`02high`
38 - R'\ :sub:`03low`
39 - R'\ :sub:`03high`
40 * - start + 8:
41 - R'\ :sub:`10low`
42 - R'\ :sub:`10high`
43 - R'\ :sub:`11low`
44 - R'\ :sub:`11high`
45 - R'\ :sub:`12low`
46 - R'\ :sub:`12high`
47 - R'\ :sub:`13low`
48 - R'\ :sub:`13high`
49 * - start + 16:
50 - R'\ :sub:`20low`
51 - R'\ :sub:`20high`
52 - R'\ :sub:`21low`
53 - R'\ :sub:`21high`
54 - R'\ :sub:`22low`
55 - R'\ :sub:`22high`
56 - R'\ :sub:`23low`
57 - R'\ :sub:`23high`
58 * - start + 24:
59 - R'\ :sub:`30low`
60 - R'\ :sub:`30high`
61 - R'\ :sub:`31low`
62 - R'\ :sub:`31high`
63 - R'\ :sub:`32low`
64 - R'\ :sub:`32high`
65 - R'\ :sub:`33low`
66 - R'\ :sub:`33high`
67

3. 한국어 전문 번역

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

TU16 raw/reference matrix

1-66

`V4L2_TCH_FMT_TU16` (`TU16`)은 touch controller의 unsigned 16-bit data를 little-endian으로 저장합니다. Raw data와 reference data 출력에 사용할 수 있고 값 범위는 0부터 65535까지입니다.

각 cell은 1 byte입니다. 표본 하나는 low byte와 high byte의 두 cell을 차지하며 아래 4x4 matrix를 행 우선으로 저장합니다.

TU16 4x4 byte 순서
OffsetB0B1B2B3B4B5B6B7
start + 0R00[7:0]R00[15:8]R01[7:0]R01[15:8]R02[7:0]R02[15:8]R03[7:0]R03[15:8]
start + 8R10[7:0]R10[15:8]R11[7:0]R11[15:8]R12[7:0]R12[15:8]R13[7:0]R13[15:8]
start + 16R20[7:0]R20[15:8]R21[7:0]R21[15:8]R22[7:0]R22[15:8]R23[7:0]R23[15:8]
start + 24R30[7:0]R30[15:8]R31[7:0]R31[15:8]R32[7:0]R32[15:8]R33[7:0]R33[15:8]

R'rc 표본마다 low byte 뒤에 high byte가 옵니다.

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

.. _V4L2-TCH-FMT-TU16:

********************************
V4L2_TCH_FMT_TU16 ('TU16')
********************************

*man V4L2_TCH_FMT_TU16(2)*

16-bit unsigned little endian raw touch data


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

This format represents unsigned 16-bit data from a touch controller.

This may be used for output for raw and reference data. Values may range from
0 to 65535.

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