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