OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / Documentation / DocBook / media_api.tmpl
blob4e8e8985cc1722a5594efdb61c2c0a5af1294929
1 <?xml version="1.0"?>
2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
4 <!ENTITY % media-entities SYSTEM "./media-entities.tmpl"> %media-entities;
5 <!ENTITY media-indices SYSTEM "./media-indices.tmpl">
7 <!ENTITY eg "e.&nbsp;g.">
8 <!ENTITY ie "i.&nbsp;e.">
9 <!ENTITY fd "File descriptor returned by <link linkend='func-open'><function>open()</function></link>.">
10 <!ENTITY i2c "I<superscript>2</superscript>C">
11 <!ENTITY return-value "<title>Return Value</title><para>On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately. The generic error codes are described at the <link linkend='gen-errors'>Generic Error Codes</link> chapter.</para>">
12 <!ENTITY return-value-dvb "<para>RETURN VALUE</para><para>On success <returnvalue>0</returnvalue> is returned, on error <returnvalue>-1</returnvalue> and the <varname>errno</varname> variable is set appropriately. The generic error codes are described at the <link linkend='gen-errors'>Generic Error Codes</link> chapter.</para>">
13 <!ENTITY manvol "<manvolnum>2</manvolnum>">
15 <!-- Table templates: structs, structs w/union, defines. -->
16 <!ENTITY cs-str "<colspec colname='c1' colwidth='1*' /><colspec colname='c2' colwidth='1*' /><colspec colname='c3' colwidth='2*' /><spanspec spanname='hspan' namest='c1' nameend='c3' />">
17 <!ENTITY cs-ustr "<colspec colname='c1' colwidth='1*' /><colspec colname='c2' colwidth='1*' /><colspec colname='c3' colwidth='1*' /><colspec colname='c4' colwidth='2*' /><spanspec spanname='hspan' namest='c1' nameend='c4' />">
18 <!ENTITY cs-def "<colspec colname='c1' colwidth='3*' /><colspec colname='c2' colwidth='1*' /><colspec colname='c3' colwidth='4*' /><spanspec spanname='hspan' namest='c1' nameend='c3' />">
20 <!-- Video for Linux mailing list address. -->
21 <!ENTITY v4l-ml "<ulink url='http://www.linuxtv.org/lists.php'>http://www.linuxtv.org/lists.php</ulink>">
23 <!-- LinuxTV v4l-dvb repository. -->
24 <!ENTITY v4l-dvb "<ulink url='http://linuxtv.org/repo/'>http://linuxtv.org/repo/</ulink>">
27 <book id="media_api">
28 <bookinfo>
29 <title>LINUX MEDIA INFRASTRUCTURE API</title>
31 <copyright>
32 <year>2009-2011</year>
33 <holder>LinuxTV Developers</holder>
34 </copyright>
36 <legalnotice>
38 <para>Permission is granted to copy, distribute and/or modify
39 this document under the terms of the GNU Free Documentation License,
40 Version 1.1 or any later version published by the Free Software
41 Foundation. A copy of the license is included in the chapter entitled
42 "GNU Free Documentation License"</para>
43 </legalnotice>
45 </bookinfo>
47 <toc></toc> <!-- autogenerated -->
49 <preface>
50 <title>Introduction</title>
52 <para>This document covers the Linux Kernel to Userspace API's used by
53 video and radio straming devices, including video cameras,
54 analog and digital TV receiver cards, AM/FM receiver cards,
55 streaming capture devices.</para>
56 <para>It is divided into three parts.</para>
57 <para>The first part covers radio, capture,
58 cameras and analog TV devices.</para>
59 <para>The second part covers the
60 API used for digital TV and Internet reception via one of the
61 several digital tv standards. While it is called as DVB API,
62 in fact it covers several different video standards including
63 DVB-T, DVB-S, DVB-C and ATSC. The API is currently being updated
64 to documment support also for DVB-S2, ISDB-T and ISDB-S.</para>
65 <para>The third part covers Remote Controller API</para>
66 <para>For additional information and for the latest development code,
67 see: <ulink url="http://linuxtv.org">http://linuxtv.org</ulink>.</para>
68 <para>For discussing improvements, reporting troubles, sending new drivers, etc, please mail to: <ulink url="http://vger.kernel.org/vger-lists.html#linux-media">Linux Media Mailing List (LMML).</ulink>.</para>
70 </preface>
72 <part id="v4l2spec">
73 &sub-v4l2;
74 </part>
75 <part id="dvbapi">
76 &sub-dvbapi;
77 </part>
78 <part id="v4ldvb_common">
79 <partinfo>
80 <authorgroup>
81 <author>
82 <firstname>Mauro</firstname>
83 <surname>Chehab</surname>
84 <othername role="mi">Carvalho</othername>
85 <affiliation><address><email>mchehab@redhat.com</email></address></affiliation>
86 <contrib>Initial version.</contrib>
87 </author>
88 </authorgroup>
89 <copyright>
90 <year>2009-2011</year>
91 <holder>Mauro Carvalho Chehab</holder>
92 </copyright>
94 <revhistory>
95 <!-- Put document revisions here, newest first. -->
96 <revision>
97 <revnumber>1.0.0</revnumber>
98 <date>2009-09-06</date>
99 <authorinitials>mcc</authorinitials>
100 <revremark>Initial revision</revremark>
101 </revision>
102 </revhistory>
103 </partinfo>
105 <title>Remote Controller API</title>
106 <chapter id="remote_controllers">
107 &sub-remote_controllers;
108 </chapter>
109 </part>
110 <part id="media_common">
111 &sub-media-controller;
112 </part>
114 <chapter id="gen_errors">
115 &sub-gen-errors;
116 </chapter>
119 &sub-fdl-appendix;
121 </book>