summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-10-27 12:53:54 +0200
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-10-27 13:09:21 +0200
commit2e1f69898b7842c62471dec854dd4accce37e425 (patch)
tree997e10535aa2659780fe446d732de3e858fd39e8 /docs
parent74a9f76d32e1777ee6de3a0a49a5978ef389869b (diff)
docs: document environment variables
https://bugzilla.gnome.org/show_bug.cgi?id=773544
Diffstat (limited to 'docs')
-rw-r--r--docs/plugins/Makefile.am2
-rw-r--r--docs/plugins/gstreamer-vaapi-plugins-docs.xml.in5
-rw-r--r--docs/plugins/running.xml68
3 files changed, 74 insertions, 1 deletions
diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am
index 86ab1b46..7701535c 100644
--- a/docs/plugins/Makefile.am
+++ b/docs/plugins/Makefile.am
@@ -61,7 +61,7 @@ EXAMPLE_CFILES =
HTML_IMAGES =
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
-content_files =
+content_files = running.xml
# Other files to distribute.
extra_files =
diff --git a/docs/plugins/gstreamer-vaapi-plugins-docs.xml.in b/docs/plugins/gstreamer-vaapi-plugins-docs.xml.in
index 5eec5ca8..37351d96 100644
--- a/docs/plugins/gstreamer-vaapi-plugins-docs.xml.in
+++ b/docs/plugins/gstreamer-vaapi-plugins-docs.xml.in
@@ -10,6 +10,11 @@
</bookinfo>
<chapter>
+ <title>gstremaer-vaapi Overview</title>
+ <xi:include href="running.xml"/>
+ </chapter>
+
+ <chapter>
<title>gstreamer-vaapi Elements</title>
<xi:include href="xml/element-vaapijpegdec.xml"/>
<xi:include href="xml/element-vaapimpeg2dec.xml"/>
diff --git a/docs/plugins/running.xml b/docs/plugins/running.xml
new file mode 100644
index 00000000..f7d98cb0
--- /dev/null
+++ b/docs/plugins/running.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+<!ENTITY % version-entities SYSTEM "version.entities">
+%version-entities;
+<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
+]>
+<refentry id="gstreamer-vaapi-running">
+<refmeta>
+<refentrytitle>Running GStreamer VAAPI Applications</refentrytitle>
+</refmeta>
+
+<refnamediv>
+<refname>Running GStreamer VAAPI Applications</refname>
+<refpurpose>
+How to run GStreamer application with VAAPI elements.
+</refpurpose>
+</refnamediv>
+
+<refsect1>
+<title>Running GStreamer VAAPI Applications</title>
+
+<refsect2>
+<title>Environment variables</title>
+
+<para>
+GStreamer-VAAPI inspects a few of environment variables to define it usage.
+</para>
+
+<formalpara id="GST_VAAPI_ALL_DRIVERS">
+ <title><envar>GST_VAAPI_ALL_DRIVERS</envar></title>
+
+ <para>
+This environment variable can be set, independently of its value, to disable
+the drivers white list. By default only intel and mesa va drivers are loaded
+if they are available. The rest are ignored. With this environment variable
+defined, all the available va drivers are loaded, even if they are deprecated.
+ </para>
+
+</formalpara>
+
+<formalpara id="LIBVA_DRIVER_NAME">
+ <title><envar>LIBVA_DRIVER_NAME</envar></title>
+
+ <para>
+This environment variable can be set with the drivers name to load. For
+example, intel's driver is <userinput>i915</userinput>, meanwhile mesa is
+<userinput>gallium</userinput>.
+ </para>
+
+</formalpara>
+
+<formalpara id="LIBVA_DRIVERS_PATH">
+ <title><envar>LIBVA_DRIVERS_PATH</envar></title>
+
+ <para>
+This environment variable can be set to a colon-separated list of paths (or a
+semicolon-separated list on Windows). libva will scan these paths for va
+drivers.
+ </para>
+
+</formalpara>
+
+</refsect2>
+
+</refsect1>
+
+</refentry>