[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 " ">
|
---|
[ac38e9dc] | 11 | <!ENTITY libva-md5sum "d6d34cd725a0100a5e476e711838e1b1">
|
---|
[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 |
|
---|
[ac38e9dc] | 47 | &lfs77_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">
|
---|
| 92 | <xref linkend="mesalib"/>,
|
---|
| 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>
|
---|
| 104 | There is a circular dependency between <xref linkend="mesalib"/>
|
---|
| 105 | and this package. If you need the VAAPI driver provided by
|
---|
| 106 | <xref linkend="mesalib"/>, build this package without EGL and
|
---|
| 107 | GLX support, install <application>MesaLib</application>, then
|
---|
| 108 | reinstall this package with EGL and GLX support.
|
---|
| 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
|
---|
| 115 | driver shipped within <xref linkend="mesalib"/> for the
|
---|
| 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 |
|
---|
| 132 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 133 | make</userinput></screen>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | This package does not come with a test suite.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <para>
|
---|
| 140 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 141 | </para>
|
---|
| 142 |
|
---|
| 143 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 144 |
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="commands">
|
---|
| 148 | <title>Command Explanations</title>
|
---|
| 149 |
|
---|
| 150 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 151 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
| 157 |
|
---|
| 158 | <segmentedlist>
|
---|
| 159 | <segtitle>Installed Programs</segtitle>
|
---|
| 160 | <segtitle>Installed Libraries</segtitle>
|
---|
| 161 | <segtitle>Installed Directories</segtitle>
|
---|
| 162 |
|
---|
| 163 | <seglistitem>
|
---|
| 164 | <seg>
|
---|
[ac38e9dc] | 165 | avcenc, h264encode, jpegenc, loadjpeg, mpeg2vaenc,
|
---|
| 166 | mpeg2vldemo, putsurface, putsurface_wayland and
|
---|
| 167 | vainfo
|
---|
[8a338353] | 168 | </seg>
|
---|
| 169 | <seg>
|
---|
| 170 | libva-drm.so, libva-egl.so, libva-glx.so, libva.so,
|
---|
[ac38e9dc] | 171 | libva-tpi.so, libva-wayland.so and libva-x11.so
|
---|
[8a338353] | 172 | </seg>
|
---|
| 173 | <seg>
|
---|
| 174 | /usr/include/va
|
---|
| 175 | </seg>
|
---|
| 176 | </seglistitem>
|
---|
| 177 | </segmentedlist>
|
---|
| 178 |
|
---|
| 179 | <variablelist>
|
---|
| 180 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 181 | <?dbfo list-presentation="list"?>
|
---|
| 182 | <?dbhtml list-presentation="table"?>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="libva-lib">
|
---|
| 185 | <term><filename class="libraryfile">libva.so</filename></term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>
|
---|
| 188 | contains API functions which provide access to hardware
|
---|
| 189 | accelerated video processing.
|
---|
| 190 | </para>
|
---|
| 191 | <indexterm zone="libva libva-lib">
|
---|
| 192 | <primary sortas="c-libva">libva.so</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | </variablelist>
|
---|
| 198 |
|
---|
| 199 | </sect2>
|
---|
| 200 |
|
---|
| 201 | </sect1>
|
---|