~ubuntu-branches/ubuntu/vivid/gstreamer-vaapi/vivid

« back to all changes in this revision

Viewing changes to docs/reference/libs/html/libs-GstVaapiSubpicture.html

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-08-06 23:56:00 UTC
  • mfrom: (0.1.4 sid) (1.1.3)
  • Revision ID: package-import@ubuntu.com-20140806235600-fg1kcmiu67k315q5
Tags: 0.5.9-2
* Remove spurious build-deps: libva-drm1, libavcodec-dev. (Closes: #757283)
* Drop Build-Depends-Indep and build docs unconditionally on all archs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>GstVaapiSubpicture</title>
 
5
<title>GStreamer VA-API Plugins 1.2 Library Reference Manual: GstVaapiSubpicture</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="GStreamer VA-API Plugins 1.2 Library Reference Manual">
8
8
<link rel="up" href="ch01.html" title="gst-plugins-vaapi Library">
9
9
<link rel="prev" href="libs-gstvaapiimage.html" title="GstVaapiImage">
10
10
<link rel="next" href="libs-GstVaapiTexture.html" title="GstVaapiTexture">
11
 
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
 
<tr valign="middle">
17
 
<td><a accesskey="p" href="libs-gstvaapiimage.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
 
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
 
<th width="100%" align="center">GStreamer VA-API Plugins 1.2 Library Reference Manual</th>
21
 
<td><a accesskey="n" href="libs-GstVaapiTexture.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
 
</tr>
23
 
<tr><td colspan="5" class="shortcuts">
24
 
<a href="#libs-GstVaapiSubpicture.synopsis" class="shortcut">Top</a>
25
 
                   | 
26
 
                  <a href="#libs-GstVaapiSubpicture.description" class="shortcut">Description</a>
27
 
</td></tr>
28
 
</table>
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
 
16
<td width="100%" align="left" class="shortcuts">
 
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
 
18
                  <a href="#libs-GstVaapiSubpicture.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
 
19
                  <a href="#libs-GstVaapiSubpicture.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
 
20
</td>
 
21
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
 
22
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
 
23
<td><a accesskey="p" href="libs-gstvaapiimage.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
 
24
<td><a accesskey="n" href="libs-GstVaapiTexture.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
 
25
</tr></table>
29
26
<div class="refentry">
30
27
<a name="libs-GstVaapiSubpicture"></a><div class="titlepage"></div>
31
28
<div class="refnamediv"><table width="100%"><tr>
33
30
<h2><span class="refentrytitle"><a name="libs-GstVaapiSubpicture.top_of_page"></a>GstVaapiSubpicture</span></h2>
34
31
<p>GstVaapiSubpicture — VA subpicture abstraction</p>
35
32
</td>
36
 
<td valign="top" align="right"></td>
 
33
<td class="gallery_image" valign="top" align="right"></td>
37
34
</tr></table></div>
38
 
<div class="refsynopsisdiv">
39
 
<a name="libs-GstVaapiSubpicture.synopsis"></a><h2>Synopsis</h2>
40
 
<pre class="synopsis">                    <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture">GstVaapiSubpicture</a>;
41
 
<a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="returnvalue">GstVaapiSubpicture</span></a> * <a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-new" title="gst_vaapi_subpicture_new ()">gst_vaapi_subpicture_new</a>           (<em class="parameter"><code><a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> *image</code></em>,
42
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>);
43
 
<a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="returnvalue">GstVaapiSubpicture</span></a> * <a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-new-from-overlay-rectangle" title="gst_vaapi_subpicture_new_from_overlay_rectangle ()">gst_vaapi_subpicture_new_from_overlay_rectangle</a>
44
 
                                                        (<em class="parameter"><code><a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a> *display</code></em>,
45
 
                                                         <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlaycomposition.html#GstVideoOverlayRectangle"><span class="type">GstVideoOverlayRectangle</span></a> *rect</code></em>);
46
 
<a class="link" href="libs-Basic-data-structures.html#GstVaapiID" title="GstVaapiID"><span class="returnvalue">GstVaapiID</span></a>          <a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-get-id" title="gst_vaapi_subpicture_get_id ()">gst_vaapi_subpicture_get_id</a>         (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);
47
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-get-flags" title="gst_vaapi_subpicture_get_flags ()">gst_vaapi_subpicture_get_flags</a>      (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);
48
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>              <a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-get-global-alpha" title="gst_vaapi_subpicture_get_global_alpha ()">gst_vaapi_subpicture_get_global_alpha</a>
49
 
                                                        (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);
50
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-set-global-alpha" title="gst_vaapi_subpicture_set_global_alpha ()">gst_vaapi_subpicture_set_global_alpha</a>
51
 
                                                        (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>,
52
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> global_alpha</code></em>);
53
 
<a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="returnvalue">GstVaapiImage</span></a> *     <a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-get-image" title="gst_vaapi_subpicture_get_image ()">gst_vaapi_subpicture_get_image</a>      (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);
54
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-set-image" title="gst_vaapi_subpicture_set_image ()">gst_vaapi_subpicture_set_image</a>      (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>,
55
 
                                                         <em class="parameter"><code><a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> *image</code></em>);
 
