source: general/graphlib/libavif.xml@ 8e65f56

12.2 gimp3 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since 8e65f56 was 8e65f56, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Typo

  • Property mode set to 100644
File size: 6.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 libavif-download-http "https://github.com/AOMediaCodec/libavif/archive/v&libavif-version;/libavif-&libavif-version;.tar.gz">
8 <!ENTITY libavif-download-ftp " ">
9 <!ENTITY libavif-md5sum "cc9c6014b4c83a56e1714099b4892d7f">
10 <!ENTITY libavif-size "13 MB">
11 <!ENTITY libavif-buildsize "21 MB">
12 <!ENTITY libavif-time "less than 0.1 SBU">
13]>
14
15<sect1 id="libavif" xreflabel="libavif-&libavif-version;">
16 <?dbhtml filename="libavif.html"?>
17
18 <title>libavif-&libavif-version;</title>
19
20 <indexterm zone="libavif">
21 <primary sortas="a-libavif">libavif</primary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title>Introduction to libavif</title>
26
27 <para>
28 The <application>libavif</application> package contains a library used
29 for encoding and decoding AVIF files.
30 </para>
31
32 &lfs121_checked;
33
34 <bridgehead renderas="sect3">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&libavif-download-http;"/>
39 </para>
40 </listitem>
41 <listitem>
42 <para>
43 Download (FTP): <ulink url="&libavif-download-ftp;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download MD5 sum: &libavif-md5sum;
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download size: &libavif-size;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Estimated disk space required: &libavif-buildsize;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated build time: &libavif-time;
64 </para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">libavif Dependencies</bridgehead>
69
70 <bridgehead renderas="sect4">Required</bridgehead>
71 <para role="required">
72 <xref linkend="libaom"/>
73 </para>
74
75 <bridgehead renderas="sect4">Recommended</bridgehead>
76 <para role="recommended">
77 <xref linkend="gdk-pixbuf"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <ulink url="https://github.com/google/googletest">gtest</ulink>,
83 <ulink url="https://code.videolan.org/videolan/dav1d">libdav1d</ulink>,
84 <ulink url="https://chromium.googlesource.com/libyuv/libyuv/">libyuv</ulink>,
85 <ulink url="https://github.com/xiph/rav1e">rav1e</ulink>, and
86 <ulink url="https://gitlab.com/AOMediaCodec/SVT-AV1">svt-av1</ulink>
87 </para>
88
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of libavif</title>
93
94 <para>
95 Install <application>libavif</application> by running the following
96 commands:
97 </para>
98
99<screen><userinput>mkdir build &amp;&amp;
100cd build &amp;&amp;
101
102cmake -D CMAKE_INSTALL_PREFIX=/usr \
103 -D CMAKE_BUILD_TYPE=Release \
104 -D AVIF_CODEC_AOM=SYSYEM \
105 -D AVIF_BUILD_GDK_PIXBUF=ON \
106 -D AVIF_LIBYUV=OFF \
107 -G Ninja .. &amp;&amp;
108ninja</userinput></screen>
109
110 <para>
111 This package does come with a test suite, but it requires
112 <ulink url="https://github.com/google/googletest">gtest</ulink>, which
113 is not part of BLFS.
114 </para>
115
116 <para>
117 Now, as the &root; user:
118 </para>
119
120<screen role="root"><userinput>ninja install</userinput></screen>
121
122 <para>
123 The AV1 format needs to be added to the loaders cache. As the
124 &root; user:
125 </para>
126
127<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
128
129 </sect2>
130
131 <sect2 role="commands">
132 <title>Command Explanations</title>
133
134 <para>
135 <parameter>-D AVIF_CODEC_AOM=SYSTEM</parameter>: This switch enables using
136 the AOM codec. This package is useless without at least one codec
137 built in.
138 </para>
139
140 <para>
141 <parameter>-D AVIF_BUILD_GDK_PIXBUF=ON</parameter>: This switch builds
142 the AVIF loader for applications which use gdk-pixbuf. Remove it if you
143 have not installed <xref role="nodep" linkend="gdk-pixbuf"/>.
144 </para>
145
146 <para>
147 <option>-D AVIF_LIBYUV=OFF</option>: Use this switch if you have
148 not installed
149 <ulink url="https://chromium.googlesource.com/libyuv/libyuv/">libyuv</ulink>.
150 </para>
151
152 <para>
153 <option>-D AVIF_CODEC_DAV1D=SYSTEM</option>: Use this switch if you have
154 installed <ulink url="https://code.videolan.org/videolan/dav1d">libdav1d</ulink>
155 and wish to use it as a codec.
156 </para>
157
158 <para>
159 <option>-D AVIF_CODEC_RAV1E=SYSTEM</option>: Use this switch if you have
160 installed <ulink url="https://github.com/xiph/rav1e">rav1e</ulink> and
161 wish to use it as a codec.
162 </para>
163
164 <para>
165 <option>-D AVIF_CODEC_SVT=SYSTEM</option>: Use this switch if you have
166 installed <ulink url="https://gitlab.com/AOMediaCodec/SVT-AV1">svt-av1</ulink>
167 and wish to use it as a codec.
168 </para>
169
170 </sect2>
171
172 <sect2 role="content">
173 <title>Contents</title>
174
175 <segmentedlist>
176 <segtitle>Installed Programs</segtitle>
177 <segtitle>Installed Libraries</segtitle>
178 <segtitle>Installed Directories</segtitle>
179
180 <seglistitem>
181 <seg>
182 None
183 </seg>
184 <seg>
185 libavif.so and
186 libpixbbufloader-avif.so (in /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders)
187 </seg>
188 <seg>
189 /usr/include/avif and
190 /usr/lib/cmake/libavif
191 </seg>
192 </seglistitem>
193 </segmentedlist>
194
195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
199
200 <varlistentry id="libavif-lib">
201 <term><filename class="libraryfile">libavif.so</filename></term>
202 <listitem>
203 <para>
204 contains functions that provide a portable C implementation of the
205 AV1 Image Format
206 </para>
207 <indexterm zone="libavif-lib libavif">
208 <primary sortas="c-libavif">libavif.so</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="libpixbufloader-avif">
214 <term><filename class="libraryfile">libpixbufloader-avif.so</filename></term>
215 <listitem>
216 <para>
217 allows applications which use gdk-pixbuf to read AVIF images
218 </para>
219 <indexterm zone="libavif libpixbufloader-avif">
220 <primary sortas="c-libpixbufloader-avif">libpixbufloader-avif.so</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224 </variablelist>
225 </sect2>
226</sect1>
Note: See TracBrowser for help on using the repository browser.