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

« back to all changes in this revision

Viewing changes to docs/reference/libs/html/libs-GstVaapiPixmap.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>GstVaapiPixmap</title>
 
5
<title>GStreamer VA-API Plugins 1.2 Library Reference Manual: GstVaapiPixmap</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-GstVaapiWindowGLX.html" title="GstVaapiWindowGLX">
10
10
<link rel="next" href="libs-GstVaapiPixmapX11.html" title="GstVaapiPixmapX11">
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-GstVaapiWindowGLX.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-GstVaapiPixmapX11.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-GstVaapiPixmap.synopsis" class="shortcut">Top</a>
25
 
                   | 
26
 
                  <a href="#libs-GstVaapiPixmap.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-GstVaapiPixmap.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
 
19
                  <a href="#libs-GstVaapiPixmap.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-GstVaapiWindowGLX.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
 
24
<td><a accesskey="n" href="libs-GstVaapiPixmapX11.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-GstVaapiPixmap"></a><div class="titlepage"></div>
31
28
<div class="refnamediv"><table width="100%"><tr>
33
30
<h2><span class="refentrytitle"><a name="libs-GstVaapiPixmap.top_of_page"></a>GstVaapiPixmap</span></h2>
34
31
<p>GstVaapiPixmap — Pixmap 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-GstVaapiPixmap.synopsis"></a><h2>Synopsis</h2>
40
 
<pre class="synopsis">                    <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap">GstVaapiPixmap</a>;
41
 
<a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="returnvalue">GstVaapiPixmap</span></a> *    <a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-ref" title="gst_vaapi_pixmap_ref ()">gst_vaapi_pixmap_ref</a>                (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);
42
 
<span class="returnvalue">void</span>                <a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-unref" title="gst_vaapi_pixmap_unref ()">gst_vaapi_pixmap_unref</a>              (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);
43
 
<span class="returnvalue">void</span>                <a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-replace" title="gst_vaapi_pixmap_replace ()">gst_vaapi_pixmap_replace</a>            (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> **old_pixmap_ptr</code></em>,
44
 
                                                         <em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *new_pixmap</code></em>);
45
 
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideo.html#GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>      <a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-get-format" title="gst_vaapi_pixmap_get_format ()">gst_vaapi_pixmap_get_format</a>         (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);
46
 
<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-GstVaapiPixmap.html#gst-vaapi-pixmap-get-width" title="gst_vaapi_pixmap_get_width ()">gst_vaapi_pixmap_get_width</a>          (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</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-GstVaapiPixmap.html#gst-vaapi-pixmap-get-height" title="gst_vaapi_pixmap_get_height ()">gst_vaapi_pixmap_get_height</a>         (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);
48
 
<span class="returnvalue">void</span>                <a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-get-size" title="gst_vaapi_pixmap_get_size ()">gst_vaapi_pixmap_get_size</a>           (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>,
49
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
50
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);
51
 
<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-GstVaapiPixmap.html#gst-vaapi-pixmap-put-surface" title="gst_vaapi_pixmap_put_surface ()">gst_vaapi_pixmap_put_surface</a>        (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>,
52
 
                                                         <em class="parameter"><code><a class="link" href="libs-gstvaapisurface.html#GstVaapiSurface" title="GstVaapiSurface"><span class="type">GstVaapiSurface</span></a> *surface</code></em>,
53
 
                                                         <em class="parameter"><code>const <a class="link" href="libs-Basic-data-structures.html#GstVaapiRectangle" title="struct GstVaapiRectangle"><span class="type">GstVaapiRectangle</span></a> *crop_rect</code></em>,
54
 
                                                         <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>);
 
35
<div class="refsect1">
 
36
<a name="libs-GstVaapiPixmap.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-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="returnvalue">GstVaapiPixmap</span></a> *
 
46
</td>
 
47
<td class="function_name">
 
