요약·해설과 원문, 전문 번역을 서로 분리했습니다. 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-Y16I:
5
**************************
6
V4L2_PIX_FMT_Y16I ('Y16I')
7
**************************
9
Interleaved grey-scale image, e.g. from a stereo-pair
12
Description
13
===========
15
This is a grey-scale image with a depth of 16 bits per pixel, but with pixels
16
from 2 sources interleaved and unpacked. Each pixel is stored in a 16-bit word
17
in the little-endian order. The first pixel is from the left source.
19
**Pixel unpacked representation.**
20
Left/Right pixels 16-bit unpacked - 16-bit for each interleaved pixel.
22
.. flat-table::
23
:header-rows: 0
24
:stub-columns: 0
26
* - Y'\ :sub:`0L[7:0]`
27
- Y'\ :sub:`0L[15:8]`
28
- Y'\ :sub:`0R[7:0]`
29
- Y'\ :sub:`0R[15:8]`
31
**Byte Order.**
32
Each cell is one byte.
34
.. flat-table::
35
:header-rows: 0
36
:stub-columns: 0
38
* - start + 0:
39
- Y'\ :sub:`00Llow`
40
- Y'\ :sub:`00Lhigh`
41
- Y'\ :sub:`00Rlow`
42
- Y'\ :sub:`00Rhigh`
43
- Y'\ :sub:`01Llow`
44
- Y'\ :sub:`01Lhigh`
45
- Y'\ :sub:`01Rlow`
46
- Y'\ :sub:`01Rhigh`
47
* - start + 8:
48
- Y'\ :sub:`10Llow`
49
- Y'\ :sub:`10Lhigh`
50
- Y'\ :sub:`10Rlow`
51
- Y'\ :sub:`10Rhigh`
52
- Y'\ :sub:`11Llow`
53
- Y'\ :sub:`11Lhigh`
54
- Y'\ :sub:`11Rlow`
55
- Y'\ :sub:`11Rhigh`
56
* - start + 16:
57
- Y'\ :sub:`20Llow`
58
- Y'\ :sub:`20Lhigh`
59
- Y'\ :sub:`20Rlow`
60
- Y'\ :sub:`20Rhigh`
61
- Y'\ :sub:`21Llow`
62
- Y'\ :sub:`21Lhigh`
63
- Y'\ :sub:`21Rlow`
64
- Y'\ :sub:`21Rhigh`
65
* - start + 24:
66
- Y'\ :sub:`30Llow`
67
- Y'\ :sub:`30Lhigh`
68
- Y'\ :sub:`30Rlow`
69
- Y'\ :sub:`30Rhigh`
70
- Y'\ :sub:`31Llow`
71
- Y'\ :sub:`31Lhigh`
72
- Y'\ :sub:`31Rlow`
73
- Y'\ :sub:`31Rhigh`
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
16비트 좌·우 비패킹 배열
1-73`V4L2_PIX_FMT_Y16I`는 두 소스의 회색조 픽셀을 교대로 저장하는 픽셀당 16비트 포맷입니다. 각 픽셀은 패킹하지 않은 16비트 리틀 엔디언 워드이며, 왼쪽 소스의 픽셀이 먼저 옵니다. 따라서 한 위치의 반복 단위는 `L low`, `L high`, `R low`, `R high`의 4바이트입니다.
바이트내용
Byte 0Y'0L[7:0]
Byte 1Y'0L[15:8]
Byte 2Y'0R[7:0]
Byte 3Y'0R[15:8]
왼쪽 16비트 워드 다음에 오른쪽 16비트 워드를 둡니다.
오프셋B0B1B2B3B4B5B6B7
start + 0Y'00LlowY'00LhighY'00RlowY'00RhighY'01LlowY'01LhighY'01RlowY'01Rhigh
start + 8Y'10LlowY'10LhighY'10RlowY'10RhighY'11LlowY'11LhighY'11RlowY'11Rhigh
start + 16Y'20LlowY'20LhighY'20RlowY'20RhighY'21LlowY'21LhighY'21RlowY'21Rhigh
start + 24Y'30LlowY'30LhighY'30RlowY'30RhighY'31LlowY'31LhighY'31RlowY'31Rhigh
각 셀은 1바이트이며, 행마다 두 좌표의 좌·우 픽셀 쌍을 연속 저장합니다.
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
.. _V4L2-PIX-FMT-Y16I:
**************************
V4L2_PIX_FMT_Y16I ('Y16I')
**************************
Interleaved grey-scale image, e.g. from a stereo-pair
Description
===========
This is a grey-scale image with a depth of 16 bits per pixel, but with pixels
from 2 sources interleaved and unpacked. Each pixel is stored in a 16-bit word
in the little-endian order. The first pixel is from the left source.
**Pixel unpacked representation.**
Left/Right pixels 16-bit unpacked - 16-bit for each interleaved pixel.
.. flat-table::
:header-rows: 0
:stub-columns: 0
* - Y'\ :sub:`0L[7:0]`
- Y'\ :sub:`0L[15:8]`
- Y'\ :sub:`0R[7:0]`
- Y'\ :sub:`0R[15:8]`
**Byte Order.**
Each cell is one byte.
.. flat-table::
:header-rows: 0
:stub-columns: 0
* - start + 0:
- Y'\ :sub:`00Llow`
- Y'\ :sub:`00Lhigh`
- Y'\ :sub:`00Rlow`
- Y'\ :sub:`00Rhigh`
- Y'\ :sub:`01Llow`
- Y'\ :sub:`01Lhigh`
- Y'\ :sub:`01Rlow`
- Y'\ :sub:`01Rhigh`
* - start + 8:
- Y'\ :sub:`10Llow`
- Y'\ :sub:`10Lhigh`
- Y'\ :sub:`10Rlow`
- Y'\ :sub:`10Rhigh`
- Y'\ :sub:`11Llow`
- Y'\ :sub:`11Lhigh`
- Y'\ :sub:`11Rlow`
- Y'\ :sub:`11Rhigh`
* - start + 16:
- Y'\ :sub:`20Llow`
- Y'\ :sub:`20Lhigh`
- Y'\ :sub:`20Rlow`
- Y'\ :sub:`20Rhigh`
- Y'\ :sub:`21Llow`
- Y'\ :sub:`21Lhigh`
- Y'\ :sub:`21Rlow`
- Y'\ :sub:`21Rhigh`
* - start + 24:
- Y'\ :sub:`30Llow`
- Y'\ :sub:`30Lhigh`
- Y'\ :sub:`30Rlow`
- Y'\ :sub:`30Rhigh`
- Y'\ :sub:`31Llow`
- Y'\ :sub:`31Lhigh`
- Y'\ :sub:`31Rlow`
- Y'\ :sub:`31Rhigh`
요약·해설
pixfmt-y16i.rst:1-73좌·우 16비트 리틀 엔디언 샘플을 교대로 저장하는 바이트 순서를 설명합니다.