[8a338353] | 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 libva-http "http://www.freedesktop.org/software/vaapi/releases">
|
---|
| 8 |
|
---|
| 9 | <!ENTITY libva-download-http "&libva-http;/libva/libva-&libva-version;.tar.bz2">
|
---|
| 10 | <!ENTITY libva-download-ftp " ">
|
---|
[92ada82] | 11 | <!ENTITY libva-md5sum "7309097b790de8dbc9641ed6393eab9f">
|
---|
[fc19c7d7] | 12 | <!ENTITY libva-size "744 KB">
|
---|
[ac38e9dc] | 13 | <!ENTITY libva-buildsize "20 MB">
|
---|
[fc19c7d7] | 14 | <!ENTITY libva-time "0.2 SBU">
|
---|
[8a338353] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="libva" xreflabel="libva-&libva-version;">
|
---|
| 18 | <?dbhtml filename="libva.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>libva-&libva-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="libva">
|
---|
| 28 | <primary sortas="a-libva">libva</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to libva</title>
|
---|
| 33 |
|
---|
| 34 | <para>
|
---|
| 35 | The <application>libva</application> package contains a library which
|
---|
| 36 | provides access to hardware accelerated video processing, using hardware
|
---|
| 37 | to accelerate video processing in order to offload the central
|
---|
| 38 | processing unit (CPU) to decode and encode compressed digital video. VA
|
---|
| 39 | API video decode/encode interface is platform and window system
|
---|
| 40 | independent targeted at Direct Rendering Infrastructure (DRI) in the X
|
---|
| 41 | Window System however it can potentially also be used with direct
|
---|
| 42 | framebuffer and graphics sub-systems for video output. Accelerated
|
---|
| 43 | processing includes support for video decoding, video encoding,
|
---|
| 44 | subpicture blending, and rendering.
|
---|
| 45 | </para>
|
---|
| 46 |
|
---|
[57977df] | 47 | &lfs79_checked;
|
---|
[8a338353] | 48 |
|
---|
| 49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 50 | <itemizedlist spacing="compact">
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download (HTTP): <ulink url="&libva-download-http;"/>
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download (FTP): <ulink url="&libva-download-ftp;"/>
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Download MD5 sum: &libva-md5sum;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Download size: &libva-size;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>
|
---|
| 73 | Estimated disk space required: &libva-buildsize;
|
---|
| 74 | </para>
|
---|
| 75 | </listitem>
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
| 78 | Estimated build time: &libva-time;
|
---|
| 79 | </para>
|
---|
| 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect3">libva Dependencies</bridgehead>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 86 | <para role="required">
|
---|
[ac38e9dc] | 87 | <xref linkend="libdrm"/>
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 91 | <para role="recommended">
|
---|
[ba8cf0e] | 92 | <xref linkend="mesa"/>,
|
---|
[ac38e9dc] | 93 | <xref linkend="wayland"/> and
|
---|
| 94 | <xref linkend="xorg7-lib"/>
|
---|
[8a338353] | 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 98 | <para role="optional">
|
---|
[ac38e9dc] | 99 | <xref linkend="doxygen"/>
|
---|
[8a338353] | 100 | </para>
|
---|
| 101 |
|
---|
[ac38e9dc] | 102 | <note>
|
---|
| 103 | <para>
|
---|
[ba8cf0e] | 104 | There is a circular dependency between <xref linkend="mesa"/>
|
---|
[ac38e9dc] | 105 | and this package. If you need the VAAPI driver provided by
|
---|
[ba8cf0e] | 106 | <xref linkend="mesa"/>, build this package without EGL and
|
---|
[ac38e9dc] | 107 | GLX support, install <application>MesaLib</application>, then
|
---|
[57977df] | 108 | reinstall this package with EGL and GLX support.
|
---|
[ac38e9dc] | 109 | </para>
|
---|
| 110 | </note>
|
---|
| 111 |
|
---|
[8a338353] | 112 | <bridgehead renderas="sect4">Runtime Dependency</bridgehead>
|
---|
| 113 | <para role="optional">
|
---|
[ac38e9dc] | 114 | At least one of <xref linkend="libva-drivers"/> or the
|
---|
[ba8cf0e] | 115 | driver shipped within <xref linkend="mesa"/> for the
|
---|
[ac38e9dc] | 116 | Radeon hardware.
|
---|
[8a338353] | 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <para condition="html" role="usernotes">
|
---|
| 120 | User Notes: <ulink url="&blfs-wiki;/libva"/>
|
---|
| 121 | </para>
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="installation">
|
---|
| 125 | <title>Installation of libva</title>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | Install <application>libva</application> by running the following
|
---|
| 129 | commands:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
[5c22cb01] | 132 | <screen><userinput>autoreconf -fi &&
|
---|
| 133 | ./configure --prefix=/usr --disable-static &&
|
---|
[8a338353] | 134 | make</userinput></screen>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | This package does not come with a test suite.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <para>
|
---|
| 141 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 142 | </para>
|
---|
| 143 |
|
---|
| 144 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 145 |
|
---|
| 146 | </sect2>
|
---|
| 147 |
|
---|
| 148 | <sect2 role="commands">
|
---|
| 149 | <title>Command Explanations</title>
|
---|
| 150 |
|
---|
| 151 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 152 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 153 |
|
---|
[57977df] | 154 | <para>
|
---|
| 155 | <parameter>--disable-egl --disable-glx"</parameter>:
|
---|
| 156 | Use these two switches in the configure command if you would
|
---|
| 157 | like to build without EGL and GLX support, e.g. to satisfy
|
---|
| 158 | the circular dependency with Mesa.
|
---|
| 159 | </para>
|
---|
| 160 |
|
---|
[5c22cb01] | 161 | <para>
|
---|
| 162 | <command>autoreconf -fi</command>: This command regenerates
|
---|
| 163 | the configure script to prevent a mandatory test for
|
---|
[92ada82] | 164 | wayland-scanner when configuring. It can be omitted if
|
---|
| 165 | <xref linkend="wayland"/> has been built.
|
---|
[5c22cb01] | 166 | </para>
|
---|
| 167 |
|
---|
[8a338353] | 168 | </sect2>
|
---|
| 169 |
|
---|
| 170 | <sect2 role="content">
|
---|
| 171 | <title>Contents</title>
|
---|
| 172 |
|
---|
| 173 | <segmentedlist>
|
---|
| 174 | <segtitle>Installed Programs</segtitle>
|
---|
| 175 | <segtitle>Installed Libraries</segtitle>
|
---|
| 176 | <segtitle>Installed Directories</segtitle>
|
---|
| 177 |
|
---|
| 178 | <seglistitem>
|
---|
| 179 | <seg>
|
---|
[ac38e9dc] | 180 | avcenc, h264encode, jpegenc, loadjpeg, mpeg2vaenc,
|
---|
| 181 | mpeg2vldemo, putsurface, putsurface_wayland and
|
---|
| 182 | vainfo
|
---|
[8a338353] | 183 | </seg>
|
---|
| 184 | <seg>
|
---|
| 185 | libva-drm.so, libva-egl.so, libva-glx.so, libva.so,
|
---|
[ac38e9dc] | 186 | libva-tpi.so, libva-wayland.so and libva-x11.so
|
---|
[8a338353] | 187 | </seg>
|
---|
| 188 | <seg>
|
---|
| 189 | /usr/include/va
|
---|
| 190 | </seg>
|
---|
| 191 | </seglistitem>
|
---|
| 192 | </segmentedlist>
|
---|
| 193 |
|
---|
| 194 | <variablelist>
|
---|
| 195 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 196 | <?dbfo list-presentation="list"?>
|
---|
| 197 | <?dbhtml list-presentation="table"?>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="libva-lib">
|
---|
| 200 | <term><filename class="libraryfile">libva.so</filename></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>
|
---|
| 203 | contains API functions which provide access to hardware
|
---|
| 204 | accelerated video processing.
|
---|
| 205 | </para>
|
---|
| 206 | <indexterm zone="libva libva-lib">
|
---|
| 207 | <primary sortas="c-libva">libva.so</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | </variablelist>
|
---|
| 213 |
|
---|
| 214 | </sect2>
|
---|
| 215 |
|
---|
| 216 | </sect1>
|
---|