요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
3
.. _v4l2-meta-fmt-vivid:
5
*******************************
6
V4L2_META_FMT_VIVID ('VIVD')
7
*******************************
9
VIVID Metadata Format
12
Description
13
===========
15
This describes metadata format used by the vivid driver.
17
It sets Brightness, Saturation, Contrast and Hue, each of which maps to
18
corresponding controls of the vivid driver with respect to the range and default values.
20
It contains the following fields:
22
.. flat-table:: VIVID Metadata
23
:widths: 1 4
24
:header-rows: 1
25
:stub-columns: 0
27
* - Field
28
- Description
29
* - u16 brightness;
30
- Image brightness, the value is in the range 0 to 255, with the default value as 128.
31
* - u16 contrast;
32
- Image contrast, the value is in the range 0 to 255, with the default value as 128.
33
* - u16 saturation;
34
- Image color saturation, the value is in the range 0 to 255, with the default value as 128.
35
* - s16 hue;
36
- Image color balance, the value is in the range -128 to 128, with the default value as 0.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
vivid 영상 제어 값을 담는 구조
1-36`V4L2_META_FMT_VIVID`는 vivid 드라이버가 사용하는 메타데이터 형식입니다. Brightness, Contrast, Saturation, Hue를 담고 각 값의 범위와 기본값은 vivid 드라이버의 대응 control과 일치합니다.
항목설명
`u16 brightness`밝기 0~255, 기본값 128
`u16 contrast`대비 0~255, 기본값 128
`u16 saturation`색 채도 0~255, 기본값 128
`s16 hue`색 균형 -128~128, 기본값 0
영상 제어 값의 자료형, 범위와 기본값입니다.
.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
.. _v4l2-meta-fmt-vivid:
*******************************
V4L2_META_FMT_VIVID ('VIVD')
*******************************
VIVID Metadata Format
Description
===========
This describes metadata format used by the vivid driver.
It sets Brightness, Saturation, Contrast and Hue, each of which maps to
corresponding controls of the vivid driver with respect to the range and default values.
It contains the following fields:
.. flat-table:: VIVID Metadata
:widths: 1 4
:header-rows: 1
:stub-columns: 0
* - Field
- Description
* - u16 brightness;
- Image brightness, the value is in the range 0 to 255, with the default value as 128.
* - u16 contrast;
- Image contrast, the value is in the range 0 to 255, with the default value as 128.
* - u16 saturation;
- Image color saturation, the value is in the range 0 to 255, with the default value as 128.
* - s16 hue;
- Image color balance, the value is in the range -128 to 128, with the default value as 0.
요약·해설
metafmt-vivid.rst:VIVD는 vivid control과 같은 범위·기본값을 갖는 네 영상 조정 값을 프레임 메타데이터로 전달합니다.1-36