35
<div class="refsect1">
 
36
<a name="libs-GstVaapiSubpicture.functions"></a><h2>Functions</h2>
 
37
<div class="informaltable"><table width="100%" border="0">
 
38
<colgroup>
 
39
<col width="150px" class="functions_return">
 
40
<col class="functions_name">
 
41
</colgroup>
 
42
<tbody>
 
43
<tr>
 
44
<td class="function_type">
 
45
<a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="returnvalue">GstVaapiSubpicture</span></a> *
 
46
</td>
 
47
<td class="function_name">
 
48
<a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-new" title="gst_vaapi_subpicture_new ()">gst_vaapi_subpicture_new</a> <span class="c_punctuation">()</span>
 
49
</td>
 
50
</tr>
 
51
<tr>
 
52
<td class="function_type">
 
53
<a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="returnvalue">GstVaapiSubpicture</span></a> *
 
54
</td>
 
55
<td class="function_name">
 
56
<a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-new-from-overlay-rectangle" title="gst_vaapi_subpicture_new_from_overlay_rectangle ()">gst_vaapi_subpicture_new_from_overlay_rectangle</a> <span class="c_punctuation">()</span>
 
57
</td>
 
58
</tr>
 
59
<tr>
 
60
<td class="function_type">
 
61
<a class="link" href="libs-Basic-data-structures.html#GstVaapiID" title="GstVaapiID"><span class="returnvalue">GstVaapiID</span></a>
 
62
</td>
 
63
<td class="function_name">
 
64
<a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-get-id" title="gst_vaapi_subpicture_get_id ()">gst_vaapi_subpicture_get_id</a> <span class="c_punctuation">()</span>
 
65
</td>
 
66
</tr>
 
67
<tr>
 
68
<td class="function_type">
 
69
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
 
70
</td>
 
71
<td class="function_name">
 
72
<a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-get-flags" title="gst_vaapi_subpicture_get_flags ()">gst_vaapi_subpicture_get_flags</a> <span class="c_punctuation">()</span>
 
73
</td>
 
74
</tr>
 
75
<tr>
 
76
<td class="function_type">
 
77
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>
 
78
</td>
 
79
<td class="function_name">
 
80
<a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-get-global-alpha" title="gst_vaapi_subpicture_get_global_alpha ()">gst_vaapi_subpicture_get_global_alpha</a> <span class="c_punctuation">()</span>
 
81
</td>
 
82
</tr>
 
83
<tr>
 
84
<td class="function_type">
 
85
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
86
</td>
 
87
<td class="function_name">
 
88
<a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-set-global-alpha" title="gst_vaapi_subpicture_set_global_alpha ()">gst_vaapi_subpicture_set_global_alpha</a> <span class="c_punctuation">()</span>
 
89
</td>
 
90
</tr>
 
91
<tr>
 
92
<td class="function_type">
 
93
<a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="returnvalue">GstVaapiImage</span></a> *
 
94
</td>
 
95
<td class="function_name">
 
96
<a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-get-image" title="gst_vaapi_subpicture_get_image ()">gst_vaapi_subpicture_get_image</a> <span class="c_punctuation">()</span>
 
97
</td>
 
98
</tr>
 
99
<tr>
 
100
<td class="function_type">
 
101
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
102
</td>
 
103
<td class="function_name">
 
104
<a class="link" href="libs-GstVaapiSubpicture.html#gst-vaapi-subpicture-set-image" title="gst_vaapi_subpicture_set_image ()">gst_vaapi_subpicture_set_image</a> <span class="c_punctuation">()</span>
 
105
</td>
 
106
</tr>
 
