요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3
.. _V4L2-PIX-FMT-Z16:
5
*************************
6
V4L2_PIX_FMT_Z16 ('Z16 ')
7
*************************
10
16-bit depth data with distance values at each pixel
13
Description
14
===========
16
This is a 16-bit format, representing depth data. Each pixel is a
17
distance to the respective point in the image coordinates. Distance unit
18
can vary and has to be negotiated with the device separately. Each pixel
19
is stored in a 16-bit word in the little endian byte order.
21
**Byte Order.**
22
Each cell is one byte.
27
.. flat-table::
28
:header-rows: 0
29
:stub-columns: 0
31
* - start + 0:
32
- Z\ :sub:`00low`
33
- Z\ :sub:`00high`
34
- Z\ :sub:`01low`
35
- Z\ :sub:`01high`
36
- Z\ :sub:`02low`
37
- Z\ :sub:`02high`
38
- Z\ :sub:`03low`
39
- Z\ :sub:`03high`
40
* - start + 8:
41
- Z\ :sub:`10low`
42
- Z\ :sub:`10high`
43
- Z\ :sub:`11low`
44
- Z\ :sub:`11high`
45
- Z\ :sub:`12low`
46
- Z\ :sub:`12high`
47
- Z\ :sub:`13low`
48
- Z\ :sub:`13high`
49
* - start + 16:
50
- Z\ :sub:`20low`
51
- Z\ :sub:`20high`
52
- Z\ :sub:`21low`
53
- Z\ :sub:`21high`
54
- Z\ :sub:`22low`
55
- Z\ :sub:`22high`
56
- Z\ :sub:`23low`
57
- Z\ :sub:`23high`
58
* - start + 24:
59
- Z\ :sub:`30low`
60
- Z\ :sub:`30high`
61
- Z\ :sub:`31low`
62
- Z\ :sub:`31high`
63
- Z\ :sub:`32low`
64
- Z\ :sub:`32high`
65
- Z\ :sub:`33low`
66
- Z\ :sub:`33high`
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
16비트 거리 깊이 데이터
1-66`V4L2_PIX_FMT_Z16`은 깊이 데이터를 표현하는 16비트 포맷입니다. 각 픽셀 값은 영상 좌표에 대응하는 지점까지의 거리입니다. 거리 단위는 장치마다 다를 수 있으므로 장치와 별도로 협상해야 합니다.
각 픽셀은 16비트 리틀 엔디언 워드로 저장합니다. 따라서 각 좌표에서 하위 바이트가 먼저, 상위 바이트가 다음에 옵니다.
오프셋B0B1B2B3B4B5B6B7
start + 0Z00lowZ00highZ01lowZ01highZ02lowZ02highZ03lowZ03high
start + 8Z10lowZ10highZ11lowZ11highZ12lowZ12highZ13lowZ13high
start + 16Z20lowZ20highZ21lowZ21highZ22lowZ22highZ23lowZ23high
start + 24Z30lowZ30highZ31lowZ31highZ32lowZ32highZ33lowZ33high
각 셀은 1바이트입니다.
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
.. _V4L2-PIX-FMT-Z16:
*************************
V4L2_PIX_FMT_Z16 ('Z16 ')
*************************
16-bit depth data with distance values at each pixel
Description
===========
This is a 16-bit format, representing depth data. Each pixel is a
distance to the respective point in the image coordinates. Distance unit
can vary and has to be negotiated with the device separately. Each pixel
is stored in a 16-bit word in the little endian byte order.
**Byte Order.**
Each cell is one byte.
.. flat-table::
:header-rows: 0
:stub-columns: 0
* - start + 0:
- Z\ :sub:`00low`
- Z\ :sub:`00high`
- Z\ :sub:`01low`
- Z\ :sub:`01high`
- Z\ :sub:`02low`
- Z\ :sub:`02high`
- Z\ :sub:`03low`
- Z\ :sub:`03high`
* - start + 8:
- Z\ :sub:`10low`
- Z\ :sub:`10high`
- Z\ :sub:`11low`
- Z\ :sub:`11high`
- Z\ :sub:`12low`
- Z\ :sub:`12high`
- Z\ :sub:`13low`
- Z\ :sub:`13high`
* - start + 16:
- Z\ :sub:`20low`
- Z\ :sub:`20high`
- Z\ :sub:`21low`
- Z\ :sub:`21high`
- Z\ :sub:`22low`
- Z\ :sub:`22high`
- Z\ :sub:`23low`
- Z\ :sub:`23high`
* - start + 24:
- Z\ :sub:`30low`
- Z\ :sub:`30high`
- Z\ :sub:`31low`
- Z\ :sub:`31high`
- Z\ :sub:`32low`
- Z\ :sub:`32high`
- Z\ :sub:`33low`
- Z\ :sub:`33high`
요약·해설
pixfmt-z16.rst:1-66픽셀별 거리를 16비트 리틀 엔디언 워드로 저장하는 깊이 포맷을 설명합니다.