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