107
</tbody>
 
108
</table></div>
 
109
</div>
 
110
<div class="refsect1">
 
111
<a name="libs-GstVaapiSubpicture.other"></a><h2>Types and Values</h2>
 
112
<div class="informaltable"><table width="100%" border="0">
 
113
<colgroup>
 
114
<col width="150px" class="name">
 
115
<col class="description">
 
116
</colgroup>
 
117
<tbody><tr>
 
118
<td class="datatype_keyword"> </td>
 
119
<td class="function_name"><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture">GstVaapiSubpicture</a></td>
 
120
</tr></tbody>
 
121
</table></div>
 
122
</div>
 
123
<div class="refsect1">
 
124
<a name="libs-GstVaapiSubpicture.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
125
<pre class="screen">
56
126
</pre>
57
127
</div>
58
128
<div class="refsect1">
59
129
<a name="libs-GstVaapiSubpicture.description"></a><h2>Description</h2>
60
130
</div>
61
131
<div class="refsect1">
62
 
<a name="libs-GstVaapiSubpicture.details"></a><h2>Details</h2>
 
132
<a name="libs-GstVaapiSubpicture.functions_details"></a><h2>Functions</h2>
 
133
<div class="refsect2">
 
134
<a name="gst-vaapi-subpicture-new"></a><h3>gst_vaapi_subpicture_new ()</h3>
 
135
<pre class="programlisting"><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="returnvalue">GstVaapiSubpicture</span></a> *
 
136
gst_vaapi_subpicture_new (<em class="parameter"><code><a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> *image</code></em>,
 
137
                          <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>);</pre>
 
138
<p>Creates a new <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> with <em class="parameter"><code>image</code></em>
 
139
 as source pixels. The
 
140
newly created object holds a reference on <em class="parameter"><code>image</code></em>
 
141
.</p>
 
142
<div class="refsect3">
 
143
<a name="id-1.2.15.7.2.5"></a><h4>Parameters</h4>
 
144
<div class="informaltable"><table width="100%" border="0">
 
145
<colgroup>
 
146
<col width="150px" class="parameters_name">
 
147
<col class="parameters_description">
 
148
<col width="200px" class="parameters_annotations">
 
149
</colgroup>
 
150
<tbody>
 
151
<tr>
 
152
<td class="parameter_name"><p>image</p></td>
 
153
<td class="parameter_description"><p>a <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a></p></td>
 
154
<td class="parameter_annotations"> </td>
 
155
</tr>
 
156
<tr>
 
157
<td class="parameter_name"><p>flags</p></td>
 
158
<td class="parameter_description"><p><span class="type">GstVaapiSubpictureFlags</span>, or zero</p></td>
 
159
<td class="parameter_annotations"> </td>
 
160
</tr>
 
161
</tbody>
 
162
</table></div>
 
163
</div>
 
164
<div class="refsect3">
 
165
<a name="id-1.2.15.7.2.6"></a><h4>Returns</h4>
 
166
<p> the newly allocated <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> object</p>
 
167
<p></p>
 
168
</div>
 
169
</div>
 
170
<hr>
 
171
<div class="refsect2">
 
172
<a name="gst-vaapi-subpicture-new-from-overlay-rectangle"></a><h3>gst_vaapi_subpicture_new_from_overlay_rectangle ()</h3>
 
173
<pre class="programlisting"><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="returnvalue">GstVaapiSubpicture</span></a> *
 
174
gst_vaapi_subpicture_new_from_overlay_rectangle
 
175
                               (<em class="parameter"><code><a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a> *display</code></em>,
 
176
                                <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlaycomposition.html#GstVideoOverlayRectangle"><span class="type">GstVideoOverlayRectangle</span></a> *rect</code></em>);</pre>
 
177
<p>Helper function that creates a new <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> from a
 
178
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlaycomposition.html#GstVideoOverlayRectangle"><span class="type">GstVideoOverlayRectangle</span></a>. A new <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> is also created
 
179
along the way and attached to the resulting subpicture. The
 
180
subpicture holds a unique reference to the underlying image.</p>
 
181
<div class="refsect3">
 
182
<a name="id-1.2.15.7.3.5"></a><h4>Parameters</h4>
 
183
<div class="informaltable"><table width="100%" border="0">
 
184
<colgroup>
 
185
<col width="150px" class="parameters_name">
 
186
<col class="parameters_description">
 
187
<col width="200px" class="parameters_annotations">
 
188
</colgroup>
 
189
<tbody>
 
190
<tr>
 
191
<td class="parameter_name"><p>display</p></td>
 
192
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a></p></td>
 
193
<td class="parameter_annotations"> </td>
 
194
</tr>
 
195
<tr>
 
196
<td class="parameter_name"><p>rect</p></td>
 
197
<td class="parameter_description"><p>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlaycomposition.html#GstVideoOverlayRectangle"><span class="type">GstVideoOverlayRectangle</span></a></p></td>
 
198
<td class="parameter_annotations"> </td>
 
199
</tr>
 
200
</tbody>
 
201
</table></div>
 
202
</div>
 
203
<div class="refsect3">
 
204
<a name="id-1.2.15.7.3.6"></a><h4>Returns</h4>
 
205
<p> the newly allocated <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> object</p>
 
206
<p></p>
 
207
</div>
 
208
</div>
 
209
<hr>
 
210
<div class="refsect2">
 
211
<a name="gst-vaapi-subpicture-get-id"></a><h3>gst_vaapi_subpicture_get_id ()</h3>
 
212
<pre class="programlisting"><a class="link" href="libs-Basic-data-structures.html#GstVaapiID" title="GstVaapiID"><span class="returnvalue">GstVaapiID</span></a>
 
213
gst_vaapi_subpicture_get_id (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);</pre>
 
214
<p>Returns the underlying VASubpictureID of the <em class="parameter"><code>subpicture</code></em>
 
215
.</p>
 
216
<div class="refsect3">
 
217
<a name="id-1.2.15.7.4.5"></a><h4>Parameters</h4>
 
218
<div class="informaltable"><table width="100%" border="0">
 
219
<colgroup>
 
220
<col width="150px" class="parameters_name">
 
221
<col class="parameters_description">
 
222
<col width="200px" class="parameters_annotations">
 
223
</colgroup>
 
224
<tbody><tr>
 
225
<td class="parameter_name"><p>subpicture</p></td>
 
226
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a></p></td>
 
227
<td class="parameter_annotations"> </td>
 
228
</tr></tbody>
 
229
</table></div>
 
230
</div>
 
231
<div class="refsect3">
 
232
<a name="id-1.2.15.7.4.6"></a><h4>Returns</h4>
 
233
<p> the underlying VA subpicture id</p>
 
234
<p></p>
 
235
</div>
 
236
</div>
 
237
<hr>
 
238
<div class="refsect2">
 
239
<a name="gst-vaapi-subpicture-get-flags"></a><h3>gst_vaapi_subpicture_get_flags ()</h3>
 
240
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
 
241
gst_vaapi_subpicture_get_flags (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);</pre>
 
242
<p>Returns the <em class="parameter"><code>subpicture</code></em>
 
243
 flags.</p>
 
244
<div class="refsect3">
 
245
<a name="id-1.2.15.7.5.5"></a><h4>Parameters</h4>
 
246
<div class="informaltable"><table width="100%" border="0">
 
247
<colgroup>
 
248
<col width="150px" class="parameters_name">
 
249
<col class="parameters_description">
 
250
<col width="200px" class="parameters_annotations">
 
251
</colgroup>
 
252
<tbody><tr>
 
253
<td class="parameter_name"><p>subpicture</p></td>
 
254
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a></p></td>
 
255
<td class="parameter_annotations"> </td>
 
256
</tr></tbody>
 
257
</table></div>
 
258
</div>
 
259
<div class="refsect3">
 
260
<a name="id-1.2.15.7.5.6"></a><h4>Returns</h4>
 
261
<p> the <em class="parameter"><code>subpicture</code></em>
 
262
flags</p>
 
263
<p></p>
 
264
</div>
 
265
</div>
 
266
<hr>
 
267
<div class="refsect2">
 
268
<a name="gst-vaapi-subpicture-get-global-alpha"></a><h3>gst_vaapi_subpicture_get_global_alpha ()</h3>
 
269
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>
 
270
gst_vaapi_subpicture_get_global_alpha (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);</pre>
 
271
<p>Returns the value of global_alpha, set for this <em class="parameter"><code>subpicture</code></em>
 
272
.</p>
 
273
<div class="refsect3">
 
274
<a name="id-1.2.15.7.6.5"></a><h4>Parameters</h4>
 
275
<div class="informaltable"><table width="100%" border="0">
 
276
<colgroup>
 
277
<col width="150px" class="parameters_name">
 
278
<col class="parameters_description">
 
279
<col width="200px" class="parameters_annotations">
 
280
</colgroup>
 
281
<tbody><tr>
 
282
<td class="parameter_name"><p>subpicture</p></td>
 
283
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a></p></td>
 
284
<td class="parameter_annotations"> </td>
 
285
</tr></tbody>
 
286
</table></div>
 
287
</div>
 
288
<div class="refsect3">
 
289
<a name="id-1.2.15.7.6.6"></a><h4>Returns</h4>
 
290
<p> the global_alpha value of this <em class="parameter"><code>subpicture</code></em>
 
291
</p>
 
292
<p></p>
 
293
</div>
 
294
</div>
 
295
<hr>
 
296
<div class="refsect2">
 
297
<a name="gst-vaapi-subpicture-set-global-alpha"></a><h3>gst_vaapi_subpicture_set_global_alpha ()</h3>
 
298
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
299
gst_vaapi_subpicture_set_global_alpha (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>,
 
300
                                       <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> global_alpha</code></em>);</pre>
 
301
<p>Sets the global_alpha value of <em class="parameter"><code>subpicture</code></em>
 
302
. This function calls
 
303
<code class="function">vaSetSubpictureGlobalAlpha()</code> if the format of <em class="parameter"><code>subpicture</code></em>
 
304
, i.e.
 
305
the current VA driver supports it.</p>
 
306
<div class="refsect3">
 
307
<a name="id-1.2.15.7.7.5"></a><h4>Parameters</h4>
 
308
<div class="informaltable"><table width="100%" border="0">
 
309
<colgroup>
 
310
<col width="150px" class="parameters_name">
 
311
<col class="parameters_description">
 
312
<col width="200px" class="parameters_annotations">
 
313
</colgroup>
 
314
<tbody>
 
315
<tr>
 
316
<td class="parameter_name"><p>subpicture</p></td>
 
317
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a></p></td>
 
318
<td class="parameter_annotations"> </td>
 
319
</tr>
 
320
<tr>
 
321
<td class="parameter_name"><p>global_alpha</p></td>
 
322
<td class="parameter_description"><p>value for global-alpha (range: 0.0 to 1.0, inclusive)</p></td>
 
323
<td class="parameter_annotations"> </td>
 
324
</tr>
 
325
</tbody>
 
326
</table></div>
 
327
</div>
 
328
<div class="refsect3">
 
329
<a name="id-1.2.15.7.7.6"></a><h4>Returns</h4>
 
330
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if global_alpha could be set, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
 
331
<p></p>
 
332
</div>
 
333
</div>
 
334
<hr>
 
335
<div class="refsect2">
 
336
<a name="gst-vaapi-subpicture-get-image"></a><h3>gst_vaapi_subpicture_get_image ()</h3>
 
337
<pre class="programlisting"><a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="returnvalue">GstVaapiImage</span></a> *
 
338
gst_vaapi_subpicture_get_image (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);</pre>
 
339
<p>Returns the <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> this <em class="parameter"><code>subpicture</code></em>
 
340
 is bound to.</p>
 
341
<div class="refsect3">
 
342
<a name="id-1.2.15.7.8.5"></a><h4>Parameters</h4>
 
343
<div class="informaltable"><table width="100%" border="0">
 
344
<colgroup>
 
345
<col width="150px" class="parameters_name">
 
346
<col class="parameters_description">
 
347
<col width="200px" class="parameters_annotations">
 
348
</colgroup>
 
349
<tbody><tr>
 
350
<td class="parameter_name"><p>subpicture</p></td>
 
351
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a></p></td>
 
352
<td class="parameter_annotations"> </td>
 
353
</tr></tbody>
 
354
</table></div>
 
355
</div>
 
356
<div class="refsect3">
 
357
<a name="id-1.2.15.7.8.6"></a><h4>Returns</h4>
 
358
<p> the <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> this <em class="parameter"><code>subpicture</code></em>
 
359
is bound to</p>
 
360
<p></p>
 
361
</div>
 
362
</div>
 
363
<hr>
 
364
<div class="refsect2">
 
365
<a name="gst-vaapi-subpicture-set-image"></a><h3>gst_vaapi_subpicture_set_image ()</h3>
 
366
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
367
gst_vaapi_subpicture_set_image (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>,
 
368
                                <em class="parameter"><code><a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> *image</code></em>);</pre>
 
369
<p>Binds a new <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> to the <em class="parameter"><code>subpicture</code></em>
 
370
. The reference to the
 
371
previous image is released and a new one is acquired on <em class="parameter"><code>image</code></em>
 
372
.</p>
 
373
<div class="refsect3">
 
374
<a name="id-1.2.15.7.9.5"></a><h4>Parameters</h4>
 
375
<div class="informaltable"><table width="100%" border="0">
 
376
<colgroup>
 
377
<col width="150px" class="parameters_name">
 
378
<col class="parameters_description">
 
379
<col width="200px" class="parameters_annotations">
 
380
</colgroup>
 
381
<tbody>
 
382
<tr>
 
383
<td class="parameter_name"><p>subpicture</p></td>
 
384
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a></p></td>
 
385
<td class="parameter_annotations"> </td>
 
386
</tr>
 
387
<tr>
 
388
<td class="parameter_name"><p>image</p></td>
 
389
<td class="parameter_description"><p>a <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a></p></td>
 
390
<td class="parameter_annotations"> </td>
 
391
</tr>
 
392
</tbody>
 
393
</table></div>
 
394
</div>
 
395
<div class="refsect3">
 
396
<a name="id-1.2.15.7.9.6"></a><h4>Returns</h4>
 
397
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
 
398
<p></p>
 
399
</div>
 
400
</div>
 
401
</div>
 
402
<div class="refsect1">
 
403
<a name="libs-GstVaapiSubpicture.other_details"></a><h2>Types and Values</h2>
63
404
<div class="refsect2">
64
405
<a name="GstVaapiSubpicture"></a><h3>GstVaapiSubpicture</h3>
65
406
<pre class="programlisting">typedef struct _GstVaapiSubpicture GstVaapiSubpicture;</pre>
66
 
<p>
67
 
A VA subpicture wrapper
68
 
</p>
69
 
</div>
70
 
<hr>
71
 
<div class="refsect2">
72
 
<a name="gst-vaapi-subpicture-new"></a><h3>gst_vaapi_subpicture_new ()</h3>
73
 
<pre class="programlisting"><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="returnvalue">GstVaapiSubpicture</span></a> * gst_vaapi_subpicture_new           (<em class="parameter"><code><a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> *image</code></em>,
74
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> flags</code></em>);</pre>
75
 
<p>
76
 
Creates a new <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> with <em class="parameter"><code>image</code></em> as source pixels. The
77
 
newly created object holds a reference on <em class="parameter"><code>image</code></em>.
78
 
</p>
79
 
<div class="variablelist"><table border="0" class="variablelist">
80
 
<colgroup>
81
 
<col align="left" valign="top">
82
 
<col>
83
 
</colgroup>
84
 
<tbody>
85
 
<tr>
86
 
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
87
 
<td>a <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a>
88
 
</td>
89
 
</tr>
90
 
<tr>
91
 
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
92
 
<td>
93
 
<span class="type">GstVaapiSubpictureFlags</span>, or zero</td>
94
 
</tr>
95
 
<tr>
96
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
97
 
<td>the newly allocated <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> object</td>
98
 
</tr>
99
 
</tbody>
100
 
</table></div>
101
 
</div>
102
 
<hr>
103
 
<div class="refsect2">
104
 
<a name="gst-vaapi-subpicture-new-from-overlay-rectangle"></a><h3>gst_vaapi_subpicture_new_from_overlay_rectangle ()</h3>
105
 
<pre class="programlisting"><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="returnvalue">GstVaapiSubpicture</span></a> * gst_vaapi_subpicture_new_from_overlay_rectangle
106
 
                                                        (<em class="parameter"><code><a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a> *display</code></em>,
107
 
                                                         <em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlaycomposition.html#GstVideoOverlayRectangle"><span class="type">GstVideoOverlayRectangle</span></a> *rect</code></em>);</pre>
108
 
<p>
109
 
Helper function that creates a new <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> from a
110
 
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlaycomposition.html#GstVideoOverlayRectangle"><span class="type">GstVideoOverlayRectangle</span></a>. A new <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> is also created
111
 
along the way and attached to the resulting subpicture. The
112
 
subpicture holds a unique reference to the underlying image.
113
 
</p>
114
 
<div class="variablelist"><table border="0" class="variablelist">
115
 
<colgroup>
116
 
<col align="left" valign="top">
117
 
<col>
118
 
</colgroup>
119
 
<tbody>
120
 
<tr>
121
 
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
122
 
<td>a <a class="link" href="libs-GstVaapiDisplay.html#GstVaapiDisplay" title="GstVaapiDisplay"><span class="type">GstVaapiDisplay</span></a>
123
 
</td>
124
 
</tr>
125
 
<tr>
126
 
<td><p><span class="term"><em class="parameter"><code>rect</code></em> :</span></p></td>
127
 
<td>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideooverlaycomposition.html#GstVideoOverlayRectangle"><span class="type">GstVideoOverlayRectangle</span></a>
128
 
</td>
129
 
</tr>
130
 
<tr>
131
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
132
 
<td>the newly allocated <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> object</td>
133
 
</tr>
134
 
</tbody>
135
 
</table></div>
136
 
</div>
137
 
<hr>
138
 
<div class="refsect2">
139
 
<a name="gst-vaapi-subpicture-get-id"></a><h3>gst_vaapi_subpicture_get_id ()</h3>
140
 
<pre class="programlisting"><a class="link" href="libs-Basic-data-structures.html#GstVaapiID" title="GstVaapiID"><span class="returnvalue">GstVaapiID</span></a>          gst_vaapi_subpicture_get_id         (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);</pre>
141
 
<p>
142
 
Returns the underlying VASubpictureID of the <em class="parameter"><code>subpicture</code></em>.
143
 
</p>
144
 
<div class="variablelist"><table border="0" class="variablelist">
145
 
<colgroup>
146
 
<col align="left" valign="top">
147
 
<col>
148
 
</colgroup>
149
 
<tbody>
150
 
<tr>
151
 
<td><p><span class="term"><em class="parameter"><code>subpicture</code></em> :</span></p></td>
152
 
<td>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a>
153
 
</td>
154
 
</tr>
155
 
<tr>
156
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
157
 
<td>the underlying VA subpicture id</td>
158
 
</tr>
159
 
</tbody>
160
 
</table></div>
161
 
</div>
162
 
<hr>
163
 
<div class="refsect2">
164
 
<a name="gst-vaapi-subpicture-get-flags"></a><h3>gst_vaapi_subpicture_get_flags ()</h3>
165
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gst_vaapi_subpicture_get_flags      (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);</pre>
166
 
<p>
167
 
Returns the <em class="parameter"><code>subpicture</code></em> flags.
168
 
</p>
169
 
<div class="variablelist"><table border="0" class="variablelist">
170
 
<colgroup>
171
 
<col align="left" valign="top">
172
 
<col>
173
 
</colgroup>
174
 
<tbody>
175
 
<tr>
176
 
<td><p><span class="term"><em class="parameter"><code>subpicture</code></em> :</span></p></td>
177
 
<td>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a>
178
 
</td>
179
 
</tr>
180
 
<tr>
181
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
182
 
<td>the <em class="parameter"><code>subpicture</code></em> flags</td>
183
 
</tr>
184
 
</tbody>
185
 
</table></div>
186
 
</div>
187
 
<hr>
188
 
<div class="refsect2">
189
 
<a name="gst-vaapi-subpicture-get-global-alpha"></a><h3>gst_vaapi_subpicture_get_global_alpha ()</h3>
190
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>              gst_vaapi_subpicture_get_global_alpha
191
 
                                                        (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);</pre>
192
 
<p>
193
 
Returns the value of global_alpha, set for this <em class="parameter"><code>subpicture</code></em>.
194
 
</p>
195
 
<div class="variablelist"><table border="0" class="variablelist">
196
 
<colgroup>
197
 
<col align="left" valign="top">
198
 
<col>
199
 
</colgroup>
200
 
<tbody>
201
 
<tr>
202
 
<td><p><span class="term"><em class="parameter"><code>subpicture</code></em> :</span></p></td>
203
 
<td>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a>
204
 
</td>
205
 
</tr>
206
 
<tr>
207
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
208
 
<td>the global_alpha value of this <em class="parameter"><code>subpicture</code></em>
209
 
</td>
210
 
</tr>
211
 
</tbody>
212
 
</table></div>
213
 
</div>
214
 
<hr>
215
 
<div class="refsect2">
216
 
<a name="gst-vaapi-subpicture-set-global-alpha"></a><h3>gst_vaapi_subpicture_set_global_alpha ()</h3>
217
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gst_vaapi_subpicture_set_global_alpha
218
 
                                                        (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>,
219
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> global_alpha</code></em>);</pre>
220
 
<p>
221
 
Sets the global_alpha value of <em class="parameter"><code>subpicture</code></em>. This function calls
222
 
<code class="function">vaSetSubpictureGlobalAlpha()</code> if the format of <em class="parameter"><code>subpicture</code></em>, i.e.
223
 
the current VA driver supports it.
224
 
</p>
225
 
<div class="variablelist"><table border="0" class="variablelist">
226
 
<colgroup>
227
 
<col align="left" valign="top">
228
 
<col>
229
 
</colgroup>
230
 
<tbody>
231
 
<tr>
232
 
<td><p><span class="term"><em class="parameter"><code>subpicture</code></em> :</span></p></td>
233
 
<td>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a>
234
 
</td>
235
 
</tr>
236
 
<tr>
237
 
<td><p><span class="term"><em class="parameter"><code>global_alpha</code></em> :</span></p></td>
238
 
<td>value for global-alpha (range: 0.0 to 1.0, inclusive)</td>
239
 
</tr>
240
 
<tr>
241
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
242
 
<td>
243
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if global_alpha could be set, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
244
 
</tr>
245
 
</tbody>
246
 
</table></div>
247
 
</div>
248
 
<hr>
249
 
<div class="refsect2">
250
 
<a name="gst-vaapi-subpicture-get-image"></a><h3>gst_vaapi_subpicture_get_image ()</h3>
251
 
<pre class="programlisting"><a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="returnvalue">GstVaapiImage</span></a> *     gst_vaapi_subpicture_get_image      (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>);</pre>
252
 
<p>
253
 
Returns the <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> this <em class="parameter"><code>subpicture</code></em> is bound to.
254
 
</p>
255
 
<div class="variablelist"><table border="0" class="variablelist">
256
 
<colgroup>
257
 
<col align="left" valign="top">
258
 
<col>
259
 
</colgroup>
260
 
<tbody>
261
 
<tr>
262
 
<td><p><span class="term"><em class="parameter"><code>subpicture</code></em> :</span></p></td>
263
 
<td>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a>
264
 
</td>
265
 
</tr>
266
 
<tr>
267
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
268
 
<td>the <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> this <em class="parameter"><code>subpicture</code></em> is bound to</td>
269
 
</tr>
270
 
</tbody>
271
 
</table></div>
272
 
</div>
273
 
<hr>
274
 
<div class="refsect2">
275
 
<a name="gst-vaapi-subpicture-set-image"></a><h3>gst_vaapi_subpicture_set_image ()</h3>
276
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gst_vaapi_subpicture_set_image      (<em class="parameter"><code><a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a> *subpicture</code></em>,
277
 
                                                         <em class="parameter"><code><a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> *image</code></em>);</pre>
278
 
<p>
279
 
Binds a new <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a> to the <em class="parameter"><code>subpicture</code></em>. The reference to the
280
 
previous image is released and a new one is acquired on <em class="parameter"><code>image</code></em>.
281
 
</p>
282
 
<div class="variablelist"><table border="0" class="variablelist">
283
 
<colgroup>
284
 
<col align="left" valign="top">
285
 
<col>
286
 
</colgroup>
287
 
<tbody>
288
 
<tr>
289
 
<td><p><span class="term"><em class="parameter"><code>subpicture</code></em> :</span></p></td>
290
 
<td>a <a class="link" href="libs-GstVaapiSubpicture.html#GstVaapiSubpicture" title="GstVaapiSubpicture"><span class="type">GstVaapiSubpicture</span></a>
291
 
</td>
292
 
</tr>
293
 
<tr>
294
 
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
295
 
<td>a <a class="link" href="libs-gstvaapiimage.html#GstVaapiImage" title="GstVaapiImage"><span class="type">GstVaapiImage</span></a>
296
 
</td>
297
 
</tr>
298
 
<tr>
299
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
300
 
<td>
301
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</td>
302
 
</tr>
303
 
</tbody>
304
 
</table></div>
 
407
<p>A VA subpicture wrapper</p>
305
408
</div>
306
409
</div>
307
410
</div>
308
411
<div class="footer">
309
412
<hr>
310
 
          Generated by GTK-Doc V1.19</div>
 
413
          Generated by GTK-Doc V1.20</div>
311
414
</body>
312
415
</html>
 
 
b'\\ No newline at end of file'