48
<a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-ref" title="gst_vaapi_pixmap_ref ()">gst_vaapi_pixmap_ref</a> <span class="c_punctuation">()</span>
 
49
</td>
 
50
</tr>
 
51
<tr>
 
52
<td class="function_type">
 
53
<span class="returnvalue">void</span>
 
54
</td>
 
55
<td class="function_name">
 
56
<a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-unref" title="gst_vaapi_pixmap_unref ()">gst_vaapi_pixmap_unref</a> <span class="c_punctuation">()</span>
 
57
</td>
 
58
</tr>
 
59
<tr>
 
60
<td class="function_type">
 
61
<span class="returnvalue">void</span>
 
62
</td>
 
63
<td class="function_name">
 
64
<a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-replace" title="gst_vaapi_pixmap_replace ()">gst_vaapi_pixmap_replace</a> <span class="c_punctuation">()</span>
 
65
</td>
 
66
</tr>
 
67
<tr>
 
68
<td class="function_type">
 
69
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideo.html#GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>
 
70
</td>
 
71
<td class="function_name">
 
72
<a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-get-format" title="gst_vaapi_pixmap_get_format ()">gst_vaapi_pixmap_get_format</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#guint"><span class="returnvalue">guint</span></a>
 
78
</td>
 
79
<td class="function_name">
 
80
<a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-get-width" title="gst_vaapi_pixmap_get_width ()">gst_vaapi_pixmap_get_width</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#guint"><span class="returnvalue">guint</span></a>
 
86
</td>
 
87
<td class="function_name">
 
88
<a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-get-height" title="gst_vaapi_pixmap_get_height ()">gst_vaapi_pixmap_get_height</a> <span class="c_punctuation">()</span>
 
89
</td>
 
90
</tr>
 
91
<tr>
 
92
<td class="function_type">
 
93
<span class="returnvalue">void</span>
 
94
</td>
 
95
<td class="function_name">
 
96
<a class="link" href="libs-GstVaapiPixmap.html#gst-vaapi-pixmap-get-size" title="gst_vaapi_pixmap_get_size ()">gst_vaapi_pixmap_get_size</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-GstVaapiPixmap.html#gst-vaapi-pixmap-put-surface" title="gst_vaapi_pixmap_put_surface ()">gst_vaapi_pixmap_put_surface</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-GstVaapiPixmap.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-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap">GstVaapiPixmap</a></td>
 
120
</tr></tbody>
 
121
</table></div>
 
122
</div>
 
123
<div class="refsect1">
 
124
<a name="libs-GstVaapiPixmap.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
125
<pre class="screen">
55
126
</pre>
56
127
</div>
57
128
<div class="refsect1">
58
129
<a name="libs-GstVaapiPixmap.description"></a><h2>Description</h2>
59
130
</div>
60
131
<div class="refsect1">
61
 
<a name="libs-GstVaapiPixmap.details"></a><h2>Details</h2>
 
132
<a name="libs-GstVaapiPixmap.functions_details"></a><h2>Functions</h2>
 
133
<div class="refsect2">
 
134
<a name="gst-vaapi-pixmap-ref"></a><h3>gst_vaapi_pixmap_ref ()</h3>
 
135
<pre class="programlisting"><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="returnvalue">GstVaapiPixmap</span></a> *
 
