Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > bf5d4dd88c08049c9bdbf8c483b59e41 > files > 136

libvdpau-docs-0.4.1-4.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>VDPAU: vdpau/vdpau_x11.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">VDPAU</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dir_40a32b12ebf1591daadce9ca442a6aa7.html">vdpau</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<h1>vdpau_x11.h</h1>  </div>
</div>
<div class="contents">
<a href="vdpau__x11_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * This source file is documented using Doxygen markup.</span>
<a name="l00003"></a>00003 <span class="comment"> * See http://www.stack.nl/~dimitri/doxygen/</span>
<a name="l00004"></a>00004 <span class="comment"> */</span>
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="comment">/*</span>
<a name="l00007"></a>00007 <span class="comment"> * This copyright notice applies to this header file:</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * Copyright (c) 2008-2009 NVIDIA Corporation</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * Permission is hereby granted, free of charge, to any person</span>
<a name="l00012"></a>00012 <span class="comment"> * obtaining a copy of this software and associated documentation</span>
<a name="l00013"></a>00013 <span class="comment"> * files (the &quot;Software&quot;), to deal in the Software without</span>
<a name="l00014"></a>00014 <span class="comment"> * restriction, including without limitation the rights to use,</span>
<a name="l00015"></a>00015 <span class="comment"> * copy, modify, merge, publish, distribute, sublicense, and/or sell</span>
<a name="l00016"></a>00016 <span class="comment"> * copies of the Software, and to permit persons to whom the</span>
<a name="l00017"></a>00017 <span class="comment"> * Software is furnished to do so, subject to the following</span>
<a name="l00018"></a>00018 <span class="comment"> * conditions:</span>
<a name="l00019"></a>00019 <span class="comment"> *</span>
<a name="l00020"></a>00020 <span class="comment"> * The above copyright notice and this permission notice shall be</span>
<a name="l00021"></a>00021 <span class="comment"> * included in all copies or substantial portions of the Software.</span>
<a name="l00022"></a>00022 <span class="comment"> *</span>
<a name="l00023"></a>00023 <span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,</span>
<a name="l00024"></a>00024 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES</span>
<a name="l00025"></a>00025 <span class="comment"> * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span>
<a name="l00026"></a>00026 <span class="comment"> * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT</span>
<a name="l00027"></a>00027 <span class="comment"> * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,</span>
<a name="l00028"></a>00028 <span class="comment"> * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span>
<a name="l00029"></a>00029 <span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
<a name="l00030"></a>00030 <span class="comment"> * OTHER DEALINGS IN THE SOFTWARE.</span>
<a name="l00031"></a>00031 <span class="comment"> */</span>
<a name="l00032"></a>00032 
<a name="l00041"></a>00041 <span class="preprocessor">#ifndef _VDPAU_X11_H</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define _VDPAU_X11_H</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00044"></a>00044 <span class="preprocessor">#include &lt;X11/Xlib.h&gt;</span>
<a name="l00045"></a>00045 <span class="preprocessor">#include &quot;<a class="code" href="vdpau_8h.html" title="The Core API.">vdpau.h</a>&quot;</span>
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00049"></a>00049 <span class="preprocessor">#endif</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00123"></a><a class="code" href="group__api__winsys__x11.html#ga27b47f5b41bb6fb708891f25c7123c62">00123</a> <span class="keyword">typedef</span> <a class="code" href="group__error__handling.html#ga7fa6c302213052e531b20bab723e5778" title="The set of all possible error codes.">VdpStatus</a> <a class="code" href="group__api__winsys__x11.html#ga27b47f5b41bb6fb708891f25c7123c62" title="Create a VdpDevice object for use with X11.">VdpDeviceCreateX11</a>(
<a name="l00124"></a>00124     Display *             display,
<a name="l00125"></a>00125     <span class="keywordtype">int</span>                   screen,
<a name="l00126"></a>00126     <span class="comment">/* output parameters follow */</span>
<a name="l00127"></a>00127     <a class="code" href="group___vdp_device.html#gae7abc48cf32de14e4c8f249bf06e1605" title="An opaque handle representing a VdpDevice object.">VdpDevice</a> *           device,
<a name="l00128"></a>00128     <a class="code" href="group__get__proc__address.html#gae722d7342b6788429c07d125366e37da" title="Retrieve a VDPAU function pointer.">VdpGetProcAddress</a> * * get_proc_address
<a name="l00129"></a>00129 );
<a name="l00130"></a>00130 
<a name="l00136"></a><a class="code" href="group__api__winsys__x11.html#ga1512c0f85b5d25df046b9c852fef44da">00136</a> <a class="code" href="group__api__winsys__x11.html#ga27b47f5b41bb6fb708891f25c7123c62" title="Create a VdpDevice object for use with X11.">VdpDeviceCreateX11</a> <a class="code" href="group__api__winsys__x11.html#ga1512c0f85b5d25df046b9c852fef44da" title="Create a VdpDevice object for use with X11. This is an actual symbol of type VdpDeviceCreateX11.">vdp_device_create_x11</a>;
<a name="l00137"></a>00137 
<a name="l00158"></a><a class="code" href="group__api__winsys__x11.html#ga3e4aaada65901cb1a590ca99810cc91a">00158</a> <span class="keyword">typedef</span> <a class="code" href="group__error__handling.html#ga7fa6c302213052e531b20bab723e5778" title="The set of all possible error codes.">VdpStatus</a> <a class="code" href="group__api__winsys__x11.html#ga3e4aaada65901cb1a590ca99810cc91a" title="Create a VdpPresentationQueueTarget for use with X11.">VdpPresentationQueueTargetCreateX11</a>(
<a name="l00159"></a>00159     <a class="code" href="group___vdp_device.html#gae7abc48cf32de14e4c8f249bf06e1605" title="An opaque handle representing a VdpDevice object.">VdpDevice</a>                   device,
<a name="l00160"></a>00160     Drawable                    drawable,
<a name="l00161"></a>00161     <span class="comment">/* output parameters follow */</span>
<a name="l00162"></a>00162     <a class="code" href="group___vdp_presentation_queue.html#ga38a7e78a26b0593e6bc1f7ff894620c7" title="An opaque handle representing the location where video will be presented.">VdpPresentationQueueTarget</a> * target
<a name="l00163"></a>00163 );
<a name="l00164"></a>00164 
<a name="l00166"></a><a class="code" href="group__api__winsys__x11.html#gad451ddded1cb97e095b1ec9b0ba8ac8d">00166</a> <span class="preprocessor">#define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11 (VdpFuncId)(VDP_FUNC_ID_BASE_WINSYS + 0)</span>
<a name="l00167"></a>00167 <span class="preprocessor"></span>
<a name="l00170"></a>00170 
<a name="l00171"></a>00171 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00172"></a>00172 <span class="preprocessor"></span>}
<a name="l00173"></a>00173 <span class="preprocessor">#endif</span>
<a name="l00174"></a>00174 <span class="preprocessor"></span>
<a name="l00175"></a>00175 <span class="preprocessor">#endif</span>
<a name="l00176"></a>00176 <span class="preprocessor"></span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 8 2011 for VDPAU by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>