Repository URL to install this package:
Version:
7:2.7.1-1ubuntu3 ▾
|
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>FFmpeg: AVVDPAUContext Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">FFmpeg
 <span id="projectnumber">2.7.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">AVVDPAUContext Struct Reference<div class="ingroups"><a class="el" href="group__lavc__codec__hwaccel__vdpau.html">VDPAU Decoder and Renderer</a></div></div> </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="AVVDPAUContext" -->
<p>This structure is used to share data between the libavcodec library and the client video application.
<a href="structAVVDPAUContext.html#details">More...</a></p>
<p><code>#include <<a class="el" href="vdpau_8h_source.html">vdpau.h</a>></code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">VdpDecoder </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVDPAUContext.html#a54b51de52e8b936c93272cad8e94e395">decoder</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">VDPAU decoder handle. <a href="#a54b51de52e8b936c93272cad8e94e395"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">VdpDecoderRender * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVDPAUContext.html#ac007e73409f8171d5aa26c2c1b72454c">render</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">VDPAU decoder render callback. <a href="#ac007e73409f8171d5aa26c2c1b72454c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> union <br class="typebreak"/>
<a class="el" href="unionAVVDPAUPictureInfo.html">AVVDPAUPictureInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVDPAUContext.html#af2826dbf7db72ddae2376372db67bd82">info</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">VDPAU picture information. <a href="#af2826dbf7db72ddae2376372db67bd82"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVDPAUContext.html#a4dcbc0fe3aa59529a032d63777e00b4a">bitstream_buffers_allocated</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allocated size of the bitstream_buffers table. <a href="#a4dcbc0fe3aa59529a032d63777e00b4a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVDPAUContext.html#a9116d89dbc37270ff70579b1e9411069">bitstream_buffers_used</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Useful bitstream buffers in the bitstream buffers table. <a href="#a9116d89dbc37270ff70579b1e9411069"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> <br class="typebreak"/>
VdpBitstreamBuffer * </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVDPAUContext.html#a669a2d63ad020507d8327df13a075cd2">bitstream_buffers</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Table of bitstream buffers. <a href="#a669a2d63ad020507d8327df13a075cd2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__lavc__codec__hwaccel__vdpau.html#ga98e0853e07041294b96e1f4611ad9858">AVVDPAU_Render2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structAVVDPAUContext.html#af220e2bf6c0093dd63c8384dccccd3d8">render2</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This structure is used to share data between the libavcodec library and the client video application. </p>
<p>The user shall allocate the structure via the av_alloc_vdpau_hwaccel function and make it available as <a class="el" href="structAVCodecContext.html#ab222f7d747dfdceff0a76999e09648c0" title="Hardware accelerator context.">AVCodecContext.hwaccel_context</a>. Members can be set by the user once during initialization or through each <a class="el" href="structAVCodecContext.html#ad2a02f9d24723a62e30a3cfecdb7c2c5" title="Called at the beginning of each frame to get a buffer for it.">AVCodecContext.get_buffer()</a> function call. In any case, they must be valid prior to calling decoding functions.</p>
<p>The size of this structure is not a part of the public ABI and must not be used outside of libavcodec. Use <a class="el" href="group__lavc__codec__hwaccel__vdpau.html#gac3b2e926326d9bc7c4a856304c4bc0f8" title="Allocate an AVVDPAUContext.">av_vdpau_alloc_context()</a> to allocate an <a class="el" href="structAVVDPAUContext.html" title="This structure is used to share data between the libavcodec library and the client video application...">AVVDPAUContext</a>. </p>
<p>Definition at line <a class="el" href="vdpau_8h_source.html#l00090">90</a> of file <a class="el" href="vdpau_8h_source.html">vdpau.h</a>.</p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a54b51de52e8b936c93272cad8e94e395"></a><!-- doxytag: member="AVVDPAUContext::decoder" ref="a54b51de52e8b936c93272cad8e94e395" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">VdpDecoder <a class="el" href="structAVVDPAUContext.html#a54b51de52e8b936c93272cad8e94e395">AVVDPAUContext::decoder</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>VDPAU decoder handle. </p>
<p>Set by user. </p>
<p>Definition at line <a class="el" href="vdpau_8h_source.html#l00096">96</a> of file <a class="el" href="vdpau_8h_source.html">vdpau.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac007e73409f8171d5aa26c2c1b72454c"></a><!-- doxytag: member="AVVDPAUContext::render" ref="ac007e73409f8171d5aa26c2c1b72454c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">VdpDecoderRender* <a class="el" href="structAVVDPAUContext.html#ac007e73409f8171d5aa26c2c1b72454c">AVVDPAUContext::render</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>VDPAU decoder render callback. </p>
<p>Set by the user. </p>
<p>Definition at line <a class="el" href="vdpau_8h_source.html#l00103">103</a> of file <a class="el" href="vdpau_8h_source.html">vdpau.h</a>.</p>
</div>
</div>
<a class="anchor" id="af2826dbf7db72ddae2376372db67bd82"></a><!-- doxytag: member="AVVDPAUContext::info" ref="af2826dbf7db72ddae2376372db67bd82" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> union <a class="el" href="unionAVVDPAUPictureInfo.html">AVVDPAUPictureInfo</a> <a class="el" href="structAVVDPAUContext.html#af2826dbf7db72ddae2376372db67bd82">AVVDPAUContext::info</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>VDPAU picture information. </p>
<p>Set by libavcodec. </p>
<p>Definition at line <a class="el" href="vdpau_8h_source.html#l00112">112</a> of file <a class="el" href="vdpau_8h_source.html">vdpau.h</a>.</p>
</div>
</div>
<a class="anchor" id="a4dcbc0fe3aa59529a032d63777e00b4a"></a><!-- doxytag: member="AVVDPAUContext::bitstream_buffers_allocated" ref="a4dcbc0fe3aa59529a032d63777e00b4a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int <a class="el" href="structAVVDPAUContext.html#a4dcbc0fe3aa59529a032d63777e00b4a">AVVDPAUContext::bitstream_buffers_allocated</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Allocated size of the bitstream_buffers table. </p>
<p>Set by libavcodec. </p>
<p>Definition at line <a class="el" href="vdpau_8h_source.html#l00120">120</a> of file <a class="el" href="vdpau_8h_source.html">vdpau.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9116d89dbc37270ff70579b1e9411069"></a><!-- doxytag: member="AVVDPAUContext::bitstream_buffers_used" ref="a9116d89dbc37270ff70579b1e9411069" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> int <a class="el" href="structAVVDPAUContext.html#a9116d89dbc37270ff70579b1e9411069">AVVDPAUContext::bitstream_buffers_used</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Useful bitstream buffers in the bitstream buffers table. </p>
<p>Set by libavcodec. </p>
<p>Definition at line <a class="el" href="vdpau_8h_source.html#l00128">128</a> of file <a class="el" href="vdpau_8h_source.html">vdpau.h</a>.</p>
</div>
</div>
<a class="anchor" id="a669a2d63ad020507d8327df13a075cd2"></a><!-- doxytag: member="AVVDPAUContext::bitstream_buffers" ref="a669a2d63ad020507d8327df13a075cd2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a> VdpBitstreamBuffer* <a class="el" href="structAVVDPAUContext.html#a669a2d63ad020507d8327df13a075cd2">AVVDPAUContext::bitstream_buffers</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Table of bitstream buffers. </p>
<p>The user is responsible for freeing this buffer using <a class="el" href="group__lavu__mem.html#ga0cc84043ea2167ad005c86e11d0bcdba" title="Free a memory block which has been allocated with av_malloc(z)() or av_realloc() and set the pointer ...">av_freep()</a>.</p>
<p>Set by libavcodec. </p>
<p>Definition at line <a class="el" href="vdpau_8h_source.html#l00137">137</a> of file <a class="el" href="vdpau_8h_source.html">vdpau.h</a>.</p>
</div>
</div>
<a class="anchor" id="af220e2bf6c0093dd63c8384dccccd3d8"></a><!-- doxytag: member="AVVDPAUContext::render2" ref="af220e2bf6c0093dd63c8384dccccd3d8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__lavc__codec__hwaccel__vdpau.html#ga98e0853e07041294b96e1f4611ad9858">AVVDPAU_Render2</a> <a class="el" href="structAVVDPAUContext.html#af220e2bf6c0093dd63c8384dccccd3d8">AVVDPAUContext::render2</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vdpau_8h_source.html#l00139">139</a> of file <a class="el" href="vdpau_8h_source.html">vdpau.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>libavcodec/<a class="el" href="vdpau_8h_source.html">vdpau.h</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>