[f6503c73] | 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 libaom-download-http "https://storage.googleapis.com/aom-releases/libaom-&libaom-version;.tar.gz">
|
---|
| 8 | <!ENTITY libaom-download-ftp " ">
|
---|
| 9 | <!ENTITY libaom-md5sum "04a7eb2ac14a0a5e259d03c1f7c9ab8c">
|
---|
| 10 | <!ENTITY libaom-size "123 MB">
|
---|
| 11 | <!ENTITY libaom-buildsize "123 MB (add 969 MB for tests)">
|
---|
| 12 | <!ENTITY libaom-time "1.0 SBU (with parallelism=4, add 136 SBU for tests)">
|
---|
| 13 |
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libaom" xreflabel="libaom-&libaom-version;">
|
---|
| 17 | <?dbhtml filename="libaom.html"?>
|
---|
| 18 |
|
---|
| 19 | <title>libaom-&libaom-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libaom">
|
---|
| 22 | <primary sortas="a-libaom">libaom</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libaom</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | The <application>libaom</application> package contains a reference
|
---|
| 30 | version of the Alliance for Open Media video codec. This codec is a
|
---|
| 31 | patent free alternative to H.265, and is starting to be used throughout
|
---|
| 32 | the internet.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
| 35 | &lfs113_checked;
|
---|
| 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&libaom-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&libaom-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: &libaom-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: &libaom-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: &libaom-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: &libaom-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">libaom Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 74 | <para role="recommended">
|
---|
| 75 | <xref linkend="yasm"/>
|
---|
[2d1e39e6] | 76 | (or <xref role='nodep' linkend="nasm"/>, pass the
|
---|
| 77 | <option>-DENABLE_NASM=yes</option> option to <command>cmake</command>
|
---|
| 78 | if you want to use it instead of yasm)
|
---|
[f6503c73] | 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
| 83 | <xref linkend="doxygen"/>
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <para condition="html" role="usernotes">
|
---|
| 87 | User Notes: <ulink url="&blfs-wiki;/libaom"/>
|
---|
| 88 | </para>
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of libaom</title>
|
---|
| 93 |
|
---|
| 94 | <para>
|
---|
| 95 | Install <application>libaom</application> by running the following
|
---|
| 96 | commands:
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <screen><userinput>mkdir aom-build &&
|
---|
| 100 | cd aom-build &&
|
---|
| 101 |
|
---|
| 102 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 103 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 104 | -DBUILD_SHARED_LIBS=1 \
|
---|
| 105 | -DENABLE_DOCS=no \
|
---|
| 106 | -G Ninja .. &&
|
---|
| 107 | ninja</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | To test the results, issue: <command>ninja runtests</command>. Note that
|
---|
| 111 | the tests take an extremely long time to run.
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <para>
|
---|
| 115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <screen role="root"><userinput>ninja install &&
|
---|
| 119 | rm -v /usr/lib/libaom.a</userinput></screen>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | <parameter>-DBUILD_SHARED_LIBS=1</parameter>: This switch builds shared
|
---|
| 128 | versions of the libraries.
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | <parameter>-DENABLE_DOCS=no</parameter>: This switch disables building
|
---|
| 133 | the documentation because it fails due to an incompatibilty with the
|
---|
| 134 | latest version of <xref role="nodep" linkend="doxygen"/>.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | <option>-DENABLE_NASM=yes</option>: Use this switch if you have
|
---|
| 139 | <xref role="nodep" linkend="nasm"/> installed and wish to use it instead
|
---|
| 140 | of yasm.
|
---|
| 141 | </para>
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Libraries</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
| 153 | <seg>
|
---|
| 154 | None
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | libaom.so
|
---|
| 158 | </seg>
|
---|
| 159 | <seg>
|
---|
| 160 | /usr/include/aom
|
---|
| 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="libaom-lib">
|
---|
| 171 | <term><filename class="libraryfile">libaom.so</filename></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
| 174 | contains functions that provide a reference implementation of the
|
---|
| 175 | AV1 codec
|
---|
| 176 | </para>
|
---|
| 177 | <indexterm zone="libaom libaom-lib">
|
---|
| 178 | <primary sortas="c-libaom">libaom.so</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 | </variablelist>
|
---|
| 183 | </sect2>
|
---|
| 184 | </sect1>
|
---|