요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
.. _common:
###################
Common API Elements
###################
Programming a V4L2 device consists of these steps:
- Opening the device
- Changing device properties, selecting a video and audio input, video
standard, picture brightness a. o.
- Negotiating a data format
- Negotiating an input/output method
- The actual input/output loop
- Closing the device
In practice most steps are optional and can be executed out of order. It
depends on the V4L2 device type, you can read about the details in
:ref:`devices`. In this chapter we will discuss the basic concepts
applicable to all devices.
.. toctree::
:maxdepth: 1
open
querycap
app-pri
video
audio
tuner
standard
dv-timings
control
extended-controls
ext-ctrls-camera
ext-ctrls-flash
ext-ctrls-image-source
ext-ctrls-image-process
ext-ctrls-codec
ext-ctrls-codec-stateless
ext-ctrls-jpeg
ext-ctrls-dv
ext-ctrls-rf-tuner
ext-ctrls-fm-tx
ext-ctrls-fm-rx
ext-ctrls-detect
ext-ctrls-colorimetry
fourcc
format
planar-apis
selection-api
crop
streaming-par
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
V4L2 장치 프로그래밍 절차
1-26V4L2 장치 프로그래밍은 장치 열기, 속성과 입력·표준·밝기 변경, 데이터 형식 협상, I/O 방식 협상, 실제 I/O 루프, 장치 닫기의 여섯 단계로 설명할 수 있습니다.
실제로는 대부분 단계가 선택 사항이며 순서도 고정되지 않습니다. 필요한 절차는 V4L2 장치 유형에 따라 달라지고, `devices` 절에서 유형별 세부 동작을 설명합니다.
이 장은 특정 장치의 캡처·출력 동작보다 모든 V4L2 장치에 공통으로 적용되는 기본 개념과 ioctl 계약을 모읍니다.
장치에 따라 일부 단계를 생략하거나 순서를 바꿀 수 있습니다.
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
.. _common:
###################
Common API Elements
###################
Programming a V4L2 device consists of these steps:
- Opening the device
- Changing device properties, selecting a video and audio input, video
standard, picture brightness a. o.
- Negotiating a data format
- Negotiating an input/output method
- The actual input/output loop
- Closing the device
In practice most steps are optional and can be executed out of order. It
depends on the V4L2 device type, you can read about the details in
:ref:`devices`. In this chapter we will discuss the basic concepts
applicable to all devices.
공통 API 문서 목차
27-60목차는 장치 접근과 capability 조회부터 우선순위, 입력·출력 선택, 컨트롤, 픽셀 형식, selection/crop, 스트리밍 파라미터까지 공통 API를 기능별로 연결합니다.
각 toctree 항목이 다루는 주제입니다.
.. toctree::
:maxdepth: 1
open
querycap
app-pri
video
audio
tuner
standard
dv-timings
control
extended-controls
ext-ctrls-camera
ext-ctrls-flash
ext-ctrls-image-source
ext-ctrls-image-process
ext-ctrls-codec
ext-ctrls-codec-stateless
ext-ctrls-jpeg
ext-ctrls-dv
ext-ctrls-rf-tuner
ext-ctrls-fm-tx
ext-ctrls-fm-rx
ext-ctrls-detect
ext-ctrls-colorimetry
fourcc
format
planar-apis
selection-api
crop
streaming-par
요약·해설
common.rst:1-60장치 열기부터 형식과 I/O 협상, 실제 루프와 닫기까지의 공통 흐름과 각 세부 API 문서의 진입점입니다.