mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
Move Video HW acceleration into Xorg drivers section
LFS 7.4 tags git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11680 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
a6c6923724
commit
7bb72e0c62
@ -34,7 +34,7 @@
|
||||
interface for reading/writing various compression formats.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -35,7 +35,7 @@
|
||||
real-time. This means it favors speed over compression ratio.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -32,7 +32,7 @@
|
||||
<para>The <application>Little CMS</application> library is used by other
|
||||
programs to provide color management facilities.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -33,7 +33,7 @@
|
||||
programs wanting to read and write Multiple-image Network Graphics
|
||||
(MNG) files which are the animation equivalents to PNG files.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -33,7 +33,7 @@
|
||||
of the JPEG-2000 standard. OpenJPEG fully respects the JPEG-2000 specifications
|
||||
and can compress/decompress lossless 16-bit images.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -38,7 +38,7 @@
|
||||
since version 4.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -36,7 +36,7 @@
|
||||
Practically all drives supported by Linux can be used.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -34,7 +34,7 @@
|
||||
player. It claims to be the fastest MP3 decoder for Unix.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
]>
|
||||
|
||||
<!--
|
||||
$LastChangedBy$
|
||||
$Date$
|
||||
-->
|
||||
|
||||
<chapter id="multimedia-hwaccel">
|
||||
<?dbhtml filename="hwaccel.html"?>
|
||||
|
||||
<title>Hardware Accelerated Video Decoding Libraries and Drivers</title>
|
||||
|
||||
<para>
|
||||
This chapter contains libraries and hardware specific drivers which
|
||||
provide interfaces to hardware video decoders. They enable hardware
|
||||
accelerated video decoding in apps that support it.
|
||||
</para>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libva.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libvdpau.xml"/>
|
||||
|
||||
</chapter>
|
@ -35,7 +35,7 @@
|
||||
producing files that can be played back on iPod. Moreover, iPod does not
|
||||
understand other sound compression schemes in video files.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -33,7 +33,7 @@
|
||||
compression scheme specified in MPEG-2 Part 7 and MPEG-4 Part 3 standards
|
||||
and known as Advanced Audio Coding (AAC).</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -39,7 +39,7 @@
|
||||
applications to function properly.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
&gst-compat;
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
This is useful for programs and applications needing to decode MPEG-2 and
|
||||
MPEG-1 video streams.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -94,12 +94,14 @@ make</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
<para>If you built the examples and wish to install them (so that you can hack on
|
||||
<literal>theora</literal>):</para>
|
||||
<para>If you wish to install the examples (so that you can hack on
|
||||
<literal>theora</literal>), install them as the <systemitem
|
||||
class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>cd examples/.libs &&
|
||||
for E in *; do
|
||||
install -v -m755 $E /usr/bin/theora_${E}; done</userinput></screen>
|
||||
install -v -m755 $E /usr/bin/theora_${E}
|
||||
done</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
<application>VLC</application>.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -32,7 +32,7 @@
|
||||
<para><application>XviD</application> is an MPEG-4
|
||||
compliant video CODEC.</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
|
@ -16,7 +16,6 @@ $Date$
|
||||
<title>Multimedia</title>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libdriv/libdriv.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hwaccel/hwaccel.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="audioutils/audioutils.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="videoutils/videoutils.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="cdwriteutils/cdwriteutils.xml"/>
|
||||
|
@ -21,13 +21,12 @@
|
||||
<!ENTITY libva-intel-driver-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="libva" xreflabel="libva-&libva-version;">
|
||||
<?dbhtml filename="libva.html"?>
|
||||
<sect2 id="libva" xreflabel="libva-&libva-version;">
|
||||
|
||||
<sect1info>
|
||||
<sect2info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
</sect2info>
|
||||
|
||||
<title>libva-&libva-version;</title>
|
||||
|
||||
@ -35,19 +34,25 @@
|
||||
<primary sortas="a-libva">libva</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<sect3 role="package">
|
||||
<title>Introduction to libva</title>
|
||||
|
||||
<para>
|
||||
The <application>libva</application> package contains a library which
|
||||
provides access to hardware accelerated video processing, using hardware
|
||||
to accelerate video processing in order to offload the central processing
|
||||
unit (CPU) to decode and encode compressed digital video.
|
||||
<para>
|
||||
The <application>libva</application> package contains a library which
|
||||
provides access to hardware accelerated video processing, using hardware
|
||||
to accelerate video processing in order to offload the central
|
||||
processing unit (CPU) to decode and encode compressed digital video. VA
|
||||
API video decode/encode interface is platform and window system
|
||||
independent targeted at Direct Rendering Infrastructure (DRI) in the X
|
||||
Window System however it can potentially also be used with direct
|
||||
framebuffer and graphics sub-systems for video output. Accelerated
|
||||
processing includes support for video decoding, video encoding,
|
||||
subpicture blending, and rendering.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<bridgehead renderas="sect4">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
@ -81,7 +86,7 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<bridgehead renderas="sect4">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
@ -115,14 +120,14 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">libva Dependencies</bridgehead>
|
||||
<bridgehead renderas="sect4">libva Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<bridgehead renderas="sect5">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="mesalib"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<bridgehead renderas="sect5">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="doxygen"/> and
|
||||
<ulink url="http://wayland.freedesktop.org/">Wayland</ulink>
|
||||
@ -131,9 +136,9 @@
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/libva"/>
|
||||
</para>
|
||||
</sect2>
|
||||
</sect3>
|
||||
|
||||
<sect2 role="installation">
|
||||
<sect3 role="installation">
|
||||
<title>Installation of libva</title>
|
||||
|
||||
<para>
|
||||
@ -141,7 +146,7 @@
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr &&
|
||||
<screen><userinput>./configure $XORG_CONFIG &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -154,17 +159,18 @@ make</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
</sect3>
|
||||
|
||||
<sect2 role="installation">
|
||||
<sect3 role="installation">
|
||||
<title>Installation of libva-intel-driver</title>
|
||||
|
||||
<para>
|
||||
Install <application>libva-intel-driver</application> by running the
|
||||
following commands:
|
||||
The <application>libva-intel-driver</application> is designed
|
||||
specifically for video cards based on an Intel GPU.
|
||||
Install the driver by running the following commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr &&
|
||||
<screen><userinput>./configure $XORG_CONFIG &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -177,9 +183,9 @@ make</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
</sect3>
|
||||
|
||||
<sect2 role="content">
|
||||
<sect3 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
@ -226,6 +232,6 @@ make</userinput></screen>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
</sect3>
|
||||
|
||||
</sect1>
|
||||
</sect2>
|
@ -12,13 +12,12 @@
|
||||
<!ENTITY libvdpau-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;">
|
||||
<?dbhtml filename="libvdpau.html"?>
|
||||
<sect2 id="libvdpau" xreflabel="libvdpau-&libvdpau-version;">
|
||||
|
||||
<sect1info>
|
||||
<sect2info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
</sect2info>
|
||||
|
||||
<title>libvdpau-&libvdpau-version;</title>
|
||||
|
||||
@ -26,18 +25,38 @@
|
||||
<primary sortas="a-libvdpau">libvdpau</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<sect3 role="package">
|
||||
<title>Introduction to libvdpau</title>
|
||||
|
||||
<para>
|
||||
The <application>libvdpau</application> package contains a library which
|
||||
allows video programs to offload portions of the video decoding process
|
||||
and video post-processing to the GPU video-hardware.
|
||||
implements the VDPAU library.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
VDPAU (Video Decode and Presentation API for Unix) is an open source
|
||||
library (libvdpau) and API originally designed by Nvidia for its GeForce
|
||||
8 series and later GPU hardware,[1][2] targeted at the X Window System
|
||||
This VDPAU API allows video programs to offload portions of the video
|
||||
decoding process and video post-processing to the GPU video-hardware.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Currently, the portions capable of being offloaded by VDPAU onto the GPU
|
||||
are motion compensation (mo comp), inverse discrete cosine transform
|
||||
(iDCT), VLD (variable-length decoding) and deblocking for MPEG-1, MPEG-2,
|
||||
MPEG-4 ASP (MPEG-4 Part 2), H.264/MPEG-4 AVC and VC-1, WMV3/WMV9 encoded
|
||||
videos. Which specific codecs of these that can be offloaded to the
|
||||
GPU depends on the version of the GPU hardware; specifically,
|
||||
to also decode MPEG-4 ASP (MPEG-4 Part 2), Xvid/OpenDivX (DivX 4), and
|
||||
DivX 5 formats, a GeForce 200M (2xxM) Series (the eleventh generation of
|
||||
Nvidia's GeForce graphics processing units) or newer GPU hardware is
|
||||
required.
|
||||
</para>
|
||||
|
||||
&lfs73_checked;
|
||||
&lfs74_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<bridgehead renderas="sect4">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
@ -71,21 +90,21 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">libvdpau Dependencies</bridgehead>
|
||||
<bridgehead renderas="sect4">libvdpau Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<bridgehead renderas="sect5">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="xorg7-lib"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<bridgehead renderas="sect5">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="doxygen"/>,
|
||||
<xref linkend="graphviz"/> and
|
||||
<xref linkend="texlive"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Runtime Dependency</bridgehead>
|
||||
<bridgehead renderas="sect5">Runtime Dependency</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="mesalib"/>
|
||||
</para>
|
||||
@ -93,9 +112,9 @@
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/libvdpau"/>
|
||||
</para>
|
||||
</sect2>
|
||||
</sect3>
|
||||
|
||||
<sect2 role="installation">
|
||||
<sect3 role="installation">
|
||||
<title>Installation of libvdpau</title>
|
||||
|
||||
<para>
|
||||
@ -103,7 +122,7 @@
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
||||
<screen><userinput>./configure $XORG_CONFIG &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -116,9 +135,9 @@ make</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
</sect3>
|
||||
|
||||
<sect2 role="content">
|
||||
<sect3 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
@ -160,6 +179,6 @@ make</userinput></screen>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
</sect3>
|
||||
|
||||
</sect1>
|
||||
</sect2>
|
@ -160,6 +160,24 @@
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 id="hw-video-acceleration">
|
||||
<title>Hardware Video Acceleration</title>
|
||||
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
<xref linkend="libva"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<xref linkend="libvdpau"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
@ -219,4 +237,10 @@
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="x7driver-vmware.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="libva.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="libvdpau.xml"/>
|
||||
|
||||
</sect1>
|
||||
|
Loading…
Reference in New Issue
Block a user