1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY libvdpau-download-http "https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/&libvdpau-version;/libvdpau-&libvdpau-version;.tar.bz2">
|
---|
8 | <!ENTITY libvdpau-download-ftp " ">
|
---|
9 | <!ENTITY libvdpau-md5sum "148a192110e7a49d62c0bf9ef916c099">
|
---|
10 | <!ENTITY libvdpau-size "140 KB">
|
---|
11 | <!ENTITY libvdpau-buildsize "4.6 MB (with tests)">
|
---|
12 | <!ENTITY libvdpau-time "less than 0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect2 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;">
|
---|
16 |
|
---|
17 | <sect2info>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect2info>
|
---|
20 |
|
---|
21 | <title>libvdpau-&libvdpau-version;</title>
|
---|
22 |
|
---|
23 | <indexterm zone="libvdpau">
|
---|
24 | <primary sortas="a-libvdpau">libvdpau</primary>
|
---|
25 | </indexterm>
|
---|
26 |
|
---|
27 | <sect3 role="package">
|
---|
28 | <title>Introduction to libvdpau</title>
|
---|
29 |
|
---|
30 | <para>
|
---|
31 | The <application>libvdpau</application> package contains a library which
|
---|
32 | implements the VDPAU library.
|
---|
33 | </para>
|
---|
34 |
|
---|
35 | <para>
|
---|
36 | VDPAU (Video Decode and Presentation API for Unix) is an open source
|
---|
37 | library (libvdpau) and API originally designed by Nvidia for its GeForce
|
---|
38 | 8 series and later GPU hardware targeted at the X Window System.
|
---|
39 | This VDPAU API allows video programs to offload portions of the video
|
---|
40 | decoding process and video post-processing to the GPU video-hardware.
|
---|
41 | </para>
|
---|
42 |
|
---|
43 | <para>
|
---|
44 | Currently, the portions capable of being offloaded by VDPAU onto the GPU
|
---|
45 | are motion compensation (mo comp), inverse discrete cosine transform
|
---|
46 | (iDCT), VLD (variable-length decoding) and deblocking for MPEG-1, MPEG-2,
|
---|
47 | MPEG-4 ASP (MPEG-4 Part 2), H.264/MPEG-4 AVC and VC-1, WMV3/WMV9 encoded
|
---|
48 | videos. Which specific codecs of these that can be offloaded to the
|
---|
49 | GPU depends on the version of the GPU hardware; specifically,
|
---|
50 | to also decode MPEG-4 ASP (MPEG-4 Part 2), Xvid/OpenDivX (DivX 4), and
|
---|
51 | DivX 5 formats, a GeForce 200M (2xxM) Series (the eleventh generation of
|
---|
52 | Nvidia's GeForce graphics processing units) or newer GPU hardware is
|
---|
53 | required.
|
---|
54 | </para>
|
---|
55 |
|
---|
56 | &lfs111_checked;
|
---|
57 |
|
---|
58 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
59 | <itemizedlist spacing="compact">
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download (HTTP): <ulink url="&libvdpau-download-http;"/>
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Download (FTP): <ulink url="&libvdpau-download-ftp;"/>
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Download MD5 sum: &libvdpau-md5sum;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | <listitem>
|
---|
76 | <para>
|
---|
77 | Download size: &libvdpau-size;
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | <listitem>
|
---|
81 | <para>
|
---|
82 | Estimated disk space required: &libvdpau-buildsize;
|
---|
83 | </para>
|
---|
84 | </listitem>
|
---|
85 | <listitem>
|
---|
86 | <para>
|
---|
87 | Estimated build time: &libvdpau-time;
|
---|
88 | </para>
|
---|
89 | </listitem>
|
---|
90 | </itemizedlist>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">libvdpau Dependencies</bridgehead>
|
---|
93 |
|
---|
94 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
95 | <para role="required">
|
---|
96 | <xref linkend="xorg7-lib"/>
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
100 | <para role="optional">
|
---|
101 | <xref linkend="doxygen"/>,
|
---|
102 | <xref linkend="graphviz"/>, and
|
---|
103 | <xref linkend="texlive"/> or <xref linkend="tl-installer"/>
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <bridgehead renderas="sect5">Runtime Dependency</bridgehead>
|
---|
107 | <para role="optional">
|
---|
108 | <xref role="runtime" linkend="mesa"/>
|
---|
109 | </para>
|
---|
110 |
|
---|
111 | <para condition="html" role="usernotes">
|
---|
112 | User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
|
---|
113 | </para>
|
---|
114 | </sect3>
|
---|
115 |
|
---|
116 | <sect3 role="installation">
|
---|
117 | <title>Installation of libvdpau</title>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | Install <application>libvdpau</application> by running the following
|
---|
121 | commands:
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <screen><userinput>mkdir build &&
|
---|
125 | cd build &&
|
---|
126 |
|
---|
127 | meson --prefix=$XORG_PREFIX .. &&
|
---|
128 | ninja</userinput></screen>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | To test the results, issue: <command>ninja test</command>.
|
---|
132 | There is only one test for this package, dlclose, and it is known to
|
---|
133 | fail on some systems.
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
141 |
|
---|
142 | <para>
|
---|
143 | If <application>doxygen</application> is present at build time
|
---|
144 | place the documentation in a versioned directory as the
|
---|
145 | <systemitem class="username">root</systemitem> user:
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <screen role="root"><userinput>[ -e $XORG_PREFIX/share/doc/libvdpau ] && mv -v $XORG_PREFIX/share/doc/libvdpau{,&libvdpau-version;}</userinput></screen>
|
---|
149 |
|
---|
150 | </sect3>
|
---|
151 |
|
---|
152 | <sect3 role="content">
|
---|
153 | <title>Contents</title>
|
---|
154 |
|
---|
155 | <segmentedlist>
|
---|
156 | <segtitle>Installed Programs</segtitle>
|
---|
157 | <segtitle>Installed Library</segtitle>
|
---|
158 | <segtitle>Installed Directories</segtitle>
|
---|
159 |
|
---|
160 | <seglistitem>
|
---|
161 | <seg>
|
---|
162 | None
|
---|
163 | </seg>
|
---|
164 | <seg>
|
---|
165 | libvdpau.so
|
---|
166 | </seg>
|
---|
167 | <seg>
|
---|
168 | $XORG_PREFIX/{include,lib}/vdpau
|
---|
169 | </seg>
|
---|
170 | </seglistitem>
|
---|
171 | </segmentedlist>
|
---|
172 |
|
---|
173 | <variablelist>
|
---|
174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
175 | <?dbfo list-presentation="list"?>
|
---|
176 | <?dbhtml list-presentation="table"?>
|
---|
177 |
|
---|
178 | <varlistentry id="libvdpau-lib">
|
---|
179 | <term><filename class="libraryfile">libvdpau.so</filename></term>
|
---|
180 | <listitem>
|
---|
181 | <para>
|
---|
182 | contains functions to offload portions of the video decoding
|
---|
183 | process and video post-processing to the GPU video-hardware
|
---|
184 | </para>
|
---|
185 | <indexterm zone="libvdpau libvdpau-lib">
|
---|
186 | <primary sortas="c-libvdpau">libvdpau.so</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | </variablelist>
|
---|
192 |
|
---|
193 | </sect3>
|
---|
194 |
|
---|
195 | </sect2>
|
---|