Home | History | Annotate | Download | only in oscl_html
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
      3 <title>BufferState class Reference</title>
      4 <link href="doxygen.css" rel="stylesheet" type="text/css">
      5 </head><body>
      6 <!-- Generated by Doxygen 1.2.18 -->
      7 <center>
      8 <a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
      9 <hr><h1>BufferState Class Reference<br>
     10 <small>
     11 [<a class="el" href="group__osclutil.html">OSCL Util</a>]</small>
     12 </h1><code>#include &lt;<a class="el" href="oscl__media__data_8h-source.html">oscl_media_data.h</a>&gt;</code>
     13 <p>
     14 <table border=0 cellpadding=0 cellspacing=0>
     15 <tr><td></td></tr>
     16 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
     17 <tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a0">BufferState</a> (<a class="el" href="group__osclutil.html#a1">BufferFreeFuncPtr</a> the_free_function, void *bufptr=0)</td></tr>
     18 <tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a1">BufferState</a> (<a class="el" href="classBufferMgr.html">BufferMgr</a> *the_buf_mgr=0, void *bufptr=0)</td></tr>
     19 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a2">increment_refcnt</a> ()</td></tr>
     20 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a3">decrement_refcnt</a> ()</td></tr>
     21 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a4">bind</a> (void *in_ptr, <a class="el" href="group__osclutil.html#a1">BufferFreeFuncPtr</a> in_free_function)</td></tr>
     22 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a5">bind</a> (void *in_ptr, <a class="el" href="classBufferMgr.html">BufferMgr</a> *in_buf_mgr)</td></tr>
     23 <tr><td nowrap align=right valign=top>void *&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a6">get_ptr</a> ()</td></tr>
     24 <tr><td nowrap align=right valign=top>int32&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a7">get_refcount</a> ()</td></tr>
     25 <tr><td nowrap align=right valign=top><a class="el" href="group__osclutil.html#a1">BufferFreeFuncPtr</a>&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a8">get_free_function</a> ()</td></tr>
     26 <tr><td nowrap align=right valign=top><a class="el" href="classBufferMgr.html">BufferMgr</a> *&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a9">get_buf_mgr</a> ()</td></tr>
     27 <tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classBufferState.html#a10">reset</a> ()</td></tr>
     28 </table>
     29 <hr><h2>Constructor &amp; Destructor Documentation</h2>
     30 <a name="a0" doxytag="BufferState::BufferState"></a><p>
     31 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     32   <tr>
     33     <td class="md">
     34       <table cellpadding="0" cellspacing="0" border="0">
     35         <tr>
     36           <td class="md" nowrap valign="top"> BufferState::BufferState </td>
     37           <td class="md" valign="top">(&nbsp;</td>
     38           <td class="md" nowrap valign="top"><a class="el" href="group__osclutil.html#a1">BufferFreeFuncPtr</a>&nbsp;</td>
     39           <td class="mdname" nowrap>&nbsp; <em>the_free_function</em>, </td>
     40         </tr>
     41         <tr>
     42           <td></td>
     43           <td></td>
     44           <td class="md" nowrap>void *&nbsp;</td>
     45           <td class="mdname" nowrap>&nbsp; <em>bufptr</em> = 0</td>
     46         </tr>
     47         <tr>
     48           <td></td>
     49           <td class="md">)&nbsp;</td>
     50           <td class="md" colspan="2"><code> [inline]</code></td>
     51         </tr>
     52 
     53       </table>
     54     </td>
     55   </tr>
     56 </table>
     57 <table cellspacing=5 cellpadding=0 border=0>
     58   <tr>
     59     <td>
     60       &nbsp;
     61     </td>
     62     <td>
     63 
     64 <p>
     65     </td>
     66   </tr>
     67 </table>
     68 <a name="a1" doxytag="BufferState::BufferState"></a><p>
     69 <table width="100%" cellpadding="2" cellspacing="0" border="0">
     70   <tr>
     71     <td class="md">
     72       <table cellpadding="0" cellspacing="0" border="0">
     73         <tr>
     74           <td class="md" nowrap valign="top"> BufferState::BufferState </td>
     75           <td class="md" valign="top">(&nbsp;</td>
     76           <td class="md" nowrap valign="top"><a class="el" href="classBufferMgr.html">BufferMgr</a> *&nbsp;</td>
     77           <td class="mdname" nowrap>&nbsp; <em>the_buf_mgr</em> = 0, </td>
     78         </tr>
     79         <tr>
     80           <td></td>
     81           <td></td>
     82           <td class="md" nowrap>void *&nbsp;</td>
     83           <td class="mdname" nowrap>&nbsp; <em>bufptr</em> = 0</td>
     84         </tr>
     85         <tr>
     86           <td></td>
     87           <td class="md">)&nbsp;</td>
     88           <td class="md" colspan="2"><code> [inline]</code></td>
     89         </tr>
     90 
     91       </table>
     92     </td>
     93   </tr>
     94 </table>
     95 <table cellspacing=5 cellpadding=0 border=0>
     96   <tr>
     97     <td>
     98       &nbsp;
     99     </td>
    100     <td>
    101 
    102 <p>
    103     </td>
    104   </tr>
    105 </table>
    106 <hr><h2>Member Function Documentation</h2>
    107 <a name="a5" doxytag="BufferState::bind"></a><p>
    108 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    109   <tr>
    110     <td class="md">
    111       <table cellpadding="0" cellspacing="0" border="0">
    112         <tr>
    113           <td class="md" nowrap valign="top"> void BufferState::bind </td>
    114           <td class="md" valign="top">(&nbsp;</td>
    115           <td class="md" nowrap valign="top">void *&nbsp;</td>
    116           <td class="mdname" nowrap>&nbsp; <em>in_ptr</em>, </td>
    117         </tr>
    118         <tr>
    119           <td></td>
    120           <td></td>
    121           <td class="md" nowrap><a class="el" href="classBufferMgr.html">BufferMgr</a> *&nbsp;</td>
    122           <td class="mdname" nowrap>&nbsp; <em>in_buf_mgr</em></td>
    123         </tr>
    124         <tr>
    125           <td></td>
    126           <td class="md">)&nbsp;</td>
    127           <td class="md" colspan="2"><code> [inline]</code></td>
    128         </tr>
    129 
    130       </table>
    131     </td>
    132   </tr>
    133 </table>
    134 <table cellspacing=5 cellpadding=0 border=0>
    135   <tr>
    136     <td>
    137       &nbsp;
    138     </td>
    139     <td>
    140 
    141 <p>
    142     </td>
    143   </tr>
    144 </table>
    145 <a name="a4" doxytag="BufferState::bind"></a><p>
    146 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    147   <tr>
    148     <td class="md">
    149       <table cellpadding="0" cellspacing="0" border="0">
    150         <tr>
    151           <td class="md" nowrap valign="top"> void BufferState::bind </td>
    152           <td class="md" valign="top">(&nbsp;</td>
    153           <td class="md" nowrap valign="top">void *&nbsp;</td>
    154           <td class="mdname" nowrap>&nbsp; <em>in_ptr</em>, </td>
    155         </tr>
    156         <tr>
    157           <td></td>
    158           <td></td>
    159           <td class="md" nowrap><a class="el" href="group__osclutil.html#a1">BufferFreeFuncPtr</a>&nbsp;</td>
    160           <td class="mdname" nowrap>&nbsp; <em>in_free_function</em></td>
    161         </tr>
    162         <tr>
    163           <td></td>
    164           <td class="md">)&nbsp;</td>
    165           <td class="md" colspan="2"><code> [inline]</code></td>
    166         </tr>
    167 
    168       </table>
    169     </td>
    170   </tr>
    171 </table>
    172 <table cellspacing=5 cellpadding=0 border=0>
    173   <tr>
    174     <td>
    175       &nbsp;
    176     </td>
    177     <td>
    178 
    179 <p>
    180     </td>
    181   </tr>
    182 </table>
    183 <a name="a3" doxytag="BufferState::decrement_refcnt"></a><p>
    184 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    185   <tr>
    186     <td class="md">
    187       <table cellpadding="0" cellspacing="0" border="0">
    188         <tr>
    189           <td class="md" nowrap valign="top"> void BufferState::decrement_refcnt </td>
    190           <td class="md" valign="top">(&nbsp;</td>
    191           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    192           <td class="md" valign="top">)&nbsp;</td>
    193           <td class="md" nowrap><code> [inline]</code></td>
    194         </tr>
    195 
    196       </table>
    197     </td>
    198   </tr>
    199 </table>
    200 <table cellspacing=5 cellpadding=0 border=0>
    201   <tr>
    202     <td>
    203       &nbsp;
    204     </td>
    205     <td>
    206 
    207 <p>
    208     </td>
    209   </tr>
    210 </table>
    211 <a name="a9" doxytag="BufferState::get_buf_mgr"></a><p>
    212 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    213   <tr>
    214     <td class="md">
    215       <table cellpadding="0" cellspacing="0" border="0">
    216         <tr>
    217           <td class="md" nowrap valign="top"> <a class="el" href="classBufferMgr.html">BufferMgr</a>* BufferState::get_buf_mgr </td>
    218           <td class="md" valign="top">(&nbsp;</td>
    219           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    220           <td class="md" valign="top">)&nbsp;</td>
    221           <td class="md" nowrap><code> [inline]</code></td>
    222         </tr>
    223 
    224       </table>
    225     </td>
    226   </tr>
    227 </table>
    228 <table cellspacing=5 cellpadding=0 border=0>
    229   <tr>
    230     <td>
    231       &nbsp;
    232     </td>
    233     <td>
    234 
    235 <p>
    236     </td>
    237   </tr>
    238 </table>
    239 <a name="a8" doxytag="BufferState::get_free_function"></a><p>
    240 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    241   <tr>
    242     <td class="md">
    243       <table cellpadding="0" cellspacing="0" border="0">
    244         <tr>
    245           <td class="md" nowrap valign="top"> <a class="el" href="group__osclutil.html#a1">BufferFreeFuncPtr</a> BufferState::get_free_function </td>
    246           <td class="md" valign="top">(&nbsp;</td>
    247           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    248           <td class="md" valign="top">)&nbsp;</td>
    249           <td class="md" nowrap><code> [inline]</code></td>
    250         </tr>
    251 
    252       </table>
    253     </td>
    254   </tr>
    255 </table>
    256 <table cellspacing=5 cellpadding=0 border=0>
    257   <tr>
    258     <td>
    259       &nbsp;
    260     </td>
    261     <td>
    262 
    263 <p>
    264     </td>
    265   </tr>
    266 </table>
    267 <a name="a6" doxytag="BufferState::get_ptr"></a><p>
    268 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    269   <tr>
    270     <td class="md">
    271       <table cellpadding="0" cellspacing="0" border="0">
    272         <tr>
    273           <td class="md" nowrap valign="top"> void* BufferState::get_ptr </td>
    274           <td class="md" valign="top">(&nbsp;</td>
    275           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    276           <td class="md" valign="top">)&nbsp;</td>
    277           <td class="md" nowrap><code> [inline]</code></td>
    278         </tr>
    279 
    280       </table>
    281     </td>
    282   </tr>
    283 </table>
    284 <table cellspacing=5 cellpadding=0 border=0>
    285   <tr>
    286     <td>
    287       &nbsp;
    288     </td>
    289     <td>
    290 
    291 <p>
    292     </td>
    293   </tr>
    294 </table>
    295 <a name="a7" doxytag="BufferState::get_refcount"></a><p>
    296 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    297   <tr>
    298     <td class="md">
    299       <table cellpadding="0" cellspacing="0" border="0">
    300         <tr>
    301           <td class="md" nowrap valign="top"> int32 BufferState::get_refcount </td>
    302           <td class="md" valign="top">(&nbsp;</td>
    303           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    304           <td class="md" valign="top">)&nbsp;</td>
    305           <td class="md" nowrap><code> [inline]</code></td>
    306         </tr>
    307 
    308       </table>
    309     </td>
    310   </tr>
    311 </table>
    312 <table cellspacing=5 cellpadding=0 border=0>
    313   <tr>
    314     <td>
    315       &nbsp;
    316     </td>
    317     <td>
    318 
    319 <p>
    320     </td>
    321   </tr>
    322 </table>
    323 <a name="a2" doxytag="BufferState::increment_refcnt"></a><p>
    324 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    325   <tr>
    326     <td class="md">
    327       <table cellpadding="0" cellspacing="0" border="0">
    328         <tr>
    329           <td class="md" nowrap valign="top"> void BufferState::increment_refcnt </td>
    330           <td class="md" valign="top">(&nbsp;</td>
    331           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    332           <td class="md" valign="top">)&nbsp;</td>
    333           <td class="md" nowrap><code> [inline]</code></td>
    334         </tr>
    335 
    336       </table>
    337     </td>
    338   </tr>
    339 </table>
    340 <table cellspacing=5 cellpadding=0 border=0>
    341   <tr>
    342     <td>
    343       &nbsp;
    344     </td>
    345     <td>
    346 
    347 <p>
    348     </td>
    349   </tr>
    350 </table>
    351 <a name="a10" doxytag="BufferState::reset"></a><p>
    352 <table width="100%" cellpadding="2" cellspacing="0" border="0">
    353   <tr>
    354     <td class="md">
    355       <table cellpadding="0" cellspacing="0" border="0">
    356         <tr>
    357           <td class="md" nowrap valign="top"> void BufferState::reset </td>
    358           <td class="md" valign="top">(&nbsp;</td>
    359           <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
    360           <td class="md" valign="top">)&nbsp;</td>
    361           <td class="md" nowrap><code> [inline]</code></td>
    362         </tr>
    363 
    364       </table>
    365     </td>
    366   </tr>
    367 </table>
    368 <table cellspacing=5 cellpadding=0 border=0>
    369   <tr>
    370     <td>
    371       &nbsp;
    372     </td>
    373     <td>
    374 
    375 <p>
    376     </td>
    377   </tr>
    378 </table>
    379 <hr>The documentation for this class was generated from the following file:<ul>
    380 <li><a class="el" href="oscl__media__data_8h-source.html">oscl_media_data.h</a></ul>
    381 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
    382 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
    383 </small></address>
    384 </body>
    385 </html>
    386