From patchwork Sat Jul 9 15:06:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Heiser X-Patchwork-Id: 9222123 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 610F360572 for ; Sat, 9 Jul 2016 15:06:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4641D28846 for ; Sat, 9 Jul 2016 15:06:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3925D28849; Sat, 9 Jul 2016 15:06:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38E7E28846 for ; Sat, 9 Jul 2016 15:06:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751995AbcGIPGw (ORCPT ); Sat, 9 Jul 2016 11:06:52 -0400 Received: from smtp1.goneo.de ([85.220.129.30]:41558 "EHLO smtp1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751897AbcGIPGv (ORCPT ); Sat, 9 Jul 2016 11:06:51 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp1.goneo.de (Postfix) with ESMTP id 442B924108C; Sat, 9 Jul 2016 17:06:49 +0200 (CEST) X-Virus-Scanned: by goneo Received: from smtp1.goneo.de ([127.0.0.1]) by localhost (smtp1.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1FaQBx_8V-HH; Sat, 9 Jul 2016 17:06:39 +0200 (CEST) Received: from ubu1604.fritz.box (dyndsl-095-033-027-198.ewe-ip-backbone.de [95.33.27.198]) by smtp1.goneo.de (Postfix) with ESMTPSA id 1C21D24240B; Sat, 9 Jul 2016 17:06:39 +0200 (CEST) From: Markus Heiser To: Mauro Carvalho Chehab , Hans Verkuil , linux-media@vger.kernel.org Cc: Markus Heiser Subject: [PATCH RFC] doc-rst: media: reordered top sectioning Date: Sat, 9 Jul 2016 17:06:26 +0200 Message-Id: <1468076786-8594-1-git-send-email-markus.heiser@darmarit.de> X-Mailer: git-send-email 2.7.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Heiser Within the old section hierarchy, all doc parts has been placed under the introduction, e.g: * Linux Media Infrastructure API + Introduction - Video for Linux API - Digital TV API - ... With separating the introduction sibling to the other parts we get a more common section hierarchy: * Linux Media Infrastructure API + Introduction + Video for Linux API + Digital TV API + ... BTW: compacting the intro text. This patch is on top of media_tree/docs-next Signed-off-by: Markus Heiser --- Documentation/media/intro.rst | 46 +++++++++++++++++++++++++++++++++ Documentation/media/media_uapi.rst | 53 +------------------------------------- 2 files changed, 47 insertions(+), 52 deletions(-) create mode 100644 Documentation/media/intro.rst diff --git a/Documentation/media/intro.rst b/Documentation/media/intro.rst new file mode 100644 index 0000000..be90bda --- /dev/null +++ b/Documentation/media/intro.rst @@ -0,0 +1,46 @@ +.. -*- coding: utf-8; mode: rst -*- + +============ +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 five parts. + +1. The :ref:`first part ` covers radio, video capture and output, + cameras, analog TV devices and codecs. + +2. The :ref:`second part ` 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`. + +3. The :ref:`third part ` covers the Remote Controller API. + +4. The :ref:`fourth part ` covers the Media Controller API. + +5. The :ref:`fifth part ` covers the CEC (Consumer Electronics Control) 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 `__. For discussing improvements, +reporting troubles, sending new drivers, etc, please mail to: `Linux Media +Mailing List (LMML) `__. diff --git a/Documentation/media/media_uapi.rst b/Documentation/media/media_uapi.rst index 49f5cb5..527c6de 100644 --- a/Documentation/media/media_uapi.rst +++ b/Documentation/media/media_uapi.rst @@ -15,61 +15,10 @@ 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 five parts. - -The :ref:`first part ` covers radio, video capture and output, -cameras, analog TV devices and codecs. - -The :ref:`second part ` 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 ` covers the Remote Controller API. - -The :ref:`fourth part ` covers the Media Controller API. - -The :ref:`fifth part ` covers the CEC (Consumer Electronics Control) 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 `__. - -For discussing improvements, reporting troubles, sending new drivers, -etc, please mail to: -`Linux Media Mailing List (LMML). `__. - - .. toctree:: :maxdepth: 1 + intro uapi/v4l/v4l2 uapi/dvb/dvbapi uapi/rc/remote_controllers