summaryrefslogtreecommitdiffstats
path: root/Documentation/media/media_uapi.rst
blob: 8211cc963b56588eff3d57b14b8f7f5ea054cce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.. -*- coding: utf-8; mode: rst -*-

.. include:: <isonum.txt>

##############################
Linux Media Infrastructure API
##############################

**Copyright** |copy| 2009-2016 : LinuxTV Developers

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation. A copy of
the license is included in the chapter entitled "GNU Free Documentation
License".


============
Introduction
============

This document covers the Linux Kernel to Userspace API's used by video
and radio streaming devices, including video cameras, analog and digital
TV receiver cards, AM/FM receiver cards, Software Defined Radio (SDR),
streaming capture and output devices, codec devices and remote controllers.

A typical media device hardware is shown at
:ref:`typical_media_device`.


.. _typical_media_device:

.. figure::  media_api_files/typical_media_device.*
    :alt:    typical_media_device.svg
    :align:  center

    Typical Media Device

The media infrastructure API was designed to control such devices. It is
divided into four parts.

The :Ref:`first part <v4l2spec>` covers radio, video capture and output,
cameras, analog TV devices and codecs.

The :Ref:`second part <dvbapi>` covers the API used for digital TV and
Internet reception via one of the several digital tv standards. While it
is called as DVB API, in fact it covers several different video
standards including DVB-T/T2, DVB-S/S2, DVB-C, ATSC, ISDB-T, ISDB-S,
DTMB, etc. The complete list of supported standards can be found at
:ref:`fe-delivery-system-t`.

The :Ref:`third part <remote_controllers>` covers the Remote Controller API.

The :Ref:`fourth part <media_controller>` covers the Media Controller API.

It should also be noted that a media device may also have audio
components, like mixers, PCM capture, PCM playback, etc, which are
controlled via ALSA API.

For additional information and for the latest development code, see:
`https://linuxtv.org <https://linuxtv.org>`__.

For discussing improvements, reporting troubles, sending new drivers,
etc, please mail to:
`Linux Media Mailing List (LMML). <http://vger.kernel.org/vger-lists.html#linux-media>`__.


.. toctree::
    :maxdepth: 1

    uapi/v4l/v4l2
    uapi/dvb/dvbapi
    uapi/rc/remote_controllers
    uapi/mediactl/media-controller
    uapi/gen-errors
    uapi/fdl-appendix

.. only:: html

  Retrieval
  =========

  * :ref:`genindex`