[07584d8] | 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 |
|
---|
[e1a98063] | 7 | <!ENTITY libvdpau-download-http "https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/&libvdpau-version;/libvdpau-&libvdpau-version;.tar.bz2">
|
---|
[07584d8] | 8 | <!ENTITY libvdpau-download-ftp " ">
|
---|
[4e3bb60] | 9 | <!ENTITY libvdpau-md5sum "a664cc2cfe9c30536d2e11c928cbea35">
|
---|
| 10 | <!ENTITY libvdpau-size "140 KB">
|
---|
[6469488] | 11 | <!ENTITY libvdpau-buildsize "4.2 MB (with tests)">
|
---|
[e5e7a1d] | 12 | <!ENTITY libvdpau-time "less than 0.1 SBU (with tests)">
|
---|
[07584d8] | 13 | ]>
|
---|
| 14 |
|
---|
[4c24eb0a] | 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
|
---|
[f9a4671] | 38 | 8 series and later GPU hardware targeted at the X Window System.
|
---|
[4c24eb0a] | 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 |
|
---|
[34a6571] | 56 | &lfs110a_checked;
|
---|
[4c24eb0a] | 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>
|
---|
[07584d8] | 123 |
|
---|
[e1a98063] | 124 | <screen><userinput>mkdir build &&
|
---|
| 125 | cd build &&
|
---|
| 126 |
|
---|
[40d3e7a] | 127 | meson --prefix=$XORG_PREFIX .. &&
|
---|
[e1a98063] | 128 | ninja</userinput></screen>
|
---|
[07584d8] | 129 |
|
---|
[4c24eb0a] | 130 | <para>
|
---|
| 131 | To test the results, issue: <command>ninja test</command>.
|
---|
[8558044] | 132 | There is only one test for this package, dlclose, and it is known to
|
---|
[6469488] | 133 | fail on some systems.
|
---|
[4c24eb0a] | 134 | </para>
|
---|
[07584d8] | 135 |
|
---|
[4c24eb0a] | 136 | <para>
|
---|
| 137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 138 | </para>
|
---|
[07584d8] | 139 |
|
---|
[195b246] | 140 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[07584d8] | 141 |
|
---|
[4c24eb0a] | 142 | </sect3>
|
---|
| 143 |
|
---|
| 144 | <sect3 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Library</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
| 153 | <seg>
|
---|
| 154 | None
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | libvdpau.so
|
---|
| 158 | </seg>
|
---|
| 159 | <seg>
|
---|
[8558044] | 160 | $XORG_PREFIX/{include,lib}/vdpau
|
---|
[4c24eb0a] | 161 | </seg>
|
---|
| 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 |
|
---|
| 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="libvdpau-lib">
|
---|
| 171 | <term><filename class="libraryfile">libvdpau.so</filename></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
| 174 | contains functions to offload portions of the video decoding
|
---|
| 175 | process and video post-processing to the GPU video-hardware
|
---|
| 176 | </para>
|
---|
| 177 | <indexterm zone="libvdpau libvdpau-lib">
|
---|
| 178 | <primary sortas="c-libvdpau">libvdpau.so</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | </variablelist>
|
---|
| 184 |
|
---|
| 185 | </sect3>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|