136
gst_vaapi_pixmap_ref (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
 
137
<p>Atomically increases the reference count of the given <em class="parameter"><code>pixmap</code></em>
 
138
 by one.</p>
 
139
<div class="refsect3">
 
140
<a name="id-1.2.10.7.2.5"></a><h4>Parameters</h4>
 
141
<div class="informaltable"><table width="100%" border="0">
 
142
<colgroup>
 
143
<col width="150px" class="parameters_name">
 
144
<col class="parameters_description">
 
145
<col width="200px" class="parameters_annotations">
 
146
</colgroup>
 
147
<tbody><tr>
 
148
<td class="parameter_name"><p>pixmap</p></td>
 
149
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p></td>
 
150
<td class="parameter_annotations"> </td>
 
151
</tr></tbody>
 
152
</table></div>
 
153
</div>
 
154
<div class="refsect3">
 
155
<a name="id-1.2.10.7.2.6"></a><h4>Returns</h4>
 
156
<p> The same <em class="parameter"><code>pixmap</code></em>
 
157
argument</p>
 
158
<p></p>
 
159
</div>
 
160
</div>
 
161
<hr>
 
162
<div class="refsect2">
 
163
<a name="gst-vaapi-pixmap-unref"></a><h3>gst_vaapi_pixmap_unref ()</h3>
 
164
<pre class="programlisting"><span class="returnvalue">void</span>
 
165
gst_vaapi_pixmap_unref (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
 
166
<p>Atomically decreases the reference count of the <em class="parameter"><code>pixmap</code></em>
 
167
 by one. If
 
168
the reference count reaches zero, the pixmap will be free'd.</p>
 
169
<div class="refsect3">
 
170
<a name="id-1.2.10.7.3.5"></a><h4>Parameters</h4>
 
171
<div class="informaltable"><table width="100%" border="0">
 
172
<colgroup>
 
173
<col width="150px" class="parameters_name">
 
174
<col class="parameters_description">
 
175
<col width="200px" class="parameters_annotations">
 
176
</colgroup>
 
177
<tbody><tr>
 
178
<td class="parameter_name"><p>pixmap</p></td>
 
179
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p></td>
 
180
<td class="parameter_annotations"> </td>
 
181
</tr></tbody>
 
182
</table></div>
 
183
</div>
 
184
</div>
 
185
<hr>
 
186
<div class="refsect2">
 
187
<a name="gst-vaapi-pixmap-replace"></a><h3>gst_vaapi_pixmap_replace ()</h3>
 
188
<pre class="programlisting"><span class="returnvalue">void</span>
 
189
gst_vaapi_pixmap_replace (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> **old_pixmap_ptr</code></em>,
 
190
                          <em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *new_pixmap</code></em>);</pre>
 
191
<p>Atomically replaces the pixmap pixmap held in <em class="parameter"><code>old_pixmap_ptr</code></em>
 
192
 with
 
193
<em class="parameter"><code>new_pixmap</code></em>
 
194
. This means that <em class="parameter"><code>old_pixmap_ptr</code></em>
 
195
 shall reference a
 
196
valid pixmap. However, <em class="parameter"><code>new_pixmap</code></em>
 
197
 can be NULL.</p>
 
198
<div class="refsect3">
 
199
<a name="id-1.2.10.7.4.5"></a><h4>Parameters</h4>
 
200
<div class="informaltable"><table width="100%" border="0">
 
201
<colgroup>
 
202
<col width="150px" class="parameters_name">
 
203
<col class="parameters_description">
 
204
<col width="200px" class="parameters_annotations">
 
205
</colgroup>
 
206
<tbody>
 
207
<tr>
 
208
<td class="parameter_name"><p>old_pixmap_ptr</p></td>
 
209
<td class="parameter_description"><p>a pointer to a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p></td>
 
210
<td class="parameter_annotations"> </td>
 
211
</tr>
 
212
<tr>
 
213
<td class="parameter_name"><p>new_pixmap</p></td>
 
214
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p></td>
 
215
<td class="parameter_annotations"> </td>
 
216
</tr>
 
217
</tbody>
 
218
</table></div>
 
219
</div>
 
220
</div>
 
221
<hr>
 
222
<div class="refsect2">
 
223
<a name="gst-vaapi-pixmap-get-format"></a><h3>gst_vaapi_pixmap_get_format ()</h3>
 
224
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideo.html#GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>
 
225
gst_vaapi_pixmap_get_format (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
 
226
<p>Retrieves the format of a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>.</p>
 
227
<div class="refsect3">
 
228
<a name="id-1.2.10.7.5.5"></a><h4>Parameters</h4>
 
229
<div class="informaltable"><table width="100%" border="0">
 
230
<colgroup>
 
231
<col width="150px" class="parameters_name">
 
232
<col class="parameters_description">
 
233
<col width="200px" class="parameters_annotations">
 
234
</colgroup>
 
235
<tbody><tr>
 
236
<td class="parameter_name"><p>pixmap</p></td>
 
237
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p></td>
 
238
<td class="parameter_annotations"> </td>
 
239
</tr></tbody>
 
240
</table></div>
 
241
</div>
 
242
<div class="refsect3">
 
243
<a name="id-1.2.10.7.5.6"></a><h4>Returns</h4>
 
244
<p> the format of the <em class="parameter"><code>pixmap</code></em>
 
245
</p>
 
246
<p></p>
 
247
</div>
 
248
</div>
 
249
<hr>
 
250
<div class="refsect2">
 
251
<a name="gst-vaapi-pixmap-get-width"></a><h3>gst_vaapi_pixmap_get_width ()</h3>
 
252
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
 
253
gst_vaapi_pixmap_get_width (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
 
254
<p>Retrieves the width of a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>.</p>
 
255
<div class="refsect3">
 
256
<a name="id-1.2.10.7.6.5"></a><h4>Parameters</h4>
 
257
<div class="informaltable"><table width="100%" border="0">
 
258
<colgroup>
 
259
<col width="150px" class="parameters_name">
 
260
<col class="parameters_description">
 
261
<col width="200px" class="parameters_annotations">
 
262
</colgroup>
 
263
<tbody><tr>
 
264
<td class="parameter_name"><p>pixmap</p></td>
 
265
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p></td>
 
266
<td class="parameter_annotations"> </td>
 
267
</tr></tbody>
 
268
</table></div>
 
269
</div>
 
270
<div class="refsect3">
 
271
<a name="id-1.2.10.7.6.6"></a><h4>Returns</h4>
 
272
<p> the width of the <em class="parameter"><code>pixmap</code></em>
 
273
, in pixels</p>
 
274
<p></p>
 
275
</div>
 
276
</div>
 
277
<hr>
 
278
<div class="refsect2">
 
279
<a name="gst-vaapi-pixmap-get-height"></a><h3>gst_vaapi_pixmap_get_height ()</h3>
 
280
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
 
281
gst_vaapi_pixmap_get_height (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
 
282
<p>Retrieves the height of a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p>
 
283
<div class="refsect3">
 
284
<a name="id-1.2.10.7.7.5"></a><h4>Parameters</h4>
 
285
<div class="informaltable"><table width="100%" border="0">
 
286
<colgroup>
 
287
<col width="150px" class="parameters_name">
 
288
<col class="parameters_description">
 
289
<col width="200px" class="parameters_annotations">
 
290
</colgroup>
 
291
<tbody><tr>
 
292
<td class="parameter_name"><p>pixmap</p></td>
 
293
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p></td>
 
294
<td class="parameter_annotations"> </td>
 
295
</tr></tbody>
 
296
</table></div>
 
297
</div>
 
298
<div class="refsect3">
 
299
<a name="id-1.2.10.7.7.6"></a><h4>Returns</h4>
 
300
<p> the height of the <em class="parameter"><code>pixmap</code></em>
 
301
, in pixels</p>
 
302
<p></p>
 
303
</div>
 
304
</div>
 
305
<hr>
 
306
<div class="refsect2">
 
307
<a name="gst-vaapi-pixmap-get-size"></a><h3>gst_vaapi_pixmap_get_size ()</h3>
 
308
<pre class="programlisting"><span class="returnvalue">void</span>
 
309
gst_vaapi_pixmap_get_size (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>,
 
310
                           <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
 
311
                           <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);</pre>
 
312
<p>Retrieves the dimensions of a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>.</p>
 
313
<div class="refsect3">
 
314
<a name="id-1.2.10.7.8.5"></a><h4>Parameters</h4>
 
315
<div class="informaltable"><table width="100%" border="0">
 
316
<colgroup>
 
317
<col width="150px" class="parameters_name">
 
318
<col class="parameters_description">
 
319
<col width="200px" class="parameters_annotations">
 
320
</colgroup>
 
321
<tbody>
 
322
<tr>
 
323
<td class="parameter_name"><p>pixmap</p></td>
 
324
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p></td>
 
325
<td class="parameter_annotations"> </td>
 
326
</tr>
 
327
<tr>
 
328
<td class="parameter_name"><p>width</p></td>
 
329
<td class="parameter_description"><p>return location for the width, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
 
330
<td class="parameter_annotations"> </td>
 
331
</tr>
 
332
<tr>
 
333
<td class="parameter_name"><p>height</p></td>
 
334
<td class="parameter_description"><p>return location for the height, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
 
335
<td class="parameter_annotations"> </td>
 
336
</tr>
 
337
</tbody>
 
338
</table></div>
 
339
</div>
 
340
</div>
 
341
<hr>
 
342
<div class="refsect2">
 
343
<a name="gst-vaapi-pixmap-put-surface"></a><h3>gst_vaapi_pixmap_put_surface ()</h3>
 
344
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
345
gst_vaapi_pixmap_put_surface (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>,
 
346
                              <em class="parameter"><code><a class="link" href="libs-gstvaapisurface.html#GstVaapiSurface" title="GstVaapiSurface"><span class="type">GstVaapiSurface</span></a> *surface</code></em>,
 
347
                              <em class="parameter"><code>const <a class="link" href="libs-Basic-data-structures.html#GstVaapiRectangle" title="struct GstVaapiRectangle"><span class="type">GstVaapiRectangle</span></a> *crop_rect</code></em>,
 
348
                              <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>
 
349
<p>Renders the whole <em class="parameter"><code>surface</code></em>
 
350
, or a cropped region defined with
 
351
<em class="parameter"><code>crop_rect</code></em>
 
352
, into the <em class="parameter"><code>pixmap</code></em>
 
353
, while scaling to fit the target
 
354
pixmap. The <em class="parameter"><code>flags</code></em>
 
355
 specify how de-interlacing (if needed), color
 
356
space conversion, scaling and other postprocessing transformations
 
357
are performed.</p>
 
358
<div class="refsect3">
 
359
<a name="id-1.2.10.7.9.5"></a><h4>Parameters</h4>
 
360
<div class="informaltable"><table width="100%" border="0">
 
361
<colgroup>
 
362
<col width="150px" class="parameters_name">
 
363
<col class="parameters_description">
 
364
<col width="200px" class="parameters_annotations">
 
365
</colgroup>
 
366
<tbody>
 
367
<tr>
 
368
<td class="parameter_name"><p>pixmap</p></td>
 
369
<td class="parameter_description"><p>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a></p></td>
 
370
<td class="parameter_annotations"> </td>
 
371
</tr>
 
372
<tr>
 
373
<td class="parameter_name"><p>surface</p></td>
 
374
<td class="parameter_description"><p>a <a class="link" href="libs-gstvaapisurface.html#GstVaapiSurface" title="GstVaapiSurface"><span class="type">GstVaapiSurface</span></a></p></td>
 
375
<td class="parameter_annotations"> </td>
 
376
</tr>
 
377
<tr>
 
378
<td class="parameter_name"><p>crop_rect</p></td>
 
379
<td class="parameter_description"><p>the video cropping rectangle, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the entire
 
380
surface is to be used.</p></td>
 
381
<td class="parameter_annotations"> </td>
 
382
</tr>
 
383
<tr>
 
384
<td class="parameter_name"><p>flags</p></td>
 
385
<td class="parameter_description"><p>postprocessing flags. See <a class="link" href="libs-gstvaapisurface.html#GstVaapiSurfaceRenderFlags" title="enum GstVaapiSurfaceRenderFlags"><span class="type">GstVaapiSurfaceRenderFlags</span></a></p></td>
 
386
<td class="parameter_annotations"> </td>
 
387
</tr>
 
388
</tbody>
 
389
</table></div>
 
390
</div>
 
391
<div class="refsect3">
 
392
<a name="id-1.2.10.7.9.6"></a><h4>Returns</h4>
 
393
<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>
 
394
<p></p>
 
395
</div>
 
396
</div>
 
397
</div>
 
398
<div class="refsect1">
 
399
<a name="libs-GstVaapiPixmap.other_details"></a><h2>Types and Values</h2>
62
400
<div class="refsect2">
63
401
<a name="GstVaapiPixmap"></a><h3>GstVaapiPixmap</h3>
64
402
<pre class="programlisting">typedef struct {
65
403
} GstVaapiPixmap;
66
404
</pre>
67
 
<p>
68
 
Base class for system-dependent pixmaps.
69
 
</p>
70
 
</div>
71
 
<hr>
72
 
<div class="refsect2">
73
 
<a name="gst-vaapi-pixmap-ref"></a><h3>gst_vaapi_pixmap_ref ()</h3>
74
 
<pre class="programlisting"><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="returnvalue">GstVaapiPixmap</span></a> *    gst_vaapi_pixmap_ref                (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
75
 
<p>
76
 
Atomically increases the reference count of the given <em class="parameter"><code>pixmap</code></em> by one.
77
 
</p>
78
 
<div class="variablelist"><table border="0" class="variablelist">
79
 
<colgroup>
80
 
<col align="left" valign="top">
81
 
<col>
82
 
</colgroup>
83
 
<tbody>
84
 
<tr>
85
 
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
86
 
<td>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
87
 
</td>
88
 
</tr>
89
 
<tr>
90
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
91
 
<td>The same <em class="parameter"><code>pixmap</code></em> argument</td>
92
 
</tr>
93
 
</tbody>
94
 
</table></div>
95
 
</div>
96
 
<hr>
97
 
<div class="refsect2">
98
 
<a name="gst-vaapi-pixmap-unref"></a><h3>gst_vaapi_pixmap_unref ()</h3>
99
 
<pre class="programlisting"><span class="returnvalue">void</span>                gst_vaapi_pixmap_unref              (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
100
 
<p>
101
 
Atomically decreases the reference count of the <em class="parameter"><code>pixmap</code></em> by one. If
102
 
the reference count reaches zero, the pixmap will be free'd.
103
 
</p>
104
 
<div class="variablelist"><table border="0" class="variablelist">
105
 
<colgroup>
106
 
<col align="left" valign="top">
107
 
<col>
108
 
</colgroup>
109
 
<tbody><tr>
110
 
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
111
 
<td>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
112
 
</td>
113
 
</tr></tbody>
114
 
</table></div>
115
 
</div>
116
 
<hr>
117
 
<div class="refsect2">
118
 
<a name="gst-vaapi-pixmap-replace"></a><h3>gst_vaapi_pixmap_replace ()</h3>
119
 
<pre class="programlisting"><span class="returnvalue">void</span>                gst_vaapi_pixmap_replace            (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> **old_pixmap_ptr</code></em>,
120
 
                                                         <em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *new_pixmap</code></em>);</pre>
121
 
<p>
122
 
Atomically replaces the pixmap pixmap held in <em class="parameter"><code>old_pixmap_ptr</code></em> with
123
 
<em class="parameter"><code>new_pixmap</code></em>. This means that <em class="parameter"><code>old_pixmap_ptr</code></em> shall reference a
124
 
valid pixmap. However, <em class="parameter"><code>new_pixmap</code></em> can be NULL.
125
 
</p>
126
 
<div class="variablelist"><table border="0" class="variablelist">
127
 
<colgroup>
128
 
<col align="left" valign="top">
129
 
<col>
130
 
</colgroup>
131
 
<tbody>
132
 
<tr>
133
 
<td><p><span class="term"><em class="parameter"><code>old_pixmap_ptr</code></em> :</span></p></td>
134
 
<td>a pointer to a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
135
 
</td>
136
 
</tr>
137
 
<tr>
138
 
<td><p><span class="term"><em class="parameter"><code>new_pixmap</code></em> :</span></p></td>
139
 
<td>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
140
 
</td>
141
 
</tr>
142
 
</tbody>
143
 
</table></div>
144
 
</div>
145
 
<hr>
146
 
<div class="refsect2">
147
 
<a name="gst-vaapi-pixmap-get-format"></a><h3>gst_vaapi_pixmap_get_format ()</h3>
148
 
<pre class="programlisting"><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstvideo.html#GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>      gst_vaapi_pixmap_get_format         (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
149
 
<p>
150
 
Retrieves the format of a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>.
151
 
</p>
152
 
<div class="variablelist"><table border="0" class="variablelist">
153
 
<colgroup>
154
 
<col align="left" valign="top">
155
 
<col>
156
 
</colgroup>
157
 
<tbody>
158
 
<tr>
159
 
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
160
 
<td>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
161
 
</td>
162
 
</tr>
163
 
<tr>
164
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
165
 
<td>the format of the <em class="parameter"><code>pixmap</code></em>
166
 
</td>
167
 
</tr>
168
 
</tbody>
169
 
</table></div>
170
 
</div>
171
 
<hr>
172
 
<div class="refsect2">
173
 
<a name="gst-vaapi-pixmap-get-width"></a><h3>gst_vaapi_pixmap_get_width ()</h3>
174
 
<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_pixmap_get_width          (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
175
 
<p>
176
 
Retrieves the width of a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>.
177
 
</p>
178
 
<div class="variablelist"><table border="0" class="variablelist">
179
 
<colgroup>
180
 
<col align="left" valign="top">
181
 
<col>
182
 
</colgroup>
183
 
<tbody>
184
 
<tr>
185
 
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
186
 
<td>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
187
 
</td>
188
 
</tr>
189
 
<tr>
190
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
191
 
<td>the width of the <em class="parameter"><code>pixmap</code></em>, in pixels</td>
192
 
</tr>
193
 
</tbody>
194
 
</table></div>
195
 
</div>
196
 
<hr>
197
 
<div class="refsect2">
198
 
<a name="gst-vaapi-pixmap-get-height"></a><h3>gst_vaapi_pixmap_get_height ()</h3>
199
 
<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_pixmap_get_height         (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>);</pre>
200
 
<p>
201
 
Retrieves the height of a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
202
 
</p>
203
 
<div class="variablelist"><table border="0" class="variablelist">
204
 
<colgroup>
205
 
<col align="left" valign="top">
206
 
<col>
207
 
</colgroup>
208
 
<tbody>
209
 
<tr>
210
 
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
211
 
<td>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
212
 
</td>
213
 
</tr>
214
 
<tr>
215
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
216
 
<td>the height of the <em class="parameter"><code>pixmap</code></em>, in pixels</td>
217
 
</tr>
218
 
</tbody>
219
 
</table></div>
220
 
</div>
221
 
<hr>
222
 
<div class="refsect2">
223
 
<a name="gst-vaapi-pixmap-get-size"></a><h3>gst_vaapi_pixmap_get_size ()</h3>
224
 
<pre class="programlisting"><span class="returnvalue">void</span>                gst_vaapi_pixmap_get_size           (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>,
225
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
226
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);</pre>
227
 
<p>
228
 
Retrieves the dimensions of a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>.
229
 
</p>
230
 
<div class="variablelist"><table border="0" class="variablelist">
231
 
<colgroup>
232
 
<col align="left" valign="top">
233
 
<col>
234
 
</colgroup>
235
 
<tbody>
236
 
<tr>
237
 
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
238
 
<td>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
239
 
</td>
240
 
</tr>
241
 
<tr>
242
 
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
243
 
<td>return location for the width, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
244
 
</td>
245
 
</tr>
246
 
<tr>
247
 
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
248
 
<td>return location for the height, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
249
 
</td>
250
 
</tr>
251
 
</tbody>
252
 
</table></div>
253
 
</div>
254
 
<hr>
255
 
<div class="refsect2">
256
 
<a name="gst-vaapi-pixmap-put-surface"></a><h3>gst_vaapi_pixmap_put_surface ()</h3>
257
 
<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_pixmap_put_surface        (<em class="parameter"><code><a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a> *pixmap</code></em>,
258
 
                                                         <em class="parameter"><code><a class="link" href="libs-gstvaapisurface.html#GstVaapiSurface" title="GstVaapiSurface"><span class="type">GstVaapiSurface</span></a> *surface</code></em>,
259
 
                                                         <em class="parameter"><code>const <a class="link" href="libs-Basic-data-structures.html#GstVaapiRectangle" title="struct GstVaapiRectangle"><span class="type">GstVaapiRectangle</span></a> *crop_rect</code></em>,
260
 
                                                         <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>
261
 
<p>
262
 
Renders the whole <em class="parameter"><code>surface</code></em>, or a cropped region defined with
263
 
<em class="parameter"><code>crop_rect</code></em>, into the <em class="parameter"><code>pixmap</code></em>, while scaling to fit the target
264
 
pixmap. The <em class="parameter"><code>flags</code></em> specify how de-interlacing (if needed), color
265
 
space conversion, scaling and other postprocessing transformations
266
 
are performed.
267
 
</p>
268
 
<div class="variablelist"><table border="0" class="variablelist">
269
 
<colgroup>
270
 
<col align="left" valign="top">
271
 
<col>
272
 
</colgroup>
273
 
<tbody>
274
 
<tr>
275
 
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
276
 
<td>a <a class="link" href="libs-GstVaapiPixmap.html#GstVaapiPixmap" title="GstVaapiPixmap"><span class="type">GstVaapiPixmap</span></a>
277
 
</td>
278
 
</tr>
279
 
<tr>
280
 
<td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
281
 
<td>a <a class="link" href="libs-gstvaapisurface.html#GstVaapiSurface" title="GstVaapiSurface"><span class="type">GstVaapiSurface</span></a>
282
 
</td>
283
 
</tr>
284
 
<tr>
285
 
<td><p><span class="term"><em class="parameter"><code>crop_rect</code></em> :</span></p></td>
286
 
<td>the video cropping rectangle, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the entire
287
 
surface is to be used.</td>
288
 
</tr>
289
 
<tr>
290
 
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
291
 
<td>postprocessing flags. See <a class="link" href="libs-gstvaapisurface.html#GstVaapiSurfaceRenderFlags" title="enum GstVaapiSurfaceRenderFlags"><span class="type">GstVaapiSurfaceRenderFlags</span></a>
292
 
</td>
293
 
</tr>
294
 
<tr>
295
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
296
 
<td>
297
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</td>
298
 
</tr>
299
 
</tbody>
300
 
</table></div>
 
405
<p>Base class for system-dependent pixmaps.</p>
301
406
</div>
302
407
</div>
303
408
</div>
304
409
<div class="footer">
305
410
<hr>
306
 
          Generated by GTK-Doc V1.19</div>
 
411
          Generated by GTK-Doc V1.20</div>
307
412
</body>
308
413
</html>
 
 
b'\\ No newline at end of file'