hardware/peripherals/video.html · hardware/peripherals/video.rst 공식 원문 ↗

Zephyr 3.7.0 · Hardware · Peripherals · Video

Video

Video data를 생산·처리·소비·변환하는 device와 data transport 구조를 설명합니다.

Official pathhardware/peripherals/video.html
Source filehardware/peripherals/video.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

Endpoint direction, buffer queue/dequeue, CID 기반 control을 구분합니다.

Data path

device · endpoint · buffer

Control

CID · get/set

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 33DB3768A1698AF210E9367930C6D9EE74A31050BE602F3D2A40D37AB2C1FDCE
.. _video_api:

Video
#####

The video driver API offers a generic interface to video devices.

Basic Operation
***************

Video Device
============

A video device is the abstraction of a hardware or software video function,
which can produce, process, consume or transform video data. The video API is
designed to offer flexible way to create, handle and combine various video
devices.

Endpoint
========

Each video device can have one or more endpoints. Output endpoints configure
video output function and generate data. Input endpoints configure video input
function and consume data.

Video Buffer
============

A video buffer provides the transport mechanism for the data. There is no
particular requirement on the content. The requirement for the content is
defined by the endpoint format. A video buffer can be queued to a device
endpoint for filling (input ep) or consuming (output ep) operation, once
the operation is achieved, buffer can be dequeued for post-processing,
release or reuse.

Controls
========

A video control is accessed and identified by a CID (control identifier). It
represents a video control property. Different devices will have different
controls available which can be generic, related to a device class or vendor
specific. The set/get control functions provide a generic scalable interface
to handle and create controls.

Configuration Options
*********************

Related configuration options:

* :kconfig:option:`CONFIG_VIDEO`

API Reference
*************

.. doxygengroup:: video_interface

.. doxygengroup:: video_controls

Part 3

한국어 전문 번역

Video driver API는 video device를 위한 범용 interface를 제공합니다.

Basic Operation

Video Device

Video device는 video data를 생성·처리·소비·변환할 수 있는 hardware 또는 software video function의 abstraction입니다. Video API는 여러 video device를 유연하게 생성·처리·조합하도록 설계됐습니다.

Endpoint

각 video device는 endpoint를 하나 이상 가질 수 있습니다. Output endpoint는 video output function을 구성하고 data를 생성합니다. Input endpoint는 video input function을 구성하고 data를 소비합니다.

Video Buffer

Video buffer는 data transport mechanism을 제공합니다. Content 자체에 특별한 요구사항은 없으며 endpoint format이 content 요구사항을 정의합니다.

Video buffer는 input endpoint가 채우거나 output endpoint가 소비하도록 device endpoint에 queue할 수 있습니다. Operation이 끝나면 buffer를 dequeue해 post-processing, release, reuse할 수 있습니다.

Controls

Video control은 CID(control identifier)로 접근하고 식별하며 video control property를 나타냅니다. Device마다 generic, device-class-related, vendor-specific control을 서로 다르게 제공할 수 있습니다. Set/get control function은 control을 처리하고 생성하는 generic하고 scalable한 interface입니다.

Configuration Options

관련 configuration option은 CONFIG_VIDEO입니다.

API Reference

video_interface와 video_controls Doxygen group이 video interface와 control의 공식 API reference를 제공합니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.