<!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>WebM VP8 Codec SDK: vpx_codec_mmap Struct Reference</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.4 --> <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">WebM VP8 Codec SDK</div> </td> </tr> </tbody> </table> </div> <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> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</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">vpx_codec_mmap Struct Reference<div class="ingroups"><a class="el" href="group__cap__xma.html">External Memory Allocation Functions</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="vpx_codec_mmap" --> <p>Memory Map Entry. <a href="structvpx__codec__mmap.html#details">More...</a></p> <p><code>#include <<a class="el" href="vpx__codec_8h_source.html">vpx_codec.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">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structvpx__codec__mmap.html#a83f482a223678a60c22362f44e36e8c8">id</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="structvpx__codec__mmap.html#ae6822e6985cef61d2341a8d429bea079">sz</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structvpx__codec__mmap.html#a7875d3878f1d58c205f396c1f696987b">align</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structvpx__codec__mmap.html#afd7f8fed412b7bb524bed8e6ed14400d">flags</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structvpx__codec__mmap.html#a0f7580ef4f5680df53c1ef3bd5f66d01">base</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structvpx__codec__mmap.html#a39476b4d60e41d0867e0966f09dc1e45">dtor</a> )(struct <a class="el" href="structvpx__codec__mmap.html">vpx_codec_mmap</a> *map)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="structvpx__codec__mmap.html#ac2be21bb5e6d94332fff9c5f1263224f">priv</a></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Memory Map Entry. </p> <p>This structure is used to contain the properties of a memory segment. It is populated by the codec in the request phase, and by the calling application once the requested allocation has been performed. </p> </div><hr/><h2>Field Documentation</h2> <a class="anchor" id="a83f482a223678a60c22362f44e36e8c8"></a><!-- doxytag: member="vpx_codec_mmap::id" ref="a83f482a223678a60c22362f44e36e8c8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned int <a class="el" href="structvpx__codec__mmap.html#a83f482a223678a60c22362f44e36e8c8">vpx_codec_mmap::id</a></td> </tr> </table> </div> <div class="memdoc"> <p>identifier for the segment's contents </p> </div> </div> <a class="anchor" id="ae6822e6985cef61d2341a8d429bea079"></a><!-- doxytag: member="vpx_codec_mmap::sz" ref="ae6822e6985cef61d2341a8d429bea079" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned long <a class="el" href="structvpx__codec__mmap.html#ae6822e6985cef61d2341a8d429bea079">vpx_codec_mmap::sz</a></td> </tr> </table> </div> <div class="memdoc"> <p>size of the segment, in bytes </p> </div> </div> <a class="anchor" id="a7875d3878f1d58c205f396c1f696987b"></a><!-- doxytag: member="vpx_codec_mmap::align" ref="a7875d3878f1d58c205f396c1f696987b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned int <a class="el" href="structvpx__codec__mmap.html#a7875d3878f1d58c205f396c1f696987b">vpx_codec_mmap::align</a></td> </tr> </table> </div> <div class="memdoc"> <p>required alignment of the segment, in bytes </p> </div> </div> <a class="anchor" id="afd7f8fed412b7bb524bed8e6ed14400d"></a><!-- doxytag: member="vpx_codec_mmap::flags" ref="afd7f8fed412b7bb524bed8e6ed14400d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned int <a class="el" href="structvpx__codec__mmap.html#afd7f8fed412b7bb524bed8e6ed14400d">vpx_codec_mmap::flags</a></td> </tr> </table> </div> <div class="memdoc"> <p>bitfield containing segment properties </p> </div> </div> <a class="anchor" id="a0f7580ef4f5680df53c1ef3bd5f66d01"></a><!-- doxytag: member="vpx_codec_mmap::base" ref="a0f7580ef4f5680df53c1ef3bd5f66d01" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* <a class="el" href="structvpx__codec__mmap.html#a0f7580ef4f5680df53c1ef3bd5f66d01">vpx_codec_mmap::base</a></td> </tr> </table> </div> <div class="memdoc"> <p>pointer to the allocated segment </p> </div> </div> <a class="anchor" id="a39476b4d60e41d0867e0966f09dc1e45"></a><!-- doxytag: member="vpx_codec_mmap::dtor" ref="a39476b4d60e41d0867e0966f09dc1e45" args=")(struct vpx_codec_mmap *map)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void(* <a class="el" href="structvpx__codec__mmap.html#a39476b4d60e41d0867e0966f09dc1e45">vpx_codec_mmap::dtor</a>)(struct <a class="el" href="structvpx__codec__mmap.html">vpx_codec_mmap</a> *map)</td> </tr> </table> </div> <div class="memdoc"> <p>destructor to call </p> </div> </div> <a class="anchor" id="ac2be21bb5e6d94332fff9c5f1263224f"></a><!-- doxytag: member="vpx_codec_mmap::priv" ref="ac2be21bb5e6d94332fff9c5f1263224f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* <a class="el" href="structvpx__codec__mmap.html#ac2be21bb5e6d94332fff9c5f1263224f">vpx_codec_mmap::priv</a></td> </tr> </table> </div> <div class="memdoc"> <p>allocator private storage </p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>vpx/<a class="el" href="vpx__codec_8h_source.html">vpx_codec.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Aug 16 2011 for WebM VP8 Codec SDK by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>