Documentation/userspace-api/media/v4l/pixfmt-y8i.rst GitHub 원문 ↗

Linux 6.18.37 · Userspace API / Media / V4L

Y8I 8비트 교차 회색조

좌·우 8비트 회색조 샘플을 한 16비트 단위에 교대로 저장하는 방식을 설명합니다.

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

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약·해설

pixfmt-y8i.rst:1-66

좌·우 8비트 회색조 샘플을 한 16비트 단위에 교대로 저장하는 방식을 설명합니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3 .. _V4L2-PIX-FMT-Y8I:
4
5 *************************
6 V4L2_PIX_FMT_Y8I ('Y8I ')
7 *************************
8
9
10 Interleaved grey-scale image, e.g. from a stereo-pair
11
12
13 Description
14 ===========
15
16 This is a grey-scale image with a depth of 8 bits per pixel, but with
17 pixels from 2 sources interleaved. Each pixel is stored in a 16-bit
18 word. E.g. the R200 RealSense camera stores pixel from the left sensor
19 in lower and from the right sensor in the higher 8 bits.
20
21 **Byte Order.**
22 Each cell is one byte.
23
24
25
26
27 .. flat-table::
28 :header-rows: 0
29 :stub-columns: 0
30
31 * - start + 0:
32 - Y'\ :sub:`00left`
33 - Y'\ :sub:`00right`
34 - Y'\ :sub:`01left`
35 - Y'\ :sub:`01right`
36 - Y'\ :sub:`02left`
37 - Y'\ :sub:`02right`
38 - Y'\ :sub:`03left`
39 - Y'\ :sub:`03right`
40 * - start + 8:
41 - Y'\ :sub:`10left`
42 - Y'\ :sub:`10right`
43 - Y'\ :sub:`11left`
44 - Y'\ :sub:`11right`
45 - Y'\ :sub:`12left`
46 - Y'\ :sub:`12right`
47 - Y'\ :sub:`13left`
48 - Y'\ :sub:`13right`
49 * - start + 16:
50 - Y'\ :sub:`20left`
51 - Y'\ :sub:`20right`
52 - Y'\ :sub:`21left`
53 - Y'\ :sub:`21right`
54 - Y'\ :sub:`22left`
55 - Y'\ :sub:`22right`
56 - Y'\ :sub:`23left`
57 - Y'\ :sub:`23right`
58 * - start + 24:
59 - Y'\ :sub:`30left`
60 - Y'\ :sub:`30right`
61 - Y'\ :sub:`31left`
62 - Y'\ :sub:`31right`
63 - Y'\ :sub:`32left`
64 - Y'\ :sub:`32right`
65 - Y'\ :sub:`33left`
66 - Y'\ :sub:`33right`
67

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

8비트 좌·우 교차 배열

1-66

`V4L2_PIX_FMT_Y8I`는 두 소스의 8비트 회색조 픽셀을 교대로 저장합니다. 픽셀 한 쌍은 16비트 워드 하나를 이루며, 예를 들어 R200 RealSense 카메라는 왼쪽 센서 픽셀을 하위 8비트에, 오른쪽 센서 픽셀을 상위 8비트에 둡니다.

Y8I 4×4 예시의 바이트 순서
오프셋B0B1B2B3B4B5B6B7
start + 0Y'00leftY'00rightY'01leftY'01rightY'02leftY'02rightY'03leftY'03right
start + 8Y'10leftY'10rightY'11leftY'11rightY'12leftY'12rightY'13leftY'13right
start + 16Y'20leftY'20rightY'21leftY'21rightY'22leftY'22rightY'23leftY'23right
start + 24Y'30leftY'30rightY'31leftY'31rightY'32leftY'32rightY'33leftY'33right

각 셀은 1바이트이고 모든 위치에서 왼쪽 픽셀 다음에 오른쪽 픽셀이 옵니다.

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

.. _V4L2-PIX-FMT-Y8I:

*************************
V4L2_PIX_FMT_Y8I ('Y8I ')
*************************


Interleaved grey-scale image, e.g. from a stereo-pair


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

This is a grey-scale image with a depth of 8 bits per pixel, but with
pixels from 2 sources interleaved. Each pixel is stored in a 16-bit
word. E.g. the R200 RealSense camera stores pixel from the left sensor
in lower and from the right sensor in the higher 8 bits.

**Byte Order.**
Each cell is one byte.




.. flat-table::
    :header-rows:  0
    :stub-columns: 0

    * - start + 0:
      - Y'\ :sub:`00left`
      - Y'\ :sub:`00right`
      - Y'\ :sub:`01left`
      - Y'\ :sub:`01right`
      - Y'\ :sub:`02left`
      - Y'\ :sub:`02right`
      - Y'\ :sub:`03left`
      - Y'\ :sub:`03right`
    * - start + 8:
      - Y'\ :sub:`10left`
      - Y'\ :sub:`10right`
      - Y'\ :sub:`11left`
      - Y'\ :sub:`11right`
      - Y'\ :sub:`12left`
      - Y'\ :sub:`12right`
      - Y'\ :sub:`13left`
      - Y'\ :sub:`13right`
    * - start + 16:
      - Y'\ :sub:`20left`
      - Y'\ :sub:`20right`
      - Y'\ :sub:`21left`
      - Y'\ :sub:`21right`
      - Y'\ :sub:`22left`
      - Y'\ :sub:`22right`
      - Y'\ :sub:`23left`
      - Y'\ :sub:`23right`
    * - start + 24:
      - Y'\ :sub:`30left`
      - Y'\ :sub:`30right`
      - Y'\ :sub:`31left`
      - Y'\ :sub:`31right`
      - Y'\ :sub:`32left`
      - Y'\ :sub:`32right`
      - Y'\ :sub:`33left`
      - Y'\ :sub:`33right`