Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
d9d73416
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d9d73416
编写于
6月 08, 2011
作者:
M
Mauro Carvalho Chehab
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[media] DocBook: Add the other DVB API header files
Signed-off-by:
N
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
上级
446c18fc
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
133 addition
and
2 deletion
+133
-2
Documentation/DocBook/media/Makefile
Documentation/DocBook/media/Makefile
+91
-1
Documentation/DocBook/media/dvb/dvbapi.xml
Documentation/DocBook/media/dvb/dvbapi.xml
+24
-0
Documentation/DocBook/media/dvb/intro.xml
Documentation/DocBook/media/dvb/intro.xml
+18
-1
未找到文件。
Documentation/DocBook/media/Makefile
浏览文件 @
d9d73416
...
...
@@ -11,7 +11,13 @@ MEDIA_TEMP = media-entities.tmpl \
media-indices.tmpl
\
videodev2.h.xml
\
v4l2.xml
\
frontend.h.xml
audio.h.xml
\
ca.h.xml
\
dmx.h.xml
\
frontend.h.xml
\
net.h.xml
\
osd.h.xml
\
video.h.xml
\
IMGFILES
:=
$(
addprefix
$(MEDIA_OBJ_DIR)
/media/,
$(
notdir
$(
shell
ls
$(MEDIA_SRC_DIR)
/
*
/
*
.gif
$(MEDIA_SRC_DIR)
/
*
/
*
.png
)))
GENFILES
:=
$(
addprefix
$(MEDIA_OBJ_DIR)
/,
$(MEDIA_TEMP)
)
...
...
@@ -51,7 +57,13 @@ FUNCS = \
IOCTLS
=
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/videodev2.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/dvb/audio.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/dvb/ca.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/dvb/dmx.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/dvb/frontend.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([A-Z][^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/dvb/net.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/dvb/osd.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/dvb/video.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/media.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /\#define\s+([^\s]+
)
\s+_IO/'
$(srctree)
/include/linux/v4l2-subdev.h
)
\
VIDIOC_SUBDEV_G_FRAME_INTERVAL
\
...
...
@@ -66,14 +78,26 @@ TYPES = \
ENUMS
=
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/videodev2.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/dvb/audio.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/dvb/ca.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/dvb/dmx.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/dvb/frontend.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/dvb/net.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/dvb/osd.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/dvb/video.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/media.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/v4l2-mediabus.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^enum\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/v4l2-subdev.h
)
STRUCTS
=
\
$(
shell
perl
-ne
'print "$$1 " if /^struct\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/videodev2.h
)
\
$(
shell
perl
-ne
'print "$$1 " if (/^struct\s+([^\s\{]+
)
\s*/
)
'
$(srctree)
/include/linux/dvb/audio.h
)
\
$(
shell
perl
-ne
'print "$$1 " if (/^struct\s+([^\s]+
)
\s+/
)
'
$(srctree)
/include/linux/dvb/ca.h
)
\
$(
shell
perl
-ne
'print "$$1 " if (/^struct\s+([^\s]+
)
\s+/
)
'
$(srctree)
/include/linux/dvb/dmx.h
)
\
$(
shell
perl
-ne
'print "$$1 " if (!/dtv\_cmds\_h/ && /^struct\s+([^\s]+
)
\s+/
)
'
$(srctree)
/include/linux/dvb/frontend.h
)
\
$(
shell
perl
-ne
'print "$$1 " if (/^struct\s+([A-Z][^\s]+
)
\s+/
)
'
$(srctree)
/include/linux/dvb/net.h
)
\
$(
shell
perl
-ne
'print "$$1 " if (/^struct\s+([^\s]+
)
\s+/
)
'
$(srctree)
/include/linux/dvb/osd.h
)
\
$(
shell
perl
-ne
'print "$$1 " if (/^struct\s+([^\s]+
)
\s+/
)
'
$(srctree)
/include/linux/dvb/video.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^struct\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/media.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^struct\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/v4l2-subdev.h
)
\
$(
shell
perl
-ne
'print "$$1 " if /^struct\s+([^\s]+
)
\s+/'
$(srctree)
/include/linux/v4l2-mediabus.h
)
...
...
@@ -151,6 +175,39 @@ $(MEDIA_OBJ_DIR)/videodev2.h.xml: $(srctree)/include/linux/videodev2.h $(MEDIA_O
@
(
\
echo
"</programlisting>"
)
>>
$@
$(MEDIA_OBJ_DIR)/audio.h.xml
:
$(srctree)/include/linux/dvb/audio.h $(MEDIA_OBJ_DIR)/v4l2.xml
@
$
(
$(quiet)
gen_xml
)
@
(
\
echo
"<programlisting>"
)
>
$@
@
(
\
expand
--tabs
=
8 <
$<
|
\
sed
$(ESCAPE)
$(DVB_DOCUMENTED)
|
\
sed
's/i\.e\./&ie;/'
)
>>
$@
@
(
\
echo
"</programlisting>"
)
>>
$@
$(MEDIA_OBJ_DIR)/ca.h.xml
:
$(srctree)/include/linux/dvb/ca.h $(MEDIA_OBJ_DIR)/v4l2.xml
@
$
(
$(quiet)
gen_xml
)
@
(
\
echo
"<programlisting>"
)
>
$@
@
(
\
expand
--tabs
=
8 <
$<
|
\
sed
$(ESCAPE)
$(DVB_DOCUMENTED)
|
\
sed
's/i\.e\./&ie;/'
)
>>
$@
@
(
\
echo
"</programlisting>"
)
>>
$@
$(MEDIA_OBJ_DIR)/dmx.h.xml
:
$(srctree)/include/linux/dvb/dmx.h $(MEDIA_OBJ_DIR)/v4l2.xml
@
$
(
$(quiet)
gen_xml
)
@
(
\
echo
"<programlisting>"
)
>
$@
@
(
\
expand
--tabs
=
8 <
$<
|
\
sed
$(ESCAPE)
$(DVB_DOCUMENTED)
|
\
sed
's/i\.e\./&ie;/'
)
>>
$@
@
(
\
echo
"</programlisting>"
)
>>
$@
$(MEDIA_OBJ_DIR)/frontend.h.xml
:
$(srctree)/include/linux/dvb/frontend.h $(MEDIA_OBJ_DIR)/v4l2.xml
@
$
(
$(quiet)
gen_xml
)
@
(
\
...
...
@@ -162,6 +219,39 @@ $(MEDIA_OBJ_DIR)/frontend.h.xml: $(srctree)/include/linux/dvb/frontend.h $(MEDIA
@
(
\
echo
"</programlisting>"
)
>>
$@
$(MEDIA_OBJ_DIR)/net.h.xml
:
$(srctree)/include/linux/dvb/net.h $(MEDIA_OBJ_DIR)/v4l2.xml
@
$
(
$(quiet)
gen_xml
)
@
(
\
echo
"<programlisting>"
)
>
$@
@
(
\
expand
--tabs
=
8 <
$<
|
\
sed
$(ESCAPE)
$(DVB_DOCUMENTED)
|
\
sed
's/i\.e\./&ie;/'
)
>>
$@
@
(
\
echo
"</programlisting>"
)
>>
$@
$(MEDIA_OBJ_DIR)/osd.h.xml
:
$(srctree)/include/linux/dvb/osd.h $(MEDIA_OBJ_DIR)/v4l2.xml
@
$
(
$(quiet)
gen_xml
)
@
(
\
echo
"<programlisting>"
)
>
$@
@
(
\
expand
--tabs
=
8 <
$<
|
\
sed
$(ESCAPE)
$(DVB_DOCUMENTED)
|
\
sed
's/i\.e\./&ie;/'
)
>>
$@
@
(
\
echo
"</programlisting>"
)
>>
$@
$(MEDIA_OBJ_DIR)/video.h.xml
:
$(srctree)/include/linux/dvb/video.h $(MEDIA_OBJ_DIR)/v4l2.xml
@
$
(
$(quiet)
gen_xml
)
@
(
\
echo
"<programlisting>"
)
>
$@
@
(
\
expand
--tabs
=
8 <
$<
|
\
sed
$(ESCAPE)
$(DVB_DOCUMENTED)
|
\
sed
's/i\.e\./&ie;/'
)
>>
$@
@
(
\
echo
"</programlisting>"
)
>>
$@
$(MEDIA_OBJ_DIR)/media-entities.tmpl
:
$(MEDIA_OBJ_DIR)/v4l2.xml
@
$
(
$(quiet)
gen_xml
)
@
(
\
...
...
Documentation/DocBook/media/dvb/dvbapi.xml
浏览文件 @
d9d73416
...
...
@@ -114,8 +114,32 @@ Added ISDB-T test originally written by Patrick Boettcher
&sub-examples;
</chapter>
<!-- END OF CHAPTERS -->
<appendix
id=
"audio_h"
>
<title>
DVB Audio Header File
</title>
&sub-audio-h;
</appendix>
<appendix
id=
"ca_h"
>
<title>
DVB Conditional Access Header File
</title>
&sub-ca-h;
</appendix>
<appendix
id=
"dmx_h"
>
<title>
DVB Demux Header File
</title>
&sub-dmx-h;
</appendix>
<appendix
id=
"frontend_h"
>
<title>
DVB Frontend Header File
</title>
&sub-frontend-h;
</appendix>
<appendix
id=
"net_h"
>
<title>
DVB Network Header File
</title>
&sub-net-h;
</appendix>
<appendix
id=
"osd_h"
>
<title>
DVB OSD Header File
</title>
&sub-osd-h;
</appendix>
<appendix
id=
"video_h"
>
<title>
DVB Video Header File
</title>
&sub-video-h;
</appendix>
Documentation/DocBook/media/dvb/intro.xml
浏览文件 @
d9d73416
...
...
@@ -175,10 +175,27 @@ the devices are described in the following chapters.</para>
The DVB API include files should be included in application sources with
a partial path like:
</para>
<programlisting>
#include
<
linux/dvb/audio.h
>
</programlisting>
<programlisting>
#include
<
linux/dvb/ca.h
>
</programlisting>
<programlisting>
#include
<
linux/dvb/dmx.h
>
</programlisting>
<programlisting>
#include
<
linux/dvb/frontend.h
>
</programlisting>
<programlisting>
#include
<
linux/dvb/net.h
>
</programlisting>
<programlisting>
#include
<
linux/dvb/osd.h
>
</programlisting>
<programlisting>
#include
<
linux/dvb/video.h
>
</programlisting>
<para>
To enable applications to support different API version, an
additional include file
<emphasis
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录