/usr/share/doc/gstreamer0.10-vaapi/libs/libs-GstVaapiProfile.html is in gstreamer0.10-vaapi-doc 0.3.6-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GstVaapiProfile</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GStreamer VA-API Plugins 0.10 Library Reference Manual">
<link rel="up" href="ch01.html" title="gst-plugins-vaapi Library">
<link rel="prev" href="GstVaapiTexture.html" title="GstVaapiTexture">
<link rel="next" href="GstVaapiVideoPool.html" title="GstVaapiVideoPool">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GstVaapiTexture.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GStreamer VA-API Plugins 0.10 Library Reference Manual</th>
<td><a accesskey="n" href="GstVaapiVideoPool.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libs-GstVaapiProfile.synopsis" class="shortcut">Top</a>
|
<a href="#libs-GstVaapiProfile.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libs-GstVaapiProfile"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libs-GstVaapiProfile.top_of_page"></a>GstVaapiProfile</span></h2>
<p>GstVaapiProfile — VA profile abstraction</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libs-GstVaapiProfile.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">enum <a class="link" href="libs-GstVaapiProfile.html#GstVaapiCodec" title="enum GstVaapiCodec">GstVaapiCodec</a>;
enum <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile">GstVaapiProfile</a>;
enum <a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint">GstVaapiEntrypoint</a>;
<a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="returnvalue">GstVaapiProfile</span></a> <a class="link" href="libs-GstVaapiProfile.html#gst-vaapi-profile" title="gst_vaapi_profile ()">gst_vaapi_profile</a> (<em class="parameter"><code><span class="type">VAProfile</span> profile</code></em>);
<a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="returnvalue">GstVaapiProfile</span></a> <a class="link" href="libs-GstVaapiProfile.html#gst-vaapi-profile-from-caps" title="gst_vaapi_profile_from_caps ()">gst_vaapi_profile_from_caps</a> (<em class="parameter"><code><span class="type">GstCaps</span> *caps</code></em>);
<span class="returnvalue">VAProfile</span> <a class="link" href="libs-GstVaapiProfile.html#gst-vaapi-profile-get-va-profile" title="gst_vaapi_profile_get_va_profile ()">gst_vaapi_profile_get_va_profile</a> (<em class="parameter"><code><a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> profile</code></em>);
<span class="returnvalue">GstCaps</span> * <a class="link" href="libs-GstVaapiProfile.html#gst-vaapi-profile-get-caps" title="gst_vaapi_profile_get_caps ()">gst_vaapi_profile_get_caps</a> (<em class="parameter"><code><a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> profile</code></em>);
<a class="link" href="libs-GstVaapiProfile.html#GstVaapiCodec" title="enum GstVaapiCodec"><span class="returnvalue">GstVaapiCodec</span></a> <a class="link" href="libs-GstVaapiProfile.html#gst-vaapi-profile-get-codec" title="gst_vaapi_profile_get_codec ()">gst_vaapi_profile_get_codec</a> (<em class="parameter"><code><a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> profile</code></em>);
<a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="returnvalue">GstVaapiEntrypoint</span></a> <a class="link" href="libs-GstVaapiProfile.html#gst-vaapi-entrypoint" title="gst_vaapi_entrypoint ()">gst_vaapi_entrypoint</a> (<em class="parameter"><code><span class="type">VAEntrypoint</span> entrypoint</code></em>);
<span class="returnvalue">VAEntrypoint</span> <a class="link" href="libs-GstVaapiProfile.html#gst-vaapi-entrypoint-get-va-entrypoint" title="gst_vaapi_entrypoint_get_va_entrypoint ()">gst_vaapi_entrypoint_get_va_entrypoint</a>
(<em class="parameter"><code><a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="type">GstVaapiEntrypoint</span></a> entrypoint</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libs-GstVaapiProfile.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="libs-GstVaapiProfile.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GstVaapiCodec"></a><h3>enum GstVaapiCodec</h3>
<pre class="programlisting">enum GstVaapiCodec {
GST_VAAPI_CODEC_MPEG1 = GST_MAKE_FOURCC('M','P','1',0),
GST_VAAPI_CODEC_MPEG2 = GST_MAKE_FOURCC('M','P','2',0),
GST_VAAPI_CODEC_MPEG4 = GST_MAKE_FOURCC('M','P','4',0),
GST_VAAPI_CODEC_H263 = GST_MAKE_FOURCC('2','6','3',0),
GST_VAAPI_CODEC_H264 = GST_MAKE_FOURCC('2','6','4',0),
GST_VAAPI_CODEC_WMV3 = GST_MAKE_FOURCC('W','M','V',0),
GST_VAAPI_CODEC_VC1 = GST_MAKE_FOURCC('V','C','1',0),
};
</pre>
<p>
The set of all codecs for <a class="link" href="libs-GstVaapiProfile.html#GstVaapiCodec" title="enum GstVaapiCodec"><span class="type">GstVaapiCodec</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GST-VAAPI-CODEC-MPEG1:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_CODEC_MPEG1</code></span></p></td>
<td>MPEG-1 (ISO/IEC 11172)
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-CODEC-MPEG2:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_CODEC_MPEG2</code></span></p></td>
<td>MPEG-2 (ISO/IEC 13818-2)
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-CODEC-MPEG4:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_CODEC_MPEG4</code></span></p></td>
<td>MPEG-4 Part 2 (ISO/IEC 14496-2)
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-CODEC-H263:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_CODEC_H263</code></span></p></td>
<td>H.263
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-CODEC-H264:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_CODEC_H264</code></span></p></td>
<td>H.264 aka MPEG-4 Part 10 (ISO/IEC 14496-10)
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-CODEC-WMV3:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_CODEC_WMV3</code></span></p></td>
<td>Windows Media Video 9. VC-1 Simple or Main profile (SMPTE 421M)
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-CODEC-VC1:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_CODEC_VC1</code></span></p></td>
<td>VC-1 Advanced profile (SMPTE 421M)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GstVaapiProfile"></a><h3>enum GstVaapiProfile</h3>
<pre class="programlisting">enum GstVaapiProfile {
GST_VAAPI_PROFILE_MPEG1 = GST_VAAPI_MAKE_PROFILE(MPEG1,1),
GST_VAAPI_PROFILE_MPEG2_SIMPLE = GST_VAAPI_MAKE_PROFILE(MPEG2,1),
GST_VAAPI_PROFILE_MPEG2_MAIN = GST_VAAPI_MAKE_PROFILE(MPEG2,2),
GST_VAAPI_PROFILE_MPEG4_SIMPLE = GST_VAAPI_MAKE_PROFILE(MPEG4,1),
GST_VAAPI_PROFILE_MPEG4_ADVANCED_SIMPLE = GST_VAAPI_MAKE_PROFILE(MPEG4,2),
GST_VAAPI_PROFILE_MPEG4_MAIN = GST_VAAPI_MAKE_PROFILE(MPEG4,3),
GST_VAAPI_PROFILE_H263_BASELINE = GST_VAAPI_MAKE_PROFILE(H263,1),
GST_VAAPI_PROFILE_H264_BASELINE = GST_VAAPI_MAKE_PROFILE(H264,1),
GST_VAAPI_PROFILE_H264_MAIN = GST_VAAPI_MAKE_PROFILE(H264,2),
GST_VAAPI_PROFILE_H264_HIGH = GST_VAAPI_MAKE_PROFILE(H264,3),
GST_VAAPI_PROFILE_VC1_SIMPLE = GST_VAAPI_MAKE_PROFILE(VC1,1),
GST_VAAPI_PROFILE_VC1_MAIN = GST_VAAPI_MAKE_PROFILE(VC1,2),
GST_VAAPI_PROFILE_VC1_ADVANCED = GST_VAAPI_MAKE_PROFILE(VC1,3),
};
</pre>
<p>
The set of all profiles for <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-MPEG1:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_MPEG1</code></span></p></td>
<td> MPEG-1
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-MPEG2-SIMPLE:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_MPEG2_SIMPLE</code></span></p></td>
<td> MPEG-2 simple profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-MPEG2-MAIN:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_MPEG2_MAIN</code></span></p></td>
<td> MPEG-2 main profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-MPEG4-SIMPLE:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_MPEG4_SIMPLE</code></span></p></td>
<td> MPEG-4 Part-2 simple profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-MPEG4-ADVANCED-SIMPLE:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_MPEG4_ADVANCED_SIMPLE</code></span></p></td>
<td> MPEG-4 Part-2 advanced simple profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-MPEG4-MAIN:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_MPEG4_MAIN</code></span></p></td>
<td> MPEG-4 Part-2 main profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-H263-BASELINE:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_H263_BASELINE</code></span></p></td>
<td> H.263 baseline profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-H264-BASELINE:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_H264_BASELINE</code></span></p></td>
<td> H.264 (MPEG-4 Part-10) baseline profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-H264-MAIN:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_H264_MAIN</code></span></p></td>
<td> H.264 (MPEG-4 Part-10) main profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-H264-HIGH:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_H264_HIGH</code></span></p></td>
<td> H.264 (MPEG-4 Part-10) high profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-VC1-SIMPLE:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_VC1_SIMPLE</code></span></p></td>
<td> VC-1 simple profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-VC1-MAIN:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_VC1_MAIN</code></span></p></td>
<td> VC-1 main profile
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-PROFILE-VC1-ADVANCED:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_PROFILE_VC1_ADVANCED</code></span></p></td>
<td> VC-1 advanced profile
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GstVaapiEntrypoint"></a><h3>enum GstVaapiEntrypoint</h3>
<pre class="programlisting">enum GstVaapiEntrypoint {
GST_VAAPI_ENTRYPOINT_VLD = 1,
GST_VAAPI_ENTRYPOINT_IDCT,
GST_VAAPI_ENTRYPOINT_MOCO,
GST_VAAPI_ENTRYPOINT_SLICE_ENCODE
};
</pre>
<p>
The set of all entrypoints for <a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="type">GstVaapiEntrypoint</span></a>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GST-VAAPI-ENTRYPOINT-VLD:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_ENTRYPOINT_VLD</code></span></p></td>
<td>Variable Length Decoding
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-ENTRYPOINT-IDCT:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_ENTRYPOINT_IDCT</code></span></p></td>
<td>Inverse Decrete Cosine Transform
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-ENTRYPOINT-MOCO:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_ENTRYPOINT_MOCO</code></span></p></td>
<td>Motion Compensation
</td>
</tr>
<tr>
<td><p><a name="GST-VAAPI-ENTRYPOINT-SLICE-ENCODE:CAPS"></a><span class="term"><code class="literal">GST_VAAPI_ENTRYPOINT_SLICE_ENCODE</code></span></p></td>
<td>Encode Slice
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gst-vaapi-profile"></a><h3>gst_vaapi_profile ()</h3>
<pre class="programlisting"><a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="returnvalue">GstVaapiProfile</span></a> gst_vaapi_profile (<em class="parameter"><code><span class="type">VAProfile</span> profile</code></em>);</pre>
<p>
Converts a VA profile into the corresponding <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a>. If
the profile cannot be represented by <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a>, then zero is
returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
<td>a <span class="type">VAProfile</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> describing the <em class="parameter"><code>profile</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gst-vaapi-profile-from-caps"></a><h3>gst_vaapi_profile_from_caps ()</h3>
<pre class="programlisting"><a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="returnvalue">GstVaapiProfile</span></a> gst_vaapi_profile_from_caps (<em class="parameter"><code><span class="type">GstCaps</span> *caps</code></em>);</pre>
<p>
Converts <em class="parameter"><code>caps</code></em> into the corresponding <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a>. If the
profile cannot be represented by <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a>, then zero is
returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
<td>a <span class="type">GstCaps</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> describing the <em class="parameter"><code>caps</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gst-vaapi-profile-get-va-profile"></a><h3>gst_vaapi_profile_get_va_profile ()</h3>
<pre class="programlisting"><span class="returnvalue">VAProfile</span> gst_vaapi_profile_get_va_profile (<em class="parameter"><code><a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> profile</code></em>);</pre>
<p>
Converts a <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> into the corresponding VA profile. If
no matching VA profile was found, -1 is returned and this error
must be reported to be fixed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
<td>a <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the VA profile, or -1 if none was found</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gst-vaapi-profile-get-caps"></a><h3>gst_vaapi_profile_get_caps ()</h3>
<pre class="programlisting"><span class="returnvalue">GstCaps</span> * gst_vaapi_profile_get_caps (<em class="parameter"><code><a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> profile</code></em>);</pre>
<p>
Converts a <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> into the corresponding <span class="type">GstCaps</span>. If no
matching caps were found, <code class="literal">NULL</code> is returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
<td>a <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the newly allocated <span class="type">GstCaps</span>, or <code class="literal">NULL</code> if none was found</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gst-vaapi-profile-get-codec"></a><h3>gst_vaapi_profile_get_codec ()</h3>
<pre class="programlisting"><a class="link" href="libs-GstVaapiProfile.html#GstVaapiCodec" title="enum GstVaapiCodec"><span class="returnvalue">GstVaapiCodec</span></a> gst_vaapi_profile_get_codec (<em class="parameter"><code><a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a> profile</code></em>);</pre>
<p>
Extracts the <a class="link" href="libs-GstVaapiProfile.html#GstVaapiCodec" title="enum GstVaapiCodec"><span class="type">GstVaapiCodec</span></a> from <em class="parameter"><code>profile</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
<td>a <a class="link" href="libs-GstVaapiProfile.html#GstVaapiProfile" title="enum GstVaapiProfile"><span class="type">GstVaapiProfile</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="libs-GstVaapiProfile.html#GstVaapiCodec" title="enum GstVaapiCodec"><span class="type">GstVaapiCodec</span></a> from <em class="parameter"><code>profile</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gst-vaapi-entrypoint"></a><h3>gst_vaapi_entrypoint ()</h3>
<pre class="programlisting"><a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="returnvalue">GstVaapiEntrypoint</span></a> gst_vaapi_entrypoint (<em class="parameter"><code><span class="type">VAEntrypoint</span> entrypoint</code></em>);</pre>
<p>
Converts a VA entry-point into the corresponding <a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="type">GstVaapiEntrypoint</span></a>.
If the entry-point cannot be represented by <a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="type">GstVaapiEntrypoint</span></a>,
then zero is returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entrypoint</code></em> :</span></p></td>
<td>a <span class="type">VAEntrypoint</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="type">GstVaapiEntrypoint</span></a> describing the <em class="parameter"><code>entrypoint</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gst-vaapi-entrypoint-get-va-entrypoint"></a><h3>gst_vaapi_entrypoint_get_va_entrypoint ()</h3>
<pre class="programlisting"><span class="returnvalue">VAEntrypoint</span> gst_vaapi_entrypoint_get_va_entrypoint
(<em class="parameter"><code><a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="type">GstVaapiEntrypoint</span></a> entrypoint</code></em>);</pre>
<p>
Converts a <a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="type">GstVaapiEntrypoint</span></a> into the corresponding VA
entry-point. If no matching VA entry-point was found, -1 is
returned and this error must be reported to be fixed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>entrypoint</code></em> :</span></p></td>
<td>a <a class="link" href="libs-GstVaapiProfile.html#GstVaapiEntrypoint" title="enum GstVaapiEntrypoint"><span class="type">GstVaapiEntrypoint</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the VA entry-point, or -1 if none was found</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|