Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 9641a12e5d0eeef2da865588e445f182 > files > 65

gstreamermm1.0-doc-1.10.0-2.mga7.noarch.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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>gstreamermm: Gst::Buffer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">gstreamermm
   &#160;<span id="projectnumber">1.10.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceGst.html">Gst</a></li><li class="navelem"><a class="el" href="classGst_1_1Buffer.html">Buffer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classGst_1_1Buffer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gst::Buffer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Data-passing buffer type.  
 <a href="classGst_1_1Buffer.html#details">More...</a></p>

<p><code>#include &lt;gstreamermm/buffer.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Gst::Buffer:</div>
<div class="dyncontent">
<div class="center"><img src="classGst_1_1Buffer__inherit__graph.png" border="0" usemap="#Gst_1_1Buffer_inherit__map" alt="Inheritance graph"/></div>
<map name="Gst_1_1Buffer_inherit__map" id="Gst_1_1Buffer_inherit__map">
<area shape="rect" id="node2" href="classGst_1_1MiniObject.html" title="This is a base class for some gstreamermm objects. " alt="" coords="5,5,124,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:addd14cf47add19954519c466d12917ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#addd14cf47add19954519c466d12917ac">reference</a> () const</td></tr>
<tr class="memdesc:addd14cf47add19954519c466d12917ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increment the reference count for this object.  <a href="#addd14cf47add19954519c466d12917ac">More...</a><br /></td></tr>
<tr class="separator:addd14cf47add19954519c466d12917ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92c55af8e3586a719ac4fa7c4da4222c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a92c55af8e3586a719ac4fa7c4da4222c">unreference</a> () const</td></tr>
<tr class="memdesc:a92c55af8e3586a719ac4fa7c4da4222c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decrement the reference count for this object.  <a href="#a92c55af8e3586a719ac4fa7c4da4222c">More...</a><br /></td></tr>
<tr class="separator:a92c55af8e3586a719ac4fa7c4da4222c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10e44e2e321065c59f7c71d7207014ac"><td class="memItemLeft" align="right" valign="top">GstBuffer*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a10e44e2e321065c59f7c71d7207014ac">gobj</a> ()</td></tr>
<tr class="memdesc:a10e44e2e321065c59f7c71d7207014ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#a10e44e2e321065c59f7c71d7207014ac">More...</a><br /></td></tr>
<tr class="separator:a10e44e2e321065c59f7c71d7207014ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3aeb97e6ffa49c3590f5e8a1038eded"><td class="memItemLeft" align="right" valign="top">const GstBuffer*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#ad3aeb97e6ffa49c3590f5e8a1038eded">gobj</a> () const</td></tr>
<tr class="memdesc:ad3aeb97e6ffa49c3590f5e8a1038eded"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#ad3aeb97e6ffa49c3590f5e8a1038eded">More...</a><br /></td></tr>
<tr class="separator:ad3aeb97e6ffa49c3590f5e8a1038eded"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a385ee61d1895d64706e7d738e0655687"><td class="memItemLeft" align="right" valign="top">GstBuffer*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a385ee61d1895d64706e7d738e0655687">gobj_copy</a> () const</td></tr>
<tr class="memdesc:a385ee61d1895d64706e7d738e0655687"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.  <a href="#a385ee61d1895d64706e7d738e0655687">More...</a><br /></td></tr>
<tr class="separator:a385ee61d1895d64706e7d738e0655687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8891ba9a1b33523da504480f13fb272"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#ac8891ba9a1b33523da504480f13fb272">Buffer</a> ()=delete</td></tr>
<tr class="separator:ac8891ba9a1b33523da504480f13fb272"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4702b4ecc9eb14976a68e01750ea0010"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a4702b4ecc9eb14976a68e01750ea0010">Buffer</a> (const <a class="el" href="classGst_1_1Buffer.html">Buffer</a>&amp;)=delete</td></tr>
<tr class="separator:a4702b4ecc9eb14976a68e01750ea0010"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb57c015099f74e9a35cb1f984b0569d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1Buffer.html">Buffer</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#adb57c015099f74e9a35cb1f984b0569d">operator=</a> (const <a class="el" href="classGst_1_1Buffer.html">Buffer</a>&amp;)=delete</td></tr>
<tr class="separator:adb57c015099f74e9a35cb1f984b0569d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf5619286e52dfbfdda50a667b174420"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#adf5619286e52dfbfdda50a667b174420">copy</a> () const</td></tr>
<tr class="memdesc:adf5619286e52dfbfdda50a667b174420"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a copy of the given buffer.  <a href="#adf5619286e52dfbfdda50a667b174420">More...</a><br /></td></tr>
<tr class="separator:adf5619286e52dfbfdda50a667b174420"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6c48df4951f3e69125125eca831ffa9"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#aa6c48df4951f3e69125125eca831ffa9">copy_deep</a> () const</td></tr>
<tr class="memdesc:aa6c48df4951f3e69125125eca831ffa9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a copy of the given buffer.  <a href="#aa6c48df4951f3e69125125eca831ffa9">More...</a><br /></td></tr>
<tr class="separator:aa6c48df4951f3e69125125eca831ffa9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6423c4c589568bf262197322ca4e5481"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a6423c4c589568bf262197322ca4e5481">copy_region</a> (<a class="el" href="group__gstreamermmEnums.html#ga19a54890aefe6e8c41cb16f2bcb30508">Gst::BufferCopyFlags</a> flags, gsize offset, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:a6423c4c589568bf262197322ca4e5481"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a sub-buffer from <em>parent</em> at <em>offset</em> and <em>size</em>.  <a href="#a6423c4c589568bf262197322ca4e5481">More...</a><br /></td></tr>
<tr class="separator:a6423c4c589568bf262197322ca4e5481"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48d6843caf65c5004c7258a9cd1fe315"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a48d6843caf65c5004c7258a9cd1fe315">create_writable</a> ()</td></tr>
<tr class="memdesc:a48d6843caf65c5004c7258a9cd1fe315"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes a writable buffer from the given buffer.  <a href="#a48d6843caf65c5004c7258a9cd1fe315">More...</a><br /></td></tr>
<tr class="separator:a48d6843caf65c5004c7258a9cd1fe315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8df331ccc1050540db9535f07ef0be04"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a8df331ccc1050540db9535f07ef0be04">get_memory</a> (guint idx) const</td></tr>
<tr class="memdesc:a8df331ccc1050540db9535f07ef0be04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the memory block at index <em>idx</em> in <em>buffer</em>.  <a href="#a8df331ccc1050540db9535f07ef0be04">More...</a><br /></td></tr>
<tr class="separator:a8df331ccc1050540db9535f07ef0be04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c26f9280d838d66d5468586c7a95132"><td class="memItemLeft" align="right" valign="top">gsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a0c26f9280d838d66d5468586c7a95132">get_size</a> () const</td></tr>
<tr class="memdesc:a0c26f9280d838d66d5468586c7a95132"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the total size of the memory blocks in <em>buffer</em>.  <a href="#a0c26f9280d838d66d5468586c7a95132">More...</a><br /></td></tr>
<tr class="separator:a0c26f9280d838d66d5468586c7a95132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dc33acd59707bead44db06ef047aeef"><td class="memItemLeft" align="right" valign="top">gsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a8dc33acd59707bead44db06ef047aeef">get_sizes</a> (gsize&amp; offset, gsize&amp; max_size) const</td></tr>
<tr class="memdesc:a8dc33acd59707bead44db06ef047aeef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the total size of the memory blocks in <em>b</em>.  <a href="#a8dc33acd59707bead44db06ef047aeef">More...</a><br /></td></tr>
<tr class="separator:a8dc33acd59707bead44db06ef047aeef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98343f6ab7c3f206e0623d22b76abcc3"><td class="memItemLeft" align="right" valign="top">gsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a98343f6ab7c3f206e0623d22b76abcc3">get_sizes_range</a> (guint idx, gint length, gsize&amp; offset, gsize&amp; max_size) const</td></tr>
<tr class="memdesc:a98343f6ab7c3f206e0623d22b76abcc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the total size of <em>length</em> memory blocks stating from <em>idx</em> in <em>buffer</em>.  <a href="#a98343f6ab7c3f206e0623d22b76abcc3">More...</a><br /></td></tr>
<tr class="separator:a98343f6ab7c3f206e0623d22b76abcc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd27c79a11673bf839545e30a9638b97"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#afd27c79a11673bf839545e30a9638b97">resize_range</a> (guint idx, gint length, gssize offset, gssize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:afd27c79a11673bf839545e30a9638b97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the total size of the <em>length</em> memory blocks starting at <em>idx</em> in <em>buffer</em>.  <a href="#afd27c79a11673bf839545e30a9638b97">More...</a><br /></td></tr>
<tr class="separator:afd27c79a11673bf839545e30a9638b97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83acf09aa6935e9256ce4bfe925f874e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a83acf09aa6935e9256ce4bfe925f874e">resize</a> (gssize offset, gssize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:a83acf09aa6935e9256ce4bfe925f874e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the offset and total size of the memory blocks in <em>buffer</em>.  <a href="#a83acf09aa6935e9256ce4bfe925f874e">More...</a><br /></td></tr>
<tr class="separator:a83acf09aa6935e9256ce4bfe925f874e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f104848a3768dc7691365f27348d7df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a5f104848a3768dc7691365f27348d7df">set_size</a> (gssize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:a5f104848a3768dc7691365f27348d7df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the total size of the memory blocks in <em>buffer</em>.  <a href="#a5f104848a3768dc7691365f27348d7df">More...</a><br /></td></tr>
<tr class="separator:a5f104848a3768dc7691365f27348d7df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab99330eead323d11ab0bfe25159c5516"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#ab99330eead323d11ab0bfe25159c5516">peek_memory</a> (guint idx)</td></tr>
<tr class="memdesc:ab99330eead323d11ab0bfe25159c5516"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the memory block at <em>idx</em> in <em>buffer</em>.  <a href="#ab99330eead323d11ab0bfe25159c5516">More...</a><br /></td></tr>
<tr class="separator:ab99330eead323d11ab0bfe25159c5516"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6d6c4d67bc3fae4f75fc3f57bffe031"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#aa6d6c4d67bc3fae4f75fc3f57bffe031">n_memory</a> () const</td></tr>
<tr class="memdesc:aa6d6c4d67bc3fae4f75fc3f57bffe031"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the amount of memory blocks that this buffer has.  <a href="#aa6d6c4d67bc3fae4f75fc3f57bffe031">More...</a><br /></td></tr>
<tr class="separator:aa6d6c4d67bc3fae4f75fc3f57bffe031"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36e101592c09f6f85610efe35ae135dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a36e101592c09f6f85610efe35ae135dc">insert_memory</a> (gint idx, Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp; mem)</td></tr>
<tr class="memdesc:a36e101592c09f6f85610efe35ae135dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert the memory block <em>mem</em> to <em>buffer</em> at <em>idx</em>.  <a href="#a36e101592c09f6f85610efe35ae135dc">More...</a><br /></td></tr>
<tr class="separator:a36e101592c09f6f85610efe35ae135dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93cfbf0ddb5387c7520953fabb93ff76"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a93cfbf0ddb5387c7520953fabb93ff76">get_all_memory</a> () const</td></tr>
<tr class="memdesc:a93cfbf0ddb5387c7520953fabb93ff76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get all the memory block in <em>buffer</em>.  <a href="#a93cfbf0ddb5387c7520953fabb93ff76">More...</a><br /></td></tr>
<tr class="separator:a93cfbf0ddb5387c7520953fabb93ff76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8009be726571e8a838a0ce84aa9169a"><td class="memItemLeft" align="right" valign="top">gsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#ac8009be726571e8a838a0ce84aa9169a">fill</a> (gsize offset, gconstpointer src, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:ac8009be726571e8a838a0ce84aa9169a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy <em>size</em> bytes from <em>src</em> to <em>buffer</em> at <em>offset</em>.  <a href="#ac8009be726571e8a838a0ce84aa9169a">More...</a><br /></td></tr>
<tr class="separator:ac8009be726571e8a838a0ce84aa9169a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af34bb91d47e3b9b075baa50a20b4b09b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#af34bb91d47e3b9b075baa50a20b4b09b">replace_memory_range</a> (guint idx, gint length, Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp; mem)</td></tr>
<tr class="memdesc:af34bb91d47e3b9b075baa50a20b4b09b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces <em>length</em> memory blocks in <em>buffer</em> starting at <em>idx</em> with <em>mem</em>.  <a href="#af34bb91d47e3b9b075baa50a20b4b09b">More...</a><br /></td></tr>
<tr class="separator:af34bb91d47e3b9b075baa50a20b4b09b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a515300292827fb0fd5bef6b537e3476b"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a515300292827fb0fd5bef6b537e3476b">get_memory_range</a> (guint idx, gint length)</td></tr>
<tr class="memdesc:a515300292827fb0fd5bef6b537e3476b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get <em>length</em> memory blocks in <em>buffer</em> starting at <em>idx</em>.  <a href="#a515300292827fb0fd5bef6b537e3476b">More...</a><br /></td></tr>
<tr class="separator:a515300292827fb0fd5bef6b537e3476b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af20b730cdd88e9579251d72206c39060"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#af20b730cdd88e9579251d72206c39060">remove_memory_range</a> (guint idx, gint length)</td></tr>
<tr class="memdesc:af20b730cdd88e9579251d72206c39060"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove <em>length</em> memory blocks in <em>buffer</em> starting from <em>idx</em>.  <a href="#af20b730cdd88e9579251d72206c39060">More...</a><br /></td></tr>
<tr class="separator:af20b730cdd88e9579251d72206c39060"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8df906a0a0be7653dacc266d0f693ace"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a8df906a0a0be7653dacc266d0f693ace">find_memory</a> (gsize offset, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>, guint&amp; idx, guint&amp; length, gsize&amp; skip)</td></tr>
<tr class="memdesc:a8df906a0a0be7653dacc266d0f693ace"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the memory blocks that span <em>size</em> bytes starting from <em>offset</em> in <em>buffer</em>.  <a href="#a8df906a0a0be7653dacc266d0f693ace">More...</a><br /></td></tr>
<tr class="separator:a8df906a0a0be7653dacc266d0f693ace"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adde8f2fb23be8f8f7b0a484b6ffe7e06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#adde8f2fb23be8f8f7b0a484b6ffe7e06">prepend_memory</a> (Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp; mem)</td></tr>
<tr class="memdesc:adde8f2fb23be8f8f7b0a484b6ffe7e06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepend the memory block <em>mem</em> to <em>buffer</em>.  <a href="#adde8f2fb23be8f8f7b0a484b6ffe7e06">More...</a><br /></td></tr>
<tr class="separator:adde8f2fb23be8f8f7b0a484b6ffe7e06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fe56c931eb9face4c5e73d8caec4861"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a0fe56c931eb9face4c5e73d8caec4861">append_memory</a> (Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp; mem)</td></tr>
<tr class="memdesc:a0fe56c931eb9face4c5e73d8caec4861"><td class="mdescLeft">&#160;</td><td class="mdescRight">Append the memory block <em>mem</em> to <em>buffer</em>.  <a href="#a0fe56c931eb9face4c5e73d8caec4861">More...</a><br /></td></tr>
<tr class="separator:a0fe56c931eb9face4c5e73d8caec4861"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a7e7b1569bd579acdbde51210daeb10"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a3a7e7b1569bd579acdbde51210daeb10">remove_memory</a> (guint idx)</td></tr>
<tr class="memdesc:a3a7e7b1569bd579acdbde51210daeb10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the memory block in <em>b</em> at index <em>i</em>.  <a href="#a3a7e7b1569bd579acdbde51210daeb10">More...</a><br /></td></tr>
<tr class="separator:a3a7e7b1569bd579acdbde51210daeb10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9781371ac007d3acca59c6af1a456ea7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a9781371ac007d3acca59c6af1a456ea7">remove_all_memory</a> ()</td></tr>
<tr class="memdesc:a9781371ac007d3acca59c6af1a456ea7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove all the memory blocks in <em>buffer</em>.  <a href="#a9781371ac007d3acca59c6af1a456ea7">More...</a><br /></td></tr>
<tr class="separator:a9781371ac007d3acca59c6af1a456ea7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf73d6d037ac8c26bec41f7c7be5f2a"><td class="memItemLeft" align="right" valign="top">gsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#adbf73d6d037ac8c26bec41f7c7be5f2a">memset</a> (gsize offset, guint8 val, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:adbf73d6d037ac8c26bec41f7c7be5f2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill <em>buf</em> with <em>size</em> bytes with <em>val</em> starting from <em>offset</em>.  <a href="#adbf73d6d037ac8c26bec41f7c7be5f2a">More...</a><br /></td></tr>
<tr class="separator:adbf73d6d037ac8c26bec41f7c7be5f2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7673024e0eb2c4894c25b6d42e38e90b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a7673024e0eb2c4894c25b6d42e38e90b">replace_memory</a> (guint idx, Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp; mem)</td></tr>
<tr class="memdesc:a7673024e0eb2c4894c25b6d42e38e90b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces the memory block at index <em>idx</em> in <em>buffer</em> with <em>mem</em>.  <a href="#a7673024e0eb2c4894c25b6d42e38e90b">More...</a><br /></td></tr>
<tr class="separator:a7673024e0eb2c4894c25b6d42e38e90b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a554104f8c3f6b035c535acc4e0dd375e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a554104f8c3f6b035c535acc4e0dd375e">replace_all_memory</a> (Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp; mem)</td></tr>
<tr class="memdesc:a554104f8c3f6b035c535acc4e0dd375e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces all memory in <em>buffer</em> with <em>mem</em>.  <a href="#a554104f8c3f6b035c535acc4e0dd375e">More...</a><br /></td></tr>
<tr class="separator:a554104f8c3f6b035c535acc4e0dd375e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9fb45d143b3bed09fa0093834eb7e51"><td class="memItemLeft" align="right" valign="top">gsize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#aa9fb45d143b3bed09fa0093834eb7e51">extract</a> (gsize offset, gpointer dest, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:aa9fb45d143b3bed09fa0093834eb7e51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy <em>size</em> bytes starting from <em>offset</em> in <em>buffer</em> to <em>dest</em>.  <a href="#aa9fb45d143b3bed09fa0093834eb7e51">More...</a><br /></td></tr>
<tr class="separator:aa9fb45d143b3bed09fa0093834eb7e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb2846695bedec016fb699bad175eb5c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#aeb2846695bedec016fb699bad175eb5c">extract_dup</a> (gsize offset, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>, gpointer&amp; dest, gsize&amp; dest_size)</td></tr>
<tr class="memdesc:aeb2846695bedec016fb699bad175eb5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts a copy of at most <em>size</em> bytes the data at <em>offset</em> into newly-allocated memory.  <a href="#aeb2846695bedec016fb699bad175eb5c">More...</a><br /></td></tr>
<tr class="separator:aeb2846695bedec016fb699bad175eb5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53f66bc8d81a55f921ef98790c6781bc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a53f66bc8d81a55f921ef98790c6781bc">memcmp</a> (gsize offset, gconstpointer mem, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:a53f66bc8d81a55f921ef98790c6781bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare <em>size</em> bytes starting from <em>offset</em> in <em>buffer</em> with the memory in <em>mem</em>.  <a href="#a53f66bc8d81a55f921ef98790c6781bc">More...</a><br /></td></tr>
<tr class="separator:a53f66bc8d81a55f921ef98790c6781bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c8453c4c4e6f373005d87755f07cebe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a8c8453c4c4e6f373005d87755f07cebe">is_all_memory_writable</a> () const</td></tr>
<tr class="memdesc:a8c8453c4c4e6f373005d87755f07cebe"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGst_1_1Check.html">Check</a> if all memory blocks in <em>buffer</em> are writable.  <a href="#a8c8453c4c4e6f373005d87755f07cebe">More...</a><br /></td></tr>
<tr class="separator:a8c8453c4c4e6f373005d87755f07cebe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaad0fb14369c767d759b1d587c66e42d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#aaad0fb14369c767d759b1d587c66e42d">is_memory_range_writable</a> (guint idx, gint length) const</td></tr>
<tr class="memdesc:aaad0fb14369c767d759b1d587c66e42d"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGst_1_1Check.html">Check</a> if <em>length</em> memory blocks in <em>buffer</em> starting from <em>idx</em> are writable.  <a href="#aaad0fb14369c767d759b1d587c66e42d">More...</a><br /></td></tr>
<tr class="separator:aaad0fb14369c767d759b1d587c66e42d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a771a79ce6fe578a7f09954efc49952c2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a771a79ce6fe578a7f09954efc49952c2">map</a> (<a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a>&amp; info, <a class="el" href="group__gstreamermmEnums.html#gaee5716e12b88f74c183e50de377d624a">Gst::MapFlags</a> flags)</td></tr>
<tr class="memdesc:a771a79ce6fe578a7f09954efc49952c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function fills <em>info</em> with the <a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a> of all merged memory blocks in <em>buffer</em>.  <a href="#a771a79ce6fe578a7f09954efc49952c2">More...</a><br /></td></tr>
<tr class="separator:a771a79ce6fe578a7f09954efc49952c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7ae697b909f67a4826289a5472770cd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#ab7ae697b909f67a4826289a5472770cd">map_range</a> (guint idx, gint length, <a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a>&amp; info, <a class="el" href="group__gstreamermmEnums.html#gaee5716e12b88f74c183e50de377d624a">MapFlags</a> flags)</td></tr>
<tr class="memdesc:ab7ae697b909f67a4826289a5472770cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function fills <em>info</em> with the <a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a> of <em>length</em> merged memory blocks starting at <em>idx</em> in <em>buffer</em>.  <a href="#ab7ae697b909f67a4826289a5472770cd">More...</a><br /></td></tr>
<tr class="separator:ab7ae697b909f67a4826289a5472770cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69344d4bf167824818e71b235eb6dec3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a69344d4bf167824818e71b235eb6dec3">unmap</a> (<a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a>&amp; info)</td></tr>
<tr class="memdesc:a69344d4bf167824818e71b235eb6dec3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release the memory previously mapped with <a class="el" href="classGst_1_1Buffer.html#a771a79ce6fe578a7f09954efc49952c2" title="This function fills info with the Gst::MapInfo of all merged memory blocks in buffer. ">map()</a>.  <a href="#a69344d4bf167824818e71b235eb6dec3">More...</a><br /></td></tr>
<tr class="separator:a69344d4bf167824818e71b235eb6dec3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42ad12ec9c0f460f4f49728dce966820"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a42ad12ec9c0f460f4f49728dce966820">append_region</a> (Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&amp;&amp; buf, gssize offset, gssize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="separator:a42ad12ec9c0f460f4f49728dce966820"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eaed6c589650e08e5fe8dafc255eae9"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a6eaed6c589650e08e5fe8dafc255eae9">append</a> (Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&amp;&amp; buf)</td></tr>
<tr class="separator:a6eaed6c589650e08e5fe8dafc255eae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ca24c10c12f1a2641b6940f9c5c14f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a4ca24c10c12f1a2641b6940f9c5c14f7">get_pts</a> () const</td></tr>
<tr class="separator:a4ca24c10c12f1a2641b6940f9c5c14f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bf4cefc82104ffe655ce4df00021f72"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a3bf4cefc82104ffe655ce4df00021f72">set_pts</a> (const <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&amp; value)</td></tr>
<tr class="separator:a3bf4cefc82104ffe655ce4df00021f72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f9d6ea9f3a75113c8ed830ffd3b2973"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a2f9d6ea9f3a75113c8ed830ffd3b2973">get_dts</a> () const</td></tr>
<tr class="separator:a2f9d6ea9f3a75113c8ed830ffd3b2973"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae728c9b64ba55f991647c8a08e7db7fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#ae728c9b64ba55f991647c8a08e7db7fc">set_dts</a> (const <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&amp; value)</td></tr>
<tr class="separator:ae728c9b64ba55f991647c8a08e7db7fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cfb0fcb59c9b5547e36b84327e72963"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a5cfb0fcb59c9b5547e36b84327e72963">get_duration</a> () const</td></tr>
<tr class="memdesc:a5cfb0fcb59c9b5547e36b84327e72963"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get duration of this buffer.  <a href="#a5cfb0fcb59c9b5547e36b84327e72963">More...</a><br /></td></tr>
<tr class="separator:a5cfb0fcb59c9b5547e36b84327e72963"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac5c1274cfa257c776e0cb8a08895906"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#aac5c1274cfa257c776e0cb8a08895906">set_duration</a> (const <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&amp; value)</td></tr>
<tr class="separator:aac5c1274cfa257c776e0cb8a08895906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11d49624ccefe420bb964e0bd2c18465"><td class="memItemLeft" align="right" valign="top">guint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a11d49624ccefe420bb964e0bd2c18465">get_offset</a> () const</td></tr>
<tr class="memdesc:a11d49624ccefe420bb964e0bd2c18465"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the offset of this buffer.  <a href="#a11d49624ccefe420bb964e0bd2c18465">More...</a><br /></td></tr>
<tr class="separator:a11d49624ccefe420bb964e0bd2c18465"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fbe9b7db2a997c6e7b4c94a76a47da8"><td class="memItemLeft" align="right" valign="top">guint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a4fbe9b7db2a997c6e7b4c94a76a47da8">get_offset_end</a> () const</td></tr>
<tr class="memdesc:a4fbe9b7db2a997c6e7b4c94a76a47da8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the offset end of this buffer.  <a href="#a4fbe9b7db2a997c6e7b4c94a76a47da8">More...</a><br /></td></tr>
<tr class="separator:a4fbe9b7db2a997c6e7b4c94a76a47da8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classGst_1_1MiniObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGst_1_1MiniObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGst_1_1MiniObject.html">Gst::MiniObject</a></td></tr>
<tr class="memitem:a464d71a821944237d053b9494782e128 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a464d71a821944237d053b9494782e128">reference</a> () const</td></tr>
<tr class="memdesc:a464d71a821944237d053b9494782e128 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Increment the reference count for this object.  <a href="classGst_1_1MiniObject.html#a464d71a821944237d053b9494782e128">More...</a><br /></td></tr>
<tr class="separator:a464d71a821944237d053b9494782e128 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1946d3fbaf972906211c47eb7cffd11d inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a1946d3fbaf972906211c47eb7cffd11d">unreference</a> () const</td></tr>
<tr class="memdesc:a1946d3fbaf972906211c47eb7cffd11d inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decrement the reference count for this object.  <a href="classGst_1_1MiniObject.html#a1946d3fbaf972906211c47eb7cffd11d">More...</a><br /></td></tr>
<tr class="separator:a1946d3fbaf972906211c47eb7cffd11d inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae94fda9a1f137629b5e2e827bea75b08 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">GstMiniObject*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#ae94fda9a1f137629b5e2e827bea75b08">gobj</a> ()</td></tr>
<tr class="memdesc:ae94fda9a1f137629b5e2e827bea75b08 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="classGst_1_1MiniObject.html#ae94fda9a1f137629b5e2e827bea75b08">More...</a><br /></td></tr>
<tr class="separator:ae94fda9a1f137629b5e2e827bea75b08 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17493d7c362acbbe26c2c201f3d9ee84 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">const GstMiniObject*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a17493d7c362acbbe26c2c201f3d9ee84">gobj</a> () const</td></tr>
<tr class="memdesc:a17493d7c362acbbe26c2c201f3d9ee84 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="classGst_1_1MiniObject.html#a17493d7c362acbbe26c2c201f3d9ee84">More...</a><br /></td></tr>
<tr class="separator:a17493d7c362acbbe26c2c201f3d9ee84 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af923b7ca703939fce2210fa40ac78b16 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">GstMiniObject*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#af923b7ca703939fce2210fa40ac78b16">gobj_copy</a> () const</td></tr>
<tr class="memdesc:af923b7ca703939fce2210fa40ac78b16 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.  <a href="classGst_1_1MiniObject.html#af923b7ca703939fce2210fa40ac78b16">More...</a><br /></td></tr>
<tr class="separator:af923b7ca703939fce2210fa40ac78b16 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b87e56eeae583af8e16b2892fbcf4ce inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a1b87e56eeae583af8e16b2892fbcf4ce">MiniObject</a> ()=delete</td></tr>
<tr class="separator:a1b87e56eeae583af8e16b2892fbcf4ce inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15ae36653947b4e3a3d60a008fc71c7b inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a15ae36653947b4e3a3d60a008fc71c7b">MiniObject</a> (const <a class="el" href="classGst_1_1MiniObject.html">MiniObject</a>&amp;)=delete</td></tr>
<tr class="separator:a15ae36653947b4e3a3d60a008fc71c7b inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a217d2040d40f2f9586f1c0cbbf324ddb inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1MiniObject.html">MiniObject</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a217d2040d40f2f9586f1c0cbbf324ddb">operator=</a> (const <a class="el" href="classGst_1_1MiniObject.html">MiniObject</a>&amp;)=delete</td></tr>
<tr class="separator:a217d2040d40f2f9586f1c0cbbf324ddb inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae90229dda07195e7b0a10a69f08cee53 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#ae90229dda07195e7b0a10a69f08cee53">~MiniObject</a> ()</td></tr>
<tr class="separator:ae90229dda07195e7b0a10a69f08cee53 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea7d25b9d49ef944bc94bfe4a190885b inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#aea7d25b9d49ef944bc94bfe4a190885b">get_flags</a> () const</td></tr>
<tr class="separator:aea7d25b9d49ef944bc94bfe4a190885b inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0c291f0989acbe9083755aeaa995ea1 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#ae0c291f0989acbe9083755aeaa995ea1">set_flags</a> (const guint&amp; value)</td></tr>
<tr class="separator:ae0c291f0989acbe9083755aeaa995ea1 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0064361def478a0d642d66a095f45c0 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">gint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#aa0064361def478a0d642d66a095f45c0">get_refcount</a> () const</td></tr>
<tr class="separator:aa0064361def478a0d642d66a095f45c0 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae66f78abe7c10b8f885368ebb7c319 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">gint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#afae66f78abe7c10b8f885368ebb7c319">get_lockstate</a> () const</td></tr>
<tr class="separator:afae66f78abe7c10b8f885368ebb7c319 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad5ba3f0085198bcca37d8e57f0d3c4d inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#aad5ba3f0085198bcca37d8e57f0d3c4d">lock</a> (<a class="el" href="group__gstreamermmEnums.html#ga2b9102a456ce11974b6b9f8547a38861">LockFlags</a> flags)</td></tr>
<tr class="memdesc:aad5ba3f0085198bcca37d8e57f0d3c4d inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lock the mini-object with the specified access mode in <em>flags</em>.  <a href="classGst_1_1MiniObject.html#aad5ba3f0085198bcca37d8e57f0d3c4d">More...</a><br /></td></tr>
<tr class="separator:aad5ba3f0085198bcca37d8e57f0d3c4d inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbdf917368edf5ea0ee8cac6482d74b5 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#afbdf917368edf5ea0ee8cac6482d74b5">unlock</a> (<a class="el" href="group__gstreamermmEnums.html#ga2b9102a456ce11974b6b9f8547a38861">LockFlags</a> flags)</td></tr>
<tr class="memdesc:afbdf917368edf5ea0ee8cac6482d74b5 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlock the mini-object with the specified access mode in <em>flags</em>.  <a href="classGst_1_1MiniObject.html#afbdf917368edf5ea0ee8cac6482d74b5">More...</a><br /></td></tr>
<tr class="separator:afbdf917368edf5ea0ee8cac6482d74b5 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acaed2eddf2838dfbb544d65b37fdf6e0 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#acaed2eddf2838dfbb544d65b37fdf6e0">is_writable</a> () const</td></tr>
<tr class="memdesc:acaed2eddf2838dfbb544d65b37fdf6e0 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">If <em>mini_object</em> has the LOCKABLE flag set, check if the current EXCLUSIVE lock on <em>object</em> is the only one, this means that changes to the object will not be visible to any other object.  <a href="classGst_1_1MiniObject.html#acaed2eddf2838dfbb544d65b37fdf6e0">More...</a><br /></td></tr>
<tr class="separator:acaed2eddf2838dfbb544d65b37fdf6e0 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa082ae18e7f378f59156da600d0f9c5 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1MiniObject.html">MiniObject</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#aaa082ae18e7f378f59156da600d0f9c5">create_writable</a> ()</td></tr>
<tr class="memdesc:aaa082ae18e7f378f59156da600d0f9c5 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if a mini-object is writable.  <a href="classGst_1_1MiniObject.html#aaa082ae18e7f378f59156da600d0f9c5">More...</a><br /></td></tr>
<tr class="separator:aaa082ae18e7f378f59156da600d0f9c5 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a791442ba75dad37af2354d0d72e83229 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a791442ba75dad37af2354d0d72e83229">set_qdata</a> (GQuark quark, <a class="el" href="classGst_1_1QuarkData.html">QuarkData</a>* data)</td></tr>
<tr class="memdesc:a791442ba75dad37af2354d0d72e83229 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">This sets an opaque, named pointer on a miniobject.  <a href="classGst_1_1MiniObject.html#a791442ba75dad37af2354d0d72e83229">More...</a><br /></td></tr>
<tr class="separator:a791442ba75dad37af2354d0d72e83229 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada6175a263b84c230b256e96b5cb7088 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1QuarkData.html">QuarkData</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#ada6175a263b84c230b256e96b5cb7088">get_qdata</a> (GQuark quark) const</td></tr>
<tr class="memdesc:ada6175a263b84c230b256e96b5cb7088 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets back user data pointers stored via <a class="el" href="classGst_1_1MiniObject.html#a791442ba75dad37af2354d0d72e83229" title="This sets an opaque, named pointer on a miniobject. ">set_qdata()</a>.  <a href="classGst_1_1MiniObject.html#ada6175a263b84c230b256e96b5cb7088">More...</a><br /></td></tr>
<tr class="separator:ada6175a263b84c230b256e96b5cb7088 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc97e339061f89323ca099a6889b74bf inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1QuarkData.html">QuarkData</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#adc97e339061f89323ca099a6889b74bf">steal_qdata</a> (GQuark quark)</td></tr>
<tr class="memdesc:adc97e339061f89323ca099a6889b74bf inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets back user data pointers stored via <a class="el" href="classGst_1_1MiniObject.html#a791442ba75dad37af2354d0d72e83229" title="This sets an opaque, named pointer on a miniobject. ">set_qdata()</a> and removes the data from <em>object</em> without invoking its destroy() function (if any was set).  <a href="classGst_1_1MiniObject.html#adc97e339061f89323ca099a6889b74bf">More...</a><br /></td></tr>
<tr class="separator:adc97e339061f89323ca099a6889b74bf inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09152ec3b8558cbea3bbd2faed65037e inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a09152ec3b8558cbea3bbd2faed65037e">add_finalize_notifier</a> (const <a class="el" href="classGst_1_1MiniObject.html#aaf54e796d4c1d985d9e9f36c27aaac0a">SlotFinalizer</a>&amp; slot)</td></tr>
<tr class="memdesc:a09152ec3b8558cbea3bbd2faed65037e inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds notifier when mini object is finalized.  <a href="classGst_1_1MiniObject.html#a09152ec3b8558cbea3bbd2faed65037e">More...</a><br /></td></tr>
<tr class="separator:a09152ec3b8558cbea3bbd2faed65037e inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6742cd5c88ae7aa9cb439060557cd770 inherit pub_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a6742cd5c88ae7aa9cb439060557cd770">remove_finalize_notifier</a> ()</td></tr>
<tr class="memdesc:a6742cd5c88ae7aa9cb439060557cd770 inherit pub_methods_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove finalize notifier.  <a href="classGst_1_1MiniObject.html#a6742cd5c88ae7aa9cb439060557cd770">More...</a><br /></td></tr>
<tr class="separator:a6742cd5c88ae7aa9cb439060557cd770 inherit pub_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5b2694b0e0dfef39207ab92c72db5b53"><td class="memItemLeft" align="right" valign="top">static Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a5b2694b0e0dfef39207ab92c72db5b53">create</a> ()</td></tr>
<tr class="separator:a5b2694b0e0dfef39207ab92c72db5b53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5569e221255dd90ebf695cedaac42c3b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a5569e221255dd90ebf695cedaac42c3b">copy_into</a> (const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&amp; destination_buffer, const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&amp; source_buffer, <a class="el" href="group__gstreamermmEnums.html#ga19a54890aefe6e8c41cb16f2bcb30508">BufferCopyFlags</a> flags, gsize offset, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:a5569e221255dd90ebf695cedaac42c3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the information from <em>source_buffer</em> into <em>dest</em>.  <a href="#a5569e221255dd90ebf695cedaac42c3b">More...</a><br /></td></tr>
<tr class="separator:a5569e221255dd90ebf695cedaac42c3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f12da926624f428498c0eeb8635dc70"><td class="memItemLeft" align="right" valign="top">static Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a5f12da926624f428498c0eeb8635dc70">create</a> (guint <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="separator:a5f12da926624f428498c0eeb8635dc70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04125d1215934f1533086ec72796d124"><td class="memItemLeft" align="right" valign="top">static guint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#a04125d1215934f1533086ec72796d124">offset_none</a> ()</td></tr>
<tr class="memdesc:a04125d1215934f1533086ec72796d124"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant for no-offset return results.  <a href="#a04125d1215934f1533086ec72796d124">More...</a><br /></td></tr>
<tr class="separator:a04125d1215934f1533086ec72796d124"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ac25859a92bf48bed96ddbbe486917301"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#ac25859a92bf48bed96ddbbe486917301">operator delete</a> (void*, std::size_t)</td></tr>
<tr class="separator:ac25859a92bf48bed96ddbbe486917301"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classGst_1_1MiniObject"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGst_1_1MiniObject')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classGst_1_1MiniObject.html">Gst::MiniObject</a></td></tr>
<tr class="memitem:ae5e12067f87b9ac8f27c6267ebe15259 inherit pro_methods_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#ae5e12067f87b9ac8f27c6267ebe15259">operator delete</a> (void*, std::size_t)</td></tr>
<tr class="separator:ae5e12067f87b9ac8f27c6267ebe15259 inherit pro_methods_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:ad722f6e03ade143107241bfbe14e276a"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Buffer.html#ad722f6e03ade143107241bfbe14e276a">wrap</a> (GstBuffer* object, bool take_copy=false)</td></tr>
<tr class="memdesc:ad722f6e03ade143107241bfbe14e276a"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a43fcab2a44083e8b7b6a1c8193acae2b">Glib::wrap()</a> method for this object.  <a href="#ad722f6e03ade143107241bfbe14e276a">More...</a><br /></td></tr>
<tr class="separator:ad722f6e03ade143107241bfbe14e276a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header related_classGst_1_1MiniObject"><td colspan="2" onclick="javascript:toggleInherit('related_classGst_1_1MiniObject')"><img src="closed.png" alt="-"/>&#160;Related Functions inherited from <a class="el" href="classGst_1_1MiniObject.html">Gst::MiniObject</a></td></tr>
<tr class="memitem:a8498c52b750a4114b6d97d5d79842a14 inherit related_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1MiniObject.html">Gst::MiniObject</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#a8498c52b750a4114b6d97d5d79842a14">wrap</a> (GstMiniObject* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a8498c52b750a4114b6d97d5d79842a14 inherit related_classGst_1_1MiniObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a43fcab2a44083e8b7b6a1c8193acae2b">Glib::wrap()</a> method for this object.  <a href="classGst_1_1MiniObject.html#a8498c52b750a4114b6d97d5d79842a14">More...</a><br /></td></tr>
<tr class="separator:a8498c52b750a4114b6d97d5d79842a14 inherit related_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classGst_1_1MiniObject"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classGst_1_1MiniObject')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classGst_1_1MiniObject.html">Gst::MiniObject</a></td></tr>
<tr class="memitem:aaf54e796d4c1d985d9e9f36c27aaac0a inherit pub_types_classGst_1_1MiniObject"><td class="memItemLeft" align="right" valign="top">typedef sigc::slot&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1MiniObject.html#aaf54e796d4c1d985d9e9f36c27aaac0a">SlotFinalizer</a></td></tr>
<tr class="separator:aaf54e796d4c1d985d9e9f36c27aaac0a inherit pub_types_classGst_1_1MiniObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Data-passing buffer type. </p>
<p>See also: <a class="el" href="classGst_1_1Pad.html" title="A class that represents objects contained by elements that allows links to other elements. ">Pad</a>, <a class="el" href="classGst_1_1MiniObject.html" title="This is a base class for some gstreamermm objects. ">MiniObject</a>, <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Memory</a>, Meta, BufferPool</p>
<p>Buffers are the basic unit of data transfer in GStreamer. They contain the timing and offset along with other arbitrary metadata that is associated with the #GstMemory blocks that the buffer contains.</p>
<p>Buffers are usually created with <a class="el" href="classGst_1_1Buffer.html#a5b2694b0e0dfef39207ab92c72db5b53">Gst::Buffer::create</a>. After a buffer has been created one will typically allocate memory for it and add it to the buffer. The following example creates a buffer that can hold a given video frame with a given width, height and bits per plane.</p>
<p>Buffers can contain a list of <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a> objects. You can retrieve how many memory objects with <a class="el" href="classGst_1_1Buffer.html#aa6d6c4d67bc3fae4f75fc3f57bffe031" title="Get the amount of memory blocks that this buffer has. ">n_memory()</a> and you can get a pointer to memory with <a class="el" href="classGst_1_1Buffer.html#ab99330eead323d11ab0bfe25159c5516" title="Get the memory block at idx in buffer. ">peek_memory()</a></p>
<p>A buffer will usually have timestamps, and a duration, but neither of these are guaranteed (they may be set to #GST_CLOCK_TIME_NONE). Whenever a meaningful value can be given for these, they should be set. The timestamps and duration are measured in nanoseconds (they are <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda" title="A data type to hold a time, measured in nanoseconds. ">Gst::ClockTime</a> values).</p>
<p>The buffer DTS refers to the timestamp when the buffer should be decoded and is usually monotonically increasing. The buffer PTS refers to the timestamp when the buffer content should be presented to the user and is not always monotonically increasing.</p>
<p>A buffer can also have one or both of a start and an end offset. These are media-type specific. For video buffers, the start offset will generally be the frame number. For audio buffers, it will be the number of samples produced so far. For compressed data, it could be the byte offset in a source or destination file. Likewise, the end offset will be the offset of the end of the buffer. These can only be meaningfully interpreted if you know the media type of the buffer (the preceeding CAPS event). Either or both can be set to Gst::BUFFER_OFFSET_NONE.</p>
<p>To efficiently create a smaller buffer out of an existing one, you can use <a class="el" href="classGst_1_1Buffer.html#a6423c4c589568bf262197322ca4e5481" title="Creates a sub-buffer from parent at offset and size. ">copy_region()</a>. This method tries to share the memory objects between the two buffers.</p>
<p>If a plug-in wants to modify the buffer data or metadata in-place, it should first obtain a buffer that is safe to modify by using <a class="el" href="classGst_1_1Buffer.html#a48d6843caf65c5004c7258a9cd1fe315" title="Makes a writable buffer from the given buffer. ">create_writable()</a>. This function is optimized so that a copy will only be made when it is necessary.</p>
<p>Several flags of the buffer can be set and unset with the GST_BUFFER_FLAG_SET() and GST_BUFFER_FLAG_UNSET() macros. Use GST_BUFFER_FLAG_IS_SET() to test if a certain Gst::BufferFlag is set.</p>
<p>Buffers can be efficiently merged into a larger buffer with <a class="el" href="classGst_1_1Buffer.html#a6eaed6c589650e08e5fe8dafc255eae9">append()</a>. Copying of memory will only be done when absolutely needed.</p>
<p>Arbitrary extra metadata can be set on a buffer with add_meta(). Metadata can be retrieved with get_meta(). See also Gst::Meta</p>
<p>An element should either unref the buffer or push it out on a src pad using <a class="el" href="classGst_1_1Pad.html#ab8f95c947da472b6cd7284ffca9b5b30" title="Pushes a buffer to the peer of pad. ">Gst::Pad::push()</a> (see <a class="el" href="classGst_1_1Pad.html" title="A class that represents objects contained by elements that allows links to other elements. ">Gst::Pad</a>). </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac8891ba9a1b33523da504480f13fb272"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8891ba9a1b33523da504480f13fb272">&#9670;&#160;</a></span>Buffer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gst::Buffer::Buffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4702b4ecc9eb14976a68e01750ea0010"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4702b4ecc9eb14976a68e01750ea0010">&#9670;&#160;</a></span>Buffer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gst::Buffer::Buffer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGst_1_1Buffer.html">Buffer</a>&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6eaed6c589650e08e5fe8dafc255eae9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6eaed6c589650e08e5fe8dafc255eae9">&#9670;&#160;</a></span>append()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a>&gt; Gst::Buffer::append </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&amp;&amp;&#160;</td>
          <td class="paramname"><em>buf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0fe56c931eb9face4c5e73d8caec4861"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fe56c931eb9face4c5e73d8caec4861">&#9670;&#160;</a></span>append_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::append_memory </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp;&#160;</td>
          <td class="paramname"><em>mem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Append the memory block <em>mem</em> to <em>buffer</em>. </p>
<p>This function takes ownership of <em>mem</em> and thus doesn't increase its refcount.</p>
<p>This function is identical to <a class="el" href="classGst_1_1Buffer.html#a36e101592c09f6f85610efe35ae135dc" title="Insert the memory block mem to buffer at idx. ">insert_memory()</a> with an index of -1. See <a class="el" href="classGst_1_1Buffer.html#a36e101592c09f6f85610efe35ae135dc" title="Insert the memory block mem to buffer at idx. ">insert_memory()</a> for more details.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mem</td><td>A <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a42ad12ec9c0f460f4f49728dce966820"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42ad12ec9c0f460f4f49728dce966820">&#9670;&#160;</a></span>append_region()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a>&gt; Gst::Buffer::append_region </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&amp;&amp;&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gssize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gssize&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adf5619286e52dfbfdda50a667b174420"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf5619286e52dfbfdda50a667b174420">&#9670;&#160;</a></span>copy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a>&gt; Gst::Buffer::copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a copy of the given buffer. </p>
<p>This will only copy the buffer's data to a newly allocated memory if needed (if the type of memory requires it), otherwise the underlying data is just referenced. <a class="el" href="classGst_1_1Check.html">Check</a> <a class="el" href="classGst_1_1Buffer.html#aa6c48df4951f3e69125125eca831ffa9" title="Create a copy of the given buffer. ">copy_deep()</a> if you want to force the data to be copied to newly allocated memory.</p>
<dl class="section return"><dt>Returns</dt><dd>A new copy of <em>buf</em>. </dd></dl>

</div>
</div>
<a id="aa6c48df4951f3e69125125eca831ffa9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6c48df4951f3e69125125eca831ffa9">&#9670;&#160;</a></span>copy_deep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a>&gt; Gst::Buffer::copy_deep </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a copy of the given buffer. </p>
<p>This will make a newly allocated copy of the data the source buffer contains.</p>
<dl class="section return"><dt>Returns</dt><dd>A new copy of <em>buf</em>. </dd></dl>

</div>
</div>
<a id="a5569e221255dd90ebf695cedaac42c3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5569e221255dd90ebf695cedaac42c3b">&#9670;&#160;</a></span>copy_into()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void Gst::Buffer::copy_into </td>
          <td>(</td>
          <td class="paramtype">const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>destination_buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>source_buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga19a54890aefe6e8c41cb16f2bcb30508">BufferCopyFlags</a>&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copies the information from <em>source_buffer</em> into <em>dest</em>. </p>
<p>If <em>dest</em> already contains memory and <em>flags</em> contains GST_BUFFER_COPY_MEMORY, the memory from <em>source_buffer</em> will be appended to <em>dest</em>.</p>
<p><em>flags</em> indicate which fields will be copied.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>A destination <a class="el" href="classGst_1_1Buffer.html" title="Data-passing buffer type. ">Gst::Buffer</a>. </td></tr>
    <tr><td class="paramname">source_buffer</td><td>A source <a class="el" href="classGst_1_1Buffer.html" title="Data-passing buffer type. ">Gst::Buffer</a>. </td></tr>
    <tr><td class="paramname">flags</td><td>Flags indicating what metadata fields should be copied. </td></tr>
    <tr><td class="paramname">offset</td><td>Offset to copy from. </td></tr>
    <tr><td class="paramname">size</td><td>Total size to copy. If -1, all data is copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the copying succeeded, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a id="a6423c4c589568bf262197322ca4e5481"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6423c4c589568bf262197322ca4e5481">&#9670;&#160;</a></span>copy_region()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a>&gt; Gst::Buffer::copy_region </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga19a54890aefe6e8c41cb16f2bcb30508">Gst::BufferCopyFlags</a>&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a sub-buffer from <em>parent</em> at <em>offset</em> and <em>size</em>. </p>
<p>This sub-buffer uses the actual memory space of the parent buffer. This function will copy the offset and timestamp fields when the offset is 0. If not, they will be set to <a class="el" href="namespaceGst.html#a07ca62fa6d891070ab6d46c45cd388f1" title="A constant to define an undefined clock time. ">Gst::CLOCK_TIME_NONE</a> and Gst::BUFFER_OFFSET_NONE. If <em>offset</em> equals 0 and <em>size</em> equals the total size of <em>buffer</em>, the duration and offset end fields are also copied. If not they will be set to <a class="el" href="namespaceGst.html#a07ca62fa6d891070ab6d46c45cd388f1" title="A constant to define an undefined clock time. ">Gst::CLOCK_TIME_NONE</a> and Gst::BUFFER_OFFSET_NONE.</p>
<p>MT safe.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">flags</td><td>The <a class="el" href="group__gstreamermmEnums.html#ga19a54890aefe6e8c41cb16f2bcb30508" title="A set of flags that can be provided to the Gst::Buffer::copy_into() function to specify which items s...">Gst::BufferCopyFlags</a>. </td></tr>
    <tr><td class="paramname">offset</td><td>The offset into parent <a class="el" href="classGst_1_1Buffer.html" title="Data-passing buffer type. ">Gst::Buffer</a> at which the new sub-buffer begins. </td></tr>
    <tr><td class="paramname">size</td><td>The size of the new <a class="el" href="classGst_1_1Buffer.html" title="Data-passing buffer type. ">Gst::Buffer</a> sub-buffer, in bytes. If -1, all data is copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new <a class="el" href="classGst_1_1Buffer.html" title="Data-passing buffer type. ">Gst::Buffer</a> or <code>nullptr</code> if the arguments were invalid. </dd></dl>

</div>
</div>
<a id="a5b2694b0e0dfef39207ab92c72db5b53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b2694b0e0dfef39207ab92c72db5b53">&#9670;&#160;</a></span>create() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::RefPtr&lt;<a class="el" href="classGst_1_1Buffer.html">Buffer</a>&gt; Gst::Buffer::create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a5f12da926624f428498c0eeb8635dc70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f12da926624f428498c0eeb8635dc70">&#9670;&#160;</a></span>create() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::RefPtr&lt;<a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a>&gt; Gst::Buffer::create </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a48d6843caf65c5004c7258a9cd1fe315"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48d6843caf65c5004c7258a9cd1fe315">&#9670;&#160;</a></span>create_writable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a>&gt; Gst::Buffer::create_writable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes a writable buffer from the given buffer. </p>
<p>If the source buffer is already writable, this will simply return the same buffer. A copy will otherwise be made. </p><dl class="section return"><dt>Returns</dt><dd>A buffer (possibly the same pointer) that is writable. </dd></dl>

</div>
</div>
<a id="aa9fb45d143b3bed09fa0093834eb7e51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9fb45d143b3bed09fa0093834eb7e51">&#9670;&#160;</a></span>extract()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gsize Gst::Buffer::extract </td>
          <td>(</td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gpointer&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy <em>size</em> bytes starting from <em>offset</em> in <em>buffer</em> to <em>dest</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>The offset to extract. </td></tr>
    <tr><td class="paramname">dest</td><td>The destination address. </td></tr>
    <tr><td class="paramname">size</td><td>The size to extract. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The amount of bytes extracted. This value can be lower than <em>size</em> when <em>buffer</em> did not contain enough data. </dd></dl>

</div>
</div>
<a id="aeb2846695bedec016fb699bad175eb5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb2846695bedec016fb699bad175eb5c">&#9670;&#160;</a></span>extract_dup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::extract_dup </td>
          <td>(</td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gpointer &amp;&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>dest_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Extracts a copy of at most <em>size</em> bytes the data at <em>offset</em> into newly-allocated memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>The offset to extract. </td></tr>
    <tr><td class="paramname">size</td><td>The size to extract. </td></tr>
    <tr><td class="paramname">dest</td><td>A pointer where the destination array will be written. </td></tr>
    <tr><td class="paramname">dest_size</td><td>A location where the size of <em>dest</em> can be written. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac8009be726571e8a838a0ce84aa9169a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8009be726571e8a838a0ce84aa9169a">&#9670;&#160;</a></span>fill()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gsize Gst::Buffer::fill </td>
          <td>(</td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gconstpointer&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy <em>size</em> bytes from <em>src</em> to <em>buffer</em> at <em>offset</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>The offset to fill. </td></tr>
    <tr><td class="paramname">src</td><td>The source address. </td></tr>
    <tr><td class="paramname">size</td><td>The size to fill. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The amount of bytes copied. This value can be lower than <em>size</em> when <em>buffer</em> did not contain enough data. </dd></dl>

</div>
</div>
<a id="a8df906a0a0be7653dacc266d0f693ace"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8df906a0a0be7653dacc266d0f693ace">&#9670;&#160;</a></span>find_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::Buffer::find_memory </td>
          <td>(</td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint &amp;&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint &amp;&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>skip</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Find the memory blocks that span <em>size</em> bytes starting from <em>offset</em> in <em>buffer</em>. </p>
<p>When this function returns <code>true</code>, <em>idx</em> will contain the index of the first memory block where the byte for <em>offset</em> can be found and <em>length</em> contains the number of memory blocks containing the <em>size</em> remaining bytes. <em>skip</em> contains the number of bytes to skip in the memory block at <em>idx</em> to get to the byte for <em>offset</em>.</p>
<p><em>size</em> can be -1 to get all the memory blocks after <em>idx</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>An offset. </td></tr>
    <tr><td class="paramname">size</td><td>A size. </td></tr>
    <tr><td class="paramname">idx</td><td>Pointer to index. </td></tr>
    <tr><td class="paramname">length</td><td>Pointer to length. </td></tr>
    <tr><td class="paramname">skip</td><td>Pointer to skip. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> when <em>size</em> bytes starting from <em>offset</em> could be found in <em>buffer</em> and <em>idx</em>, <em>length</em> and <em>skip</em> will be filled. </dd></dl>

</div>
</div>
<a id="a93cfbf0ddb5387c7520953fabb93ff76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93cfbf0ddb5387c7520953fabb93ff76">&#9670;&#160;</a></span>get_all_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Memory.html">Gst::Memory</a>&gt; Gst::Buffer::get_all_memory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get all the memory block in <em>buffer</em>. </p>
<p>The memory blocks will be merged into one large <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a> that contains the merged memory. Use Gst::Memory::unref() after usage. </dd></dl>

</div>
</div>
<a id="a2f9d6ea9f3a75113c8ed830ffd3b2973"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f9d6ea9f3a75113c8ed830ffd3b2973">&#9670;&#160;</a></span>get_dts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a> Gst::Buffer::get_dts </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5cfb0fcb59c9b5547e36b84327e72963"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cfb0fcb59c9b5547e36b84327e72963">&#9670;&#160;</a></span>get_duration()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a> Gst::Buffer::get_duration </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get duration of this buffer. </p>
<dl class="section return"><dt>Returns</dt><dd>he duration in nanoseconds (as a <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda" title="A data type to hold a time, measured in nanoseconds. ">Gst::ClockTime</a>) of the data in the buffer. Value will be <a class="el" href="namespaceGst.html#a07ca62fa6d891070ab6d46c45cd388f1" title="A constant to define an undefined clock time. ">Gst::CLOCK_TIME_NONE</a> if the duration is unknown. </dd></dl>

</div>
</div>
<a id="a8df331ccc1050540db9535f07ef0be04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8df331ccc1050540db9535f07ef0be04">&#9670;&#160;</a></span>get_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Memory.html">Gst::Memory</a>&gt; Gst::Buffer::get_memory </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the memory block at index <em>idx</em> in <em>buffer</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a> that contains the data of the memory block at <em>idx</em>. Use Gst::Memory::unref() after usage. </dd></dl>

</div>
</div>
<a id="a515300292827fb0fd5bef6b537e3476b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a515300292827fb0fd5bef6b537e3476b">&#9670;&#160;</a></span>get_memory_range()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Memory.html">Gst::Memory</a>&gt; Gst::Buffer::get_memory_range </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get <em>length</em> memory blocks in <em>buffer</em> starting at <em>idx</em>. </p>
<p>The memory blocks will be merged into one large <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a>.</p>
<p>If <em>length</em> is -1, all memory starting from <em>idx</em> is merged.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
    <tr><td class="paramname">length</td><td>A length. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a> that contains the merged data of <em>length</em> blocks starting at <em>idx</em>. Use Gst::Memory::unref() after usage. </dd></dl>

</div>
</div>
<a id="a11d49624ccefe420bb964e0bd2c18465"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11d49624ccefe420bb964e0bd2c18465">&#9670;&#160;</a></span>get_offset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint64 Gst::Buffer::get_offset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the offset of this buffer. </p>
<dl class="section return"><dt>Returns</dt><dd>The offset in the source file of the beginning of this buffer. </dd></dl>

</div>
</div>
<a id="a4fbe9b7db2a997c6e7b4c94a76a47da8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fbe9b7db2a997c6e7b4c94a76a47da8">&#9670;&#160;</a></span>get_offset_end()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint64 Gst::Buffer::get_offset_end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the offset end of this buffer. </p>
<dl class="section return"><dt>Returns</dt><dd>The offset in the source file of the end of this buffer. </dd></dl>

</div>
</div>
<a id="a4ca24c10c12f1a2641b6940f9c5c14f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ca24c10c12f1a2641b6940f9c5c14f7">&#9670;&#160;</a></span>get_pts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a> Gst::Buffer::get_pts </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0c26f9280d838d66d5468586c7a95132"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c26f9280d838d66d5468586c7a95132">&#9670;&#160;</a></span>get_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gsize Gst::Buffer::get_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the total size of the memory blocks in <em>buffer</em>. </p>
<dl class="section return"><dt>Returns</dt><dd>Total size of the memory blocks in <em>buffer</em>. </dd></dl>

</div>
</div>
<a id="a8dc33acd59707bead44db06ef047aeef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dc33acd59707bead44db06ef047aeef">&#9670;&#160;</a></span>get_sizes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gsize Gst::Buffer::get_sizes </td>
          <td>(</td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>max_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the total size of the memory blocks in <em>b</em>. </p>
<p>When not <code>nullptr</code>, <em>offset</em> will contain the offset of the data in the first memory block in <em>buffer</em> and <em>max_size</em> will contain the sum of the size and <em>offset</em> and the amount of extra padding on the last memory block. <em>offset</em> and <em>max_size</em> can be used to resize the buffer memory blocks with <a class="el" href="classGst_1_1Buffer.html#a83acf09aa6935e9256ce4bfe925f874e" title="Set the offset and total size of the memory blocks in buffer. ">resize()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>A pointer to the offset. </td></tr>
    <tr><td class="paramname">max_size</td><td>A pointer to the maxsize. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Total size of the memory blocks in <em>buffer</em>. </dd></dl>

</div>
</div>
<a id="a98343f6ab7c3f206e0623d22b76abcc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98343f6ab7c3f206e0623d22b76abcc3">&#9670;&#160;</a></span>get_sizes_range()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gsize Gst::Buffer::get_sizes_range </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize &amp;&#160;</td>
          <td class="paramname"><em>max_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the total size of <em>length</em> memory blocks stating from <em>idx</em> in <em>buffer</em>. </p>
<p>When not <code>nullptr</code>, <em>offset</em> will contain the offset of the data in the memory block in <em>buffer</em> at <em>idx</em> and <em>max_size</em> will contain the sum of the size and <em>offset</em> and the amount of extra padding on the memory block at <em>idx</em> + <em>length</em> -1. <em>offset</em> and <em>max_size</em> can be used to resize the buffer memory blocks with <a class="el" href="classGst_1_1Buffer.html#afd27c79a11673bf839545e30a9638b97" title="Set the total size of the length memory blocks starting at idx in buffer. ">resize_range()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
    <tr><td class="paramname">length</td><td>A length. </td></tr>
    <tr><td class="paramname">offset</td><td>A pointer to the offset. </td></tr>
    <tr><td class="paramname">max_size</td><td>A pointer to the maxsize. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Total size of <em>length</em> memory blocks starting at <em>idx</em> in <em>buffer</em>. </dd></dl>

</div>
</div>
<a id="a10e44e2e321065c59f7c71d7207014ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10e44e2e321065c59f7c71d7207014ac">&#9670;&#160;</a></span>gobj() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GstBuffer* Gst::Buffer::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a id="ad3aeb97e6ffa49c3590f5e8a1038eded"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3aeb97e6ffa49c3590f5e8a1038eded">&#9670;&#160;</a></span>gobj() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GstBuffer* Gst::Buffer::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a id="a385ee61d1895d64706e7d738e0655687"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a385ee61d1895d64706e7d738e0655687">&#9670;&#160;</a></span>gobj_copy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GstBuffer* Gst::Buffer::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a id="a36e101592c09f6f85610efe35ae135dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36e101592c09f6f85610efe35ae135dc">&#9670;&#160;</a></span>insert_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::insert_memory </td>
          <td>(</td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp;&#160;</td>
          <td class="paramname"><em>mem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Insert the memory block <em>mem</em> to <em>buffer</em> at <em>idx</em>. </p>
<p>This function takes ownership of <em>mem</em> and thus doesn't increase its refcount.</p>
<p>Only get_max_memory() can be added to a buffer. If more memory is added, existing memory blocks will automatically be merged to make room for the new memory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>The index to add the memory at, or -1 to append it to the end. </td></tr>
    <tr><td class="paramname">mem</td><td>A <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8c8453c4c4e6f373005d87755f07cebe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c8453c4c4e6f373005d87755f07cebe">&#9670;&#160;</a></span>is_all_memory_writable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::Buffer::is_all_memory_writable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classGst_1_1Check.html">Check</a> if all memory blocks in <em>buffer</em> are writable. </p>
<p>Note that this function does not check if <em>buffer</em> is writable, use gst_buffer_is_writable() to check that if needed.</p>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if all memory blocks in <em>buffer</em> are writable. </dd></dl>

</div>
</div>
<a id="aaad0fb14369c767d759b1d587c66e42d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaad0fb14369c767d759b1d587c66e42d">&#9670;&#160;</a></span>is_memory_range_writable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::Buffer::is_memory_range_writable </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classGst_1_1Check.html">Check</a> if <em>length</em> memory blocks in <em>buffer</em> starting from <em>idx</em> are writable. </p>
<p><em>length</em> can be -1 to check all the memory blocks after <em>idx</em>.</p>
<p>Note that this function does not check if <em>buffer</em> is writable, use gst_buffer_is_writable() to check that if needed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
    <tr><td class="paramname">length</td><td>A length should not be 0. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the memory range is writable. </dd></dl>

</div>
</div>
<a id="a771a79ce6fe578a7f09954efc49952c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a771a79ce6fe578a7f09954efc49952c2">&#9670;&#160;</a></span>map()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::Buffer::map </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a>&amp;&#160;</td>
          <td class="paramname"><em>info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#gaee5716e12b88f74c183e50de377d624a">Gst::MapFlags</a>&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function fills <em>info</em> with the <a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a> of all merged memory blocks in <em>buffer</em>. </p>
<p><em>flags</em> describe the desired access of the memory. When <em>flags</em> is <a class="el" href="namespaceGst.html#gaee5716e12b88f74c183e50de377d624aa0ec99dffa85f25b74a182c93e16f8dc9" title="Map for write access. ">Gst::MAP_WRITE</a>, <em>buffer</em> should be writable (as returned from gst_buffer_is_writable()).</p>
<p>When <em>buffer</em> is writable but the memory isn't, a writable copy will automatically be created and returned. The readonly copy of the buffer memory will then also be replaced with this writable copy.</p>
<p>The memory in <em>info</em> should be unmapped with <a class="el" href="classGst_1_1Buffer.html#a69344d4bf167824818e71b235eb6dec3" title="Release the memory previously mapped with map(). ">unmap()</a> after usage.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">info</td><td>Info about the mapping. </td></tr>
    <tr><td class="paramname">flags</td><td>Flags for the mapping. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the map succeeded and <em>info</em> contains valid data. </dd></dl>

</div>
</div>
<a id="ab7ae697b909f67a4826289a5472770cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7ae697b909f67a4826289a5472770cd">&#9670;&#160;</a></span>map_range()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::Buffer::map_range </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a>&amp;&#160;</td>
          <td class="paramname"><em>info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#gaee5716e12b88f74c183e50de377d624a">MapFlags</a>&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function fills <em>info</em> with the <a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a> of <em>length</em> merged memory blocks starting at <em>idx</em> in <em>buffer</em>. </p>
<p>When <em>length</em> is -1, all memory blocks starting from <em>idx</em> are merged and mapped.</p>
<p><em>flags</em> describe the desired access of the memory. When <em>flags</em> is <a class="el" href="namespaceGst.html#gaee5716e12b88f74c183e50de377d624aa0ec99dffa85f25b74a182c93e16f8dc9" title="Map for write access. ">Gst::MAP_WRITE</a>, <em>buffer</em> should be writable (as returned from gst_buffer_is_writable()).</p>
<p>When <em>buffer</em> is writable but the memory isn't, a writable copy will automatically be created and returned. The readonly copy of the buffer memory will then also be replaced with this writable copy.</p>
<p>The memory in <em>info</em> should be unmapped with <a class="el" href="classGst_1_1Buffer.html#a69344d4bf167824818e71b235eb6dec3" title="Release the memory previously mapped with map(). ">unmap()</a> after usage.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
    <tr><td class="paramname">length</td><td>A length. </td></tr>
    <tr><td class="paramname">info</td><td>Info about the mapping. </td></tr>
    <tr><td class="paramname">flags</td><td>Flags for the mapping. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the map succeeded and <em>info</em> contains valid data. </dd></dl>

</div>
</div>
<a id="a53f66bc8d81a55f921ef98790c6781bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53f66bc8d81a55f921ef98790c6781bc">&#9670;&#160;</a></span>memcmp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gst::Buffer::memcmp </td>
          <td>(</td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gconstpointer&#160;</td>
          <td class="paramname"><em>mem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compare <em>size</em> bytes starting from <em>offset</em> in <em>buffer</em> with the memory in <em>mem</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>The offset in <em>buffer</em>. </td></tr>
    <tr><td class="paramname">mem</td><td>The memory to compare. </td></tr>
    <tr><td class="paramname">size</td><td>The size to compare. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 if the memory is equal. </dd></dl>

</div>
</div>
<a id="adbf73d6d037ac8c26bec41f7c7be5f2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbf73d6d037ac8c26bec41f7c7be5f2a">&#9670;&#160;</a></span>memset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gsize Gst::Buffer::memset </td>
          <td>(</td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint8&#160;</td>
          <td class="paramname"><em>val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gsize&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill <em>buf</em> with <em>size</em> bytes with <em>val</em> starting from <em>offset</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>The offset in <em>buffer</em>. </td></tr>
    <tr><td class="paramname">val</td><td>The value to set. </td></tr>
    <tr><td class="paramname">size</td><td>The size to set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The amount of bytes filled. This value can be lower than <em>size</em> when <em>buffer</em> did not contain enough data. </dd></dl>

</div>
</div>
<a id="aa6d6c4d67bc3fae4f75fc3f57bffe031"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6d6c4d67bc3fae4f75fc3f57bffe031">&#9670;&#160;</a></span>n_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Gst::Buffer::n_memory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the amount of memory blocks that this buffer has. </p>
<p>This amount is never larger than what get_max_memory() returns.</p>
<dl class="section return"><dt>Returns</dt><dd>The amount of memory block in this buffer. </dd></dl>

</div>
</div>
<a id="a04125d1215934f1533086ec72796d124"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04125d1215934f1533086ec72796d124">&#9670;&#160;</a></span>offset_none()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static guint64 Gst::Buffer::offset_none </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constant for no-offset return results. </p>

</div>
</div>
<a id="ac25859a92bf48bed96ddbbe486917301"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac25859a92bf48bed96ddbbe486917301">&#9670;&#160;</a></span>operator delete()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::operator delete </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="adb57c015099f74e9a35cb1f984b0569d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb57c015099f74e9a35cb1f984b0569d">&#9670;&#160;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGst_1_1Buffer.html">Buffer</a>&amp; Gst::Buffer::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGst_1_1Buffer.html">Buffer</a>&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab99330eead323d11ab0bfe25159c5516"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab99330eead323d11ab0bfe25159c5516">&#9670;&#160;</a></span>peek_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Memory.html">Gst::Memory</a>&gt; Gst::Buffer::peek_memory </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the memory block at <em>idx</em> in <em>buffer</em>. </p>
<p>The memory block stays valid until the memory block in <em>buffer</em> is removed, replaced or merged, typically with any call that modifies the memory in <em>buffer</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a> at <em>idx</em>. </dd></dl>

</div>
</div>
<a id="adde8f2fb23be8f8f7b0a484b6ffe7e06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adde8f2fb23be8f8f7b0a484b6ffe7e06">&#9670;&#160;</a></span>prepend_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::prepend_memory </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp;&#160;</td>
          <td class="paramname"><em>mem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Prepend the memory block <em>mem</em> to <em>buffer</em>. </p>
<p>This function takes ownership of <em>mem</em> and thus doesn't increase its refcount.</p>
<p>This function is identical to <a class="el" href="classGst_1_1Buffer.html#a36e101592c09f6f85610efe35ae135dc" title="Insert the memory block mem to buffer at idx. ">insert_memory()</a> with an index of 0. See <a class="el" href="classGst_1_1Buffer.html#a36e101592c09f6f85610efe35ae135dc" title="Insert the memory block mem to buffer at idx. ">insert_memory()</a> for more details.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mem</td><td>A <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="addd14cf47add19954519c466d12917ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addd14cf47add19954519c466d12917ac">&#9670;&#160;</a></span>reference()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::reference </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Increment the reference count for this object. </p>
<p>You should never need to do this manually - use the object via a RefPtr instead. </p>

</div>
</div>
<a id="a9781371ac007d3acca59c6af1a456ea7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9781371ac007d3acca59c6af1a456ea7">&#9670;&#160;</a></span>remove_all_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::remove_all_memory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remove all the memory blocks in <em>buffer</em>. </p>

</div>
</div>
<a id="a3a7e7b1569bd579acdbde51210daeb10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a7e7b1569bd579acdbde51210daeb10">&#9670;&#160;</a></span>remove_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::remove_memory </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remove the memory block in <em>b</em> at index <em>i</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af20b730cdd88e9579251d72206c39060"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af20b730cdd88e9579251d72206c39060">&#9670;&#160;</a></span>remove_memory_range()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::remove_memory_range </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remove <em>length</em> memory blocks in <em>buffer</em> starting from <em>idx</em>. </p>
<p><em>length</em> can be -1, in which case all memory starting from <em>idx</em> is removed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
    <tr><td class="paramname">length</td><td>A length. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a554104f8c3f6b035c535acc4e0dd375e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a554104f8c3f6b035c535acc4e0dd375e">&#9670;&#160;</a></span>replace_all_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::replace_all_memory </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp;&#160;</td>
          <td class="paramname"><em>mem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Replaces all memory in <em>buffer</em> with <em>mem</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mem</td><td>A <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7673024e0eb2c4894c25b6d42e38e90b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7673024e0eb2c4894c25b6d42e38e90b">&#9670;&#160;</a></span>replace_memory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::replace_memory </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp;&#160;</td>
          <td class="paramname"><em>mem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Replaces the memory block at index <em>idx</em> in <em>buffer</em> with <em>mem</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
    <tr><td class="paramname">mem</td><td>A <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af34bb91d47e3b9b075baa50a20b4b09b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af34bb91d47e3b9b075baa50a20b4b09b">&#9670;&#160;</a></span>replace_memory_range()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::replace_memory_range </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Memory.html">Gst::Memory</a> &gt;&amp;&amp;&#160;</td>
          <td class="paramname"><em>mem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Replaces <em>length</em> memory blocks in <em>buffer</em> starting at <em>idx</em> with <em>mem</em>. </p>
<p>If <em>length</em> is -1, all memory starting from <em>idx</em> will be removed and replaced with <em>mem</em>.</p>
<p><em>buffer</em> should be writable.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
    <tr><td class="paramname">length</td><td>A length should not be 0. </td></tr>
    <tr><td class="paramname">mem</td><td>A <a class="el" href="classGst_1_1Memory.html" title="GstMemory is a lightweight refcounted object that wraps a region of memory. ">Gst::Memory</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a83acf09aa6935e9256ce4bfe925f874e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83acf09aa6935e9256ce4bfe925f874e">&#9670;&#160;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::resize </td>
          <td>(</td>
          <td class="paramtype">gssize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gssize&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the offset and total size of the memory blocks in <em>buffer</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>The offset adjustment. </td></tr>
    <tr><td class="paramname">size</td><td>The new size or -1 to just adjust the offset. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afd27c79a11673bf839545e30a9638b97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd27c79a11673bf839545e30a9638b97">&#9670;&#160;</a></span>resize_range()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::Buffer::resize_range </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>idx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gint&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gssize&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gssize&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the total size of the <em>length</em> memory blocks starting at <em>idx</em> in <em>buffer</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>An index. </td></tr>
    <tr><td class="paramname">length</td><td>A length. </td></tr>
    <tr><td class="paramname">offset</td><td>The offset adjustment. </td></tr>
    <tr><td class="paramname">size</td><td>The new size or -1 to just adjust the offset. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if resizing succeeded, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a id="ae728c9b64ba55f991647c8a08e7db7fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae728c9b64ba55f991647c8a08e7db7fc">&#9670;&#160;</a></span>set_dts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::set_dts </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aac5c1274cfa257c776e0cb8a08895906"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac5c1274cfa257c776e0cb8a08895906">&#9670;&#160;</a></span>set_duration()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::set_duration </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3bf4cefc82104ffe655ce4df00021f72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bf4cefc82104ffe655ce4df00021f72">&#9670;&#160;</a></span>set_pts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::set_pts </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5f104848a3768dc7691365f27348d7df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f104848a3768dc7691365f27348d7df">&#9670;&#160;</a></span>set_size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::set_size </td>
          <td>(</td>
          <td class="paramtype">gssize&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the total size of the memory blocks in <em>buffer</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>The new size. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a69344d4bf167824818e71b235eb6dec3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69344d4bf167824818e71b235eb6dec3">&#9670;&#160;</a></span>unmap()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::unmap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a>&amp;&#160;</td>
          <td class="paramname"><em>info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Release the memory previously mapped with <a class="el" href="classGst_1_1Buffer.html#a771a79ce6fe578a7f09954efc49952c2" title="This function fills info with the Gst::MapInfo of all merged memory blocks in buffer. ">map()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">info</td><td>A <a class="el" href="classGst_1_1MapInfo.html">Gst::MapInfo</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a92c55af8e3586a719ac4fa7c4da4222c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92c55af8e3586a719ac4fa7c4da4222c">&#9670;&#160;</a></span>unreference()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Buffer::unreference </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Decrement the reference count for this object. </p>
<p>You should never need to do this manually - use the object via a RefPtr instead. </p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="ad722f6e03ade143107241bfbe14e276a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad722f6e03ade143107241bfbe14e276a">&#9670;&#160;</a></span>wrap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Buffer.html">Gst::Buffer</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GstBuffer *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="el" href="namespaceGlib.html#a43fcab2a44083e8b7b6a1c8193acae2b">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Oct 21 2017 12:59:00 for gstreamermm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>