Repository URL to install this package:
|
Version:
8:3.0.2-1ubuntu3 ▾
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>FFmpeg: libavformat/avio.h Source File</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.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 style="padding-left: 0.5em;">
<div id="projectname">FFmpeg
 <span id="projectnumber">3.0.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_c323f0049949ddd42f5d8cc7327305d9.html">libavformat</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">avio.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="avio_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * copyright (c) 2001 Fabrice Bellard</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * This file is part of FFmpeg.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * FFmpeg is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * License as published by the Free Software Foundation; either</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * FFmpeg is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * License along with FFmpeg; if not, write to the Free Software</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef AVFORMAT_AVIO_H</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span><span class="preprocessor">#define AVFORMAT_AVIO_H</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * @file</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * @ingroup lavf_io</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * Buffered I/O operations</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <stdint.h></span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="common_8h.html">libavutil/common.h</a>"</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="dict_8h.html">libavutil/dict.h</a>"</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="log_8h.html">libavutil/log.h</a>"</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="libavformat_2version_8h.html">libavformat/version.h</a>"</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="avio_8h.html#a03ea0dfa113a05f4843bbfff69e0cd0a"> 37</a></span> <span class="preprocessor">#define AVIO_SEEKABLE_NORMAL 0x0001 </span><span class="comment">/**< Seeking works like for a local file */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> * Callback for checking whether to abort blocking functions.</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> * AVERROR_EXIT is returned in this case by the interrupted</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> * function. During blocking operations, callback is called with</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> * opaque as parameter. If the callback returns 1, the</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> * blocking operation will be aborted.</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> * No members can be added to this struct without a major bump, if</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> * new elements have been added after this struct in AVFormatContext</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> * or AVIOContext.</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structAVIOInterruptCB.html"> 50</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structAVIOInterruptCB.html">AVIOInterruptCB</a> {</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structAVIOInterruptCB.html#aaa0292879cfd9099620952ed72344725"> 51</a></span>  int (*<a class="code" href="structAVIOInterruptCB.html#aaa0292879cfd9099620952ed72344725">callback</a>)(<span class="keywordtype">void</span>*);</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structAVIOInterruptCB.html#a873ae56fef71d27dca1088dfd55c2197"> 52</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structAVIOInterruptCB.html#a873ae56fef71d27dca1088dfd55c2197">opaque</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> } <a class="code" href="structAVIOInterruptCB.html">AVIOInterruptCB</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment"></span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"> * Directory entry types.</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8fa"> 58</a></span> <span class="keyword">enum</span> <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8fa">AVIODirEntryType</a> {</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa159374019fec997c911704bc9f4913fc"> 59</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa159374019fec997c911704bc9f4913fc">AVIO_ENTRY_UNKNOWN</a>,</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa94369ed08fb8fb538f66d0bc4afb87a0"> 60</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa94369ed08fb8fb538f66d0bc4afb87a0">AVIO_ENTRY_BLOCK_DEVICE</a>,</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faaa6fabb2ac2b94287358b30291555f4fe"> 61</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faaa6fabb2ac2b94287358b30291555f4fe">AVIO_ENTRY_CHARACTER_DEVICE</a>,</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faaa4e8174e86d09fd519fdda87dd413ccf"> 62</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faaa4e8174e86d09fd519fdda87dd413ccf">AVIO_ENTRY_DIRECTORY</a>,</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa50f1bab52a8e512d72cda10de23919c8"> 63</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa50f1bab52a8e512d72cda10de23919c8">AVIO_ENTRY_NAMED_PIPE</a>,</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa9d66503948cd5fb104f78a746c36ad19"> 64</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa9d66503948cd5fb104f78a746c36ad19">AVIO_ENTRY_SYMBOLIC_LINK</a>,</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faaef29e40d14ed3f01420981aceb7165d3"> 65</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faaef29e40d14ed3f01420981aceb7165d3">AVIO_ENTRY_SOCKET</a>,</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faac05d4180a01efe6150b3688b17039a41"> 66</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faac05d4180a01efe6150b3688b17039a41">AVIO_ENTRY_FILE</a>,</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa8b33d9a7f0316f61642a9d20ff1963fd"> 67</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa8b33d9a7f0316f61642a9d20ff1963fd">AVIO_ENTRY_SERVER</a>,</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa93302e48d86ab18cdd183499f1d4c144"> 68</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa93302e48d86ab18cdd183499f1d4c144">AVIO_ENTRY_SHARE</a>,</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa6357c355f9f895a515a8ffd215b5d383"> 69</a></span>  <a class="code" href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa6357c355f9f895a515a8ffd215b5d383">AVIO_ENTRY_WORKGROUP</a>,</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> };</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"></span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> * Describes single entry of the directory.</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"> * Only name and type fields are guaranteed be set.</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> * Rest of fields are protocol or/and platform dependent and might be unknown.</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html"> 78</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structAVIODirEntry.html">AVIODirEntry</a> {</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#ac318bb2fb814386a2c8b9f8810150968"> 79</a></span>  <span class="keywordtype">char</span> *<a class="code" href="structAVIODirEntry.html#ac318bb2fb814386a2c8b9f8810150968">name</a>; <span class="comment">/**< Filename */</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#a45f4401b8f0d4fd3f8f94721a4b64e95"> 80</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIODirEntry.html#a45f4401b8f0d4fd3f8f94721a4b64e95">type</a>; <span class="comment">/**< Type of the entry */</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#adac43a980b06d1733d0fa7eb710264c9"> 81</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIODirEntry.html#adac43a980b06d1733d0fa7eb710264c9">utf8</a>; <span class="comment">/**< Set to 1 when name is encoded with UTF-8, 0 otherwise.</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment"> Name can be encoded with UTF-8 even though 0 is set. */</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#ab1caef8258ac2d327a40acfac50305ab"> 83</a></span>  int64_t <a class="code" href="structAVIODirEntry.html#ab1caef8258ac2d327a40acfac50305ab">size</a>; <span class="comment">/**< File size in bytes, -1 if unknown. */</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#adbf0f163a9b4bae0fcce8c86240f8852"> 84</a></span>  int64_t <a class="code" href="structAVIODirEntry.html#adbf0f163a9b4bae0fcce8c86240f8852">modification_timestamp</a>; <span class="comment">/**< Time of last modification in microseconds since unix</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment"> epoch, -1 if unknown. */</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#a48066fb5b7af54a64b0b87c4e8fe0fab"> 86</a></span>  int64_t <a class="code" href="structAVIODirEntry.html#a48066fb5b7af54a64b0b87c4e8fe0fab">access_timestamp</a>; <span class="comment">/**< Time of last access in microseconds since unix epoch,</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment"> -1 if unknown. */</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#aa39ec74a8aaf27ea312da86a905d4293"> 88</a></span>  int64_t <a class="code" href="structAVIODirEntry.html#aa39ec74a8aaf27ea312da86a905d4293">status_change_timestamp</a>; <span class="comment">/**< Time of last status change in microseconds since unix</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment"> epoch, -1 if unknown. */</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#a0b85319602d578b0db7d90bf9cb5d33d"> 90</a></span>  int64_t <a class="code" href="structAVIODirEntry.html#a0b85319602d578b0db7d90bf9cb5d33d">user_id</a>; <span class="comment">/**< User ID of owner, -1 if unknown. */</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#ab216aad5f996681f498158cc82803fe2"> 91</a></span>  int64_t <a class="code" href="structAVIODirEntry.html#ab216aad5f996681f498158cc82803fe2">group_id</a>; <span class="comment">/**< Group ID of owner, -1 if unknown. */</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structAVIODirEntry.html#afebceb6dac39b4c5ec00eca13e2cacd3"> 92</a></span>  int64_t <a class="code" href="structAVIODirEntry.html#afebceb6dac39b4c5ec00eca13e2cacd3">filemode</a>; <span class="comment">/**< Unix file mode, -1 if unknown. */</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> } <a class="code" href="structAVIODirEntry.html">AVIODirEntry</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structAVIODirContext.html"> 95</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structAVIODirContext.html">AVIODirContext</a> {</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structAVIODirContext.html#a10cfa45d4d4a2c5e3c9ff50c4702815d"> 96</a></span>  <span class="keyword">struct </span>URLContext *<a class="code" href="structAVIODirContext.html#a10cfa45d4d4a2c5e3c9ff50c4702815d">url_context</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> } <a class="code" href="structAVIODirContext.html">AVIODirContext</a>;</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"></span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment"> * Bytestream IO Context.</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment"> * New fields can be added to the end with minor version bumps.</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"> * Removal, reordering and changes to existing fields require a major</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment"> * version bump.</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment"> * sizeof(AVIOContext) must not be used outside libav*.</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment"> * @note None of the function pointers in AVIOContext should be called</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"> * directly, they should only be set by the client application</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment"> * when implementing custom I/O. Normally these are set to the</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment"> * function pointers specified in avio_alloc_context()</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="structAVIOContext.html"> 111</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structAVIOContext.html">AVIOContext</a> {<span class="comment"></span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment"> * A class for private options.</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment"> * If this AVIOContext is created by avio_open2(), av_class is set and</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"> * passes the options down to protocols.</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment"> * If this AVIOContext is manually allocated, then av_class may be set by</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment"> * the caller.</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="comment"> * warning -- this field can be NULL, be sure to not pass this AVIOContext</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="comment"> * to any av_opt_* functions in that case.</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a25d3b039ac00850a25d7b772566db6a8"> 124</a></span>  <span class="keyword">const</span> <a class="code" href="structAVClass.html">AVClass</a> *<a class="code" href="structAVIOContext.html#a25d3b039ac00850a25d7b772566db6a8">av_class</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">/*</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="comment"> * The following shows the relationship between buffer, buf_ptr, buf_end, buf_size,</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="comment"> * and pos, when reading and when writing (since AVIOContext is used for both):</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="comment"> **********************************************************************************</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="comment"> * READING</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="comment"> **********************************************************************************</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment"> * | buffer_size |</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="comment"> * |---------------------------------------|</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="comment"> * | |</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment"> * buffer buf_ptr buf_end</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment"> * +---------------+-----------------------+</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"> * |/ / / / / / / /|/ / / / / / /| |</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="comment"> * read buffer: |/ / consumed / | to be read /| |</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="comment"> * |/ / / / / / / /|/ / / / / / /| |</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="comment"> * +---------------+-----------------------+</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment"> * pos</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"> * +-------------------------------------------+-----------------+</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="comment"> * input file: | | |</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment"> * +-------------------------------------------+-----------------+</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"> **********************************************************************************</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment"> * WRITING</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="comment"> **********************************************************************************</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="comment"> * | buffer_size |</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment"> * |-------------------------------|</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment"> * | |</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment"> * buffer buf_ptr buf_end</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"> * +-------------------+-----------+</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"> * |/ / / / / / / / / /| |</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"> * write buffer: | / to be flushed / | |</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> * |/ / / / / / / / / /| |</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment"> * +-------------------+-----------+</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="comment"> * pos</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="comment"> * +--------------------------+-----------------------------------+</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment"> * output file: | | |</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment"> * +--------------------------+-----------------------------------+</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a901e8fd2b978d40957c4ed0b77c2daf0"> 172</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structAVIOContext.html#a901e8fd2b978d40957c4ed0b77c2daf0">buffer</a>; <span class="comment">/**< Start of the buffer. */</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a0204148f407d72becba822b90e8ce9a6"> 173</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#a0204148f407d72becba822b90e8ce9a6">buffer_size</a>; <span class="comment">/**< Maximum buffer size */</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a3500915a7434270c42dffc80fafffa2d"> 174</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structAVIOContext.html#a3500915a7434270c42dffc80fafffa2d">buf_ptr</a>; <span class="comment">/**< Current position in the buffer */</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a0683d1a134b647c54f6d087d152c9a64"> 175</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structAVIOContext.html#a0683d1a134b647c54f6d087d152c9a64">buf_end</a>; <span class="comment">/**< End of the data, may be less than</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> buffer+buffer_size if the read function returned</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> less data than requested, e.g. for streams where</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="comment"> no more data has been received yet. */</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47"> 179</a></span>  <span class="keywordtype">void</span> *<a class="code" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>; <span class="comment">/**< A private pointer, passed to the read/write/seek/...</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment"> functions. */</span></div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a89930f812df15d2d0108f9b65392fc00"> 181</a></span>  int (*<a class="code" href="structAVIOContext.html#a89930f812df15d2d0108f9b65392fc00">read_packet</a>)(<span class="keywordtype">void</span> *<a class="code" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, uint8_t *buf, <span class="keywordtype">int</span> buf_size);</div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="structAVIOContext.html#ac1f448eea818eed8231336c087d9f257"> 182</a></span>  int (*<a class="code" href="structAVIOContext.html#ac1f448eea818eed8231336c087d9f257">write_packet</a>)(<span class="keywordtype">void</span> *<a class="code" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, uint8_t *buf, <span class="keywordtype">int</span> buf_size);</div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a0b4f06675c3ea2df5b455bd3334244fe"> 183</a></span>  int64_t (*<a class="code" href="structAVIOContext.html#a0b4f06675c3ea2df5b455bd3334244fe">seek</a>)(<span class="keywordtype">void</span> *<a class="code" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, int64_t offset, <span class="keywordtype">int</span> whence);</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a7158ec9b44d75704ea5c2fa5ac28fd50"> 184</a></span>  int64_t <a class="code" href="structAVIOContext.html#a7158ec9b44d75704ea5c2fa5ac28fd50">pos</a>; <span class="comment">/**< position in the file of the current buffer */</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a06e6f0186fcf571355cee82e837dc339"> 185</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#a06e6f0186fcf571355cee82e837dc339">must_flush</a>; <span class="comment">/**< true if the next seek should flush */</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="structAVIOContext.html#aa9214f54c01f07076e0a0718b2e9c27b"> 186</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#aa9214f54c01f07076e0a0718b2e9c27b">eof_reached</a>; <span class="comment">/**< true if eof reached */</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="structAVIOContext.html#aab6ff8baf51038f1557e817717baccba"> 187</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#aab6ff8baf51038f1557e817717baccba">write_flag</a>; <span class="comment">/**< true if open for writing */</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="structAVIOContext.html#aca19990941933d7573a485851c6b798e"> 188</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#aca19990941933d7573a485851c6b798e">max_packet_size</a>;</div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a949cd6dbd89e2d5d59f5c768754004ca"> 189</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="structAVIOContext.html#a949cd6dbd89e2d5d59f5c768754004ca">checksum</a>;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a10cbe217c46aeb653d360a9391aff310"> 190</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="structAVIOContext.html#a10cbe217c46aeb653d360a9391aff310">checksum_ptr</a>;</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a1f4226d3cfdda9f379397dbfb94f7d12"> 191</a></span>  <span class="keywordtype">unsigned</span> long (*<a class="code" href="structAVIOContext.html#a1f4226d3cfdda9f379397dbfb94f7d12">update_checksum</a>)(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="structAVIOContext.html#a949cd6dbd89e2d5d59f5c768754004ca">checksum</a>, <span class="keyword">const</span> uint8_t *buf, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size);</div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="structAVIOContext.html#afb903b1d9614bfb59e8cc5213de3777b"> 192</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#afb903b1d9614bfb59e8cc5213de3777b">error</a>; <span class="comment">/**< contains the error code or 0 if no error happened */</span><span class="comment"></span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="comment"> * Pause or resume playback for network streaming protocols - e.g. MMS.</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="structAVIOContext.html#ae757bb339926f29541871870c0701be4"> 196</a></span>  int (*<a class="code" href="structAVIOContext.html#ae757bb339926f29541871870c0701be4">read_pause</a>)(<span class="keywordtype">void</span> *<a class="code" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, <span class="keywordtype">int</span> pause);<span class="comment"></span></div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment"> * Seek to a given timestamp in stream with the specified stream_index.</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"> * Needed for some network streaming protocols which don't support seeking</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"> * to byte position.</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a991d282ed4776fe71b438c68e289ef3e"> 202</a></span>  int64_t (*<a class="code" href="structAVIOContext.html#a991d282ed4776fe71b438c68e289ef3e">read_seek</a>)(<span class="keywordtype">void</span> *<a class="code" href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">opaque</a>, <span class="keywordtype">int</span> stream_index,</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  int64_t timestamp, <span class="keywordtype">int</span> flags);<span class="comment"></span></div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="comment"> * A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable.</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a0e3c41c290b38923880b9cccb669bf78"> 207</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#a0e3c41c290b38923880b9cccb669bf78">seekable</a>;</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="comment"></span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="comment"> * max filesize, used to limit allocations</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="comment"> * This field is internal to libavformat and access from outside is not allowed.</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a33e387aeb28b7a352c62ba8c30a214e7"> 213</a></span>  int64_t <a class="code" href="structAVIOContext.html#a33e387aeb28b7a352c62ba8c30a214e7">maxsize</a>;</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="comment"></span></div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="comment"> * avio_read and avio_write should if possible be satisfied directly</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="comment"> * instead of going through a buffer, and avio_seek will always</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="comment"> * call the underlying seek function directly.</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="structAVIOContext.html#af719be70947f5f8eebaa5f8ac58fd306"> 220</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#af719be70947f5f8eebaa5f8ac58fd306">direct</a>;</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="comment"></span></div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="comment"> * Bytes read statistic</span></div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment"> * This field is internal to libavformat and access from outside is not allowed.</span></div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a2685da68190c842c028ec161ff2b563e"> 226</a></span>  int64_t <a class="code" href="structAVIOContext.html#a2685da68190c842c028ec161ff2b563e">bytes_read</a>;</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="comment"></span></div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="comment"> * seek statistic</span></div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment"> * This field is internal to libavformat and access from outside is not allowed.</span></div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a38b3c122a21fc2271e3174342e87a79f"> 232</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#a38b3c122a21fc2271e3174342e87a79f">seek_count</a>;</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="comment"></span></div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="comment"> * writeout statistic</span></div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="comment"> * This field is internal to libavformat and access from outside is not allowed.</span></div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="structAVIOContext.html#ac027eace34bf1dbcab5f71b0806d1c8a"> 238</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#ac027eace34bf1dbcab5f71b0806d1c8a">writeout_count</a>;</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="comment"></span></div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="comment"> * Original buffer size</span></div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment"> * used internally after probing and ensure seekback to reset the buffer size</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="comment"> * This field is internal to libavformat and access from outside is not allowed.</span></div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a167eec001560f151e6ae0ebb4e2fd0fa"> 245</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#a167eec001560f151e6ae0ebb4e2fd0fa">orig_buffer_size</a>;</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment"></span></div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment"> * Threshold to favor readahead over seek.</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="comment"> * This is current internal only, do not use from outside.</span></div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a9f82e8f4ffb1ba689bab08592c468298"> 251</a></span>  <span class="keywordtype">int</span> <a class="code" href="structAVIOContext.html#a9f82e8f4ffb1ba689bab08592c468298">short_seek_threshold</a>;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="comment"></span></div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="comment"> /**</span></div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <span class="comment"> * ',' separated list of allowed protocols.</span></div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="structAVIOContext.html#a574dffd7a2101c2b41fb5fd051f501a0"> 256</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structAVIOContext.html#a574dffd7a2101c2b41fb5fd051f501a0">protocol_whitelist</a>;</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> } <a class="code" href="structAVIOContext.html">AVIOContext</a>;</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="comment">/* unbuffered I/O */</span></div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="comment"></span></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="comment"> * Return the name of the protocol that will handle the passed URL.</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="comment"> * NULL is returned if no protocol could be found for the given URL.</span></div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment"> * @return Name of the protocol or NULL.</span></div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="avio_8h.html#a612d7e4aede364861a728c18383714c2">avio_find_protocol_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *url);</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="comment"></span></div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="comment"> * Return AVIO_FLAG_* access flags corresponding to the access permissions</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="comment"> * of the resource in url, or a negative value corresponding to an</span></div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="comment"> * AVERROR code in case of failure. The returned access flags are</span></div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="comment"> * masked by the value in flags.</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="comment"> * @note This function is intrinsically unsafe, in the sense that the</span></div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="comment"> * checked resource may change its existence or permission status from</span></div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="comment"> * one call to another. Thus you should not trust the returned value,</span></div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="comment"> * unless you are sure that no other processes are accessing the</span></div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="comment"> * checked resource.</span></div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#aa4006f7b803e4d104231734a23b35ab7">avio_check</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keywordtype">int</span> flags);</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="comment"></span></div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="comment"> * Move or rename a resource.</span></div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="comment"> * @note url_src and url_dst should share the same protocol and authority.</span></div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="comment"> * @param url_src url to resource to be moved</span></div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="comment"> * @param url_dst new url to resource if the operation succeeded</span></div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="comment"> * @return >=0 on success or negative on error.</span></div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#aecf2411971807a60d7a20e517151a0e9">avpriv_io_move</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *url_src, <span class="keyword">const</span> <span class="keywordtype">char</span> *url_dst);</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="comment"></span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="comment"> * Delete a resource.</span></div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="comment"> * @param url resource to be deleted.</span></div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="comment"> * @return >=0 on success or negative on error.</span></div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a5cf1a4a2055dec6bb6b7acd82fcb0d18">avpriv_io_delete</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *url);</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="comment"></span></div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="comment"> * Open directory for reading.</span></div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="comment"> * @param s directory read context. Pointer to a NULL pointer must be passed.</span></div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="comment"> * @param url directory to be listed.</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="comment"> * @param options A dictionary filled with protocol-private options. On return</span></div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="comment"> * this parameter will be destroyed and replaced with a dictionary</span></div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="comment"> * containing options that were not found. May be NULL.</span></div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="comment"> * @return >=0 on success or negative on error.</span></div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a7bb596b33ba395e488af6c0c21ca00d5">avio_open_dir</a>(<a class="code" href="structAVIODirContext.html">AVIODirContext</a> **s, <span class="keyword">const</span> <span class="keywordtype">char</span> *url, <a class="code" href="group__lavu__dict.html#ga1d7cc0833bee918994a600556410315f">AVDictionary</a> **options);</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="comment"></span></div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="comment"> * Get next directory entry.</span></div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="comment"> * Returned entry must be freed with avio_free_directory_entry(). In particular</span></div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="comment"> * it may outlive AVIODirContext.</span></div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="comment"> * @param s directory read context.</span></div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="comment"> * @param[out] next next entry or NULL when no more entries.</span></div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="comment"> * @return >=0 on success or negative on error. End of list is not considered an</span></div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="comment"> * error.</span></div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#addb214cfa43621ca164b14d9932af2bb">avio_read_dir</a>(<a class="code" href="structAVIODirContext.html">AVIODirContext</a> *s, <a class="code" href="structAVIODirEntry.html">AVIODirEntry</a> **next);</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="comment"></span></div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="comment"> * Close directory.</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="comment"> * @note Entries created using avio_read_dir() are not deleted and must be</span></div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="comment"> * freeded with avio_free_directory_entry().</span></div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="comment"> * @param s directory read context.</span></div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="comment"> * @return >=0 on success or negative on error.</span></div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a62ef5c196ebb93427470e098e22268c5">avio_close_dir</a>(<a class="code" href="structAVIODirContext.html">AVIODirContext</a> **s);</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment"></span></div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="comment"> * Free entry allocated by avio_read_dir().</span></div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="comment"> * @param entry entry to be freed.</span></div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#aa0b5fe2c2243b25f770b1049a710861f">avio_free_directory_entry</a>(<a class="code" href="structAVIODirEntry.html">AVIODirEntry</a> **entry);</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="comment"></span></div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> <span class="comment"> * Allocate and initialize an AVIOContext for buffered I/O. It must be later</span></div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <span class="comment"> * freed with av_free().</span></div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <span class="comment"> * @param buffer Memory block for input/output operations via AVIOContext.</span></div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="comment"> * The buffer must be allocated with av_malloc() and friends.</span></div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="comment"> * It may be freed and replaced with a new buffer by libavformat.</span></div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> <span class="comment"> * AVIOContext.buffer holds the buffer currently in use,</span></div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="comment"> * which must be later freed with av_free().</span></div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="comment"> * @param buffer_size The buffer size is very important for performance.</span></div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="comment"> * For protocols with fixed blocksize it should be set to this blocksize.</span></div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> <span class="comment"> * For others a typical size is a cache page, e.g. 4kb.</span></div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> <span class="comment"> * @param write_flag Set to 1 if the buffer should be writable, 0 otherwise.</span></div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> <span class="comment"> * @param opaque An opaque pointer to user-specific data.</span></div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span> <span class="comment"> * @param read_packet A function for refilling the buffer, may be NULL.</span></div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span> <span class="comment"> * @param write_packet A function for writing the buffer contents, may be NULL.</span></div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span> <span class="comment"> * The function may not change the input buffers content.</span></div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="comment"> * @param seek A function for seeking to specified byte position, may be NULL.</span></div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="comment"> * @return Allocated AVIOContext or NULL on failure.</span></div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <a class="code" href="structAVIOContext.html">AVIOContext</a> *<a class="code" href="avio_8h.html#a853f5149136a27ffba3207d8520172a5">avio_alloc_context</a>(</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *buffer,</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keywordtype">int</span> buffer_size,</div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="keywordtype">int</span> write_flag,</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keywordtype">void</span> *opaque,</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <span class="keywordtype">int</span> (*<a class="code" href="avio__reading_8c.html#a3a86bff38e7cb9093d0a32316b73b29c">read_packet</a>)(<span class="keywordtype">void</span> *opaque, uint8_t *buf, <span class="keywordtype">int</span> buf_size),</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="keywordtype">int</span> (*write_packet)(<span class="keywordtype">void</span> *opaque, uint8_t *buf, <span class="keywordtype">int</span> buf_size),</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  int64_t (*seek)(<span class="keywordtype">void</span> *opaque, int64_t offset, <span class="keywordtype">int</span> whence));</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> </div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#a1dddee2b73f4dd6512ac9821cf5adc18">avio_w8</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keywordtype">int</span> b);</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#acc3626afc6aa3964b75d02811457164e">avio_write</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> size);</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#a09510d3318eda871f8b91693e2774425">avio_wl64</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, uint64_t val);</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#a9a88d79a1fc983c04a4e009b85361d54">avio_wb64</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, uint64_t val);</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#a16f2ba75f978a70f16dc55e2393f3439">avio_wl32</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#a1f2b9ee1bde6c6982072edbe929b47ea">avio_wb32</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#aa1ceef83bd4b74280f51eba321f70273">avio_wl24</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#a81a5cfb941abfe2b83a30be4f86ad06d">avio_wb24</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#a1ba843eb6d34706bbdd177a4256e71e2">avio_wl16</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#a21c2d7b7ddd7f31d24d278f8b3281ec3">avio_wb16</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> val);</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span> <span class="comment"></span></div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> <span class="comment"> * Write a NULL-terminated string.</span></div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <span class="comment"> * @return number of bytes written.</span></div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a1d2113a3b0d7015c415897d92bd441f3">avio_put_str</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span> <span class="comment"></span></div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span> <span class="comment"> * Convert an UTF-8 string to UTF-16LE and write it.</span></div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <span class="comment"> * @param s the AVIOContext</span></div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span> <span class="comment"> * @param str NULL-terminated UTF-8 string</span></div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span> <span class="comment"> * @return number of bytes written.</span></div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a4ff718da93c106f7ba48de1cb6b010c6">avio_put_str16le</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span> <span class="comment"></span></div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> <span class="comment"> * Convert an UTF-8 string to UTF-16BE and write it.</span></div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span> <span class="comment"> * @param s the AVIOContext</span></div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span> <span class="comment"> * @param str NULL-terminated UTF-8 string</span></div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span> <span class="comment"> * @return number of bytes written.</span></div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#acf3a933e43bd56dcf671a6bc0c897bda">avio_put_str16be</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span> <span class="comment"></span></div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> <span class="comment"> * Passing this as the "whence" parameter to a seek function causes it to</span></div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span> <span class="comment"> * return the filesize without seeking anywhere. Supporting this is optional.</span></div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <span class="comment"> * If it is not supported then the seek function will return <0.</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="avio_8h.html#a427ff2a881637b47ee7d7f9e368be63f"> 416</a></span> <span class="preprocessor">#define AVSEEK_SIZE 0x10000</span></div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> <span class="comment"> * Oring this flag as into the "whence" parameter to a seek function causes it to</span></div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> <span class="comment"> * seek by any means (like reopening and linear reading) or other normally unreasonable</span></div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span> <span class="comment"> * means that can be extremely slow.</span></div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span> <span class="comment"> * This may be ignored by the seek code.</span></div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="avio_8h.html#afc6af68de5304c6cea23a785c1f94cd5"> 424</a></span> <span class="preprocessor">#define AVSEEK_FORCE 0x20000</span></div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span> <span class="comment"> * fseek() equivalent for AVIOContext.</span></div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> <span class="comment"> * @return new position or AVERROR.</span></div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> int64_t <a class="code" href="avio_8h.html#a03e23bf0144030961c34e803c71f614f">avio_seek</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, int64_t offset, <span class="keywordtype">int</span> whence);</div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span> <span class="comment"></span></div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> <span class="comment"> * Skip given number of bytes forward</span></div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> <span class="comment"> * @return new position or AVERROR.</span></div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span> int64_t <a class="code" href="avio_8h.html#aa22e02f986ea8a8dc018f9615af27eea">avio_skip</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, int64_t offset);</div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span> <span class="comment"></span></div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> <span class="comment"> * ftell() equivalent for AVIOContext.</span></div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <span class="comment"> * @return position or AVERROR.</span></div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="avio_8h.html#a63157a668f29b8f5a89f00bc24838b8e"> 442</a></span> <span class="keyword">static</span> <a class="code" href="attributes_8h.html#a28f50f4c125959216885f01d56dbe866">av_always_inline</a> int64_t <a class="code" href="avio_8h.html#a63157a668f29b8f5a89f00bc24838b8e">avio_tell</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s)</div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span> {</div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  <span class="keywordflow">return</span> <a class="code" href="avio_8h.html#a03e23bf0144030961c34e803c71f614f">avio_seek</a>(s, 0, SEEK_CUR);</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span> }</div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span> <span class="comment"></span></div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span> <span class="comment"> * Get the filesize.</span></div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span> <span class="comment"> * @return filesize or AVERROR</span></div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span> int64_t <a class="code" href="avio_8h.html#a375f057e315dd2273579555128a070fb">avio_size</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> <span class="comment"></span></div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span> <span class="comment"> * feof() equivalent for AVIOContext.</span></div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span> <span class="comment"> * @return non zero if and only if end of file</span></div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a4db704ed3d00a4be632dad1585d01d92">avio_feof</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> <span class="preprocessor">#if FF_API_URL_FEOF</span></div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span> <span class="preprocessor"></span><span class="comment">/**</span></div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span> <span class="comment"> * @deprecated use avio_feof()</span></div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span> <a class="code" href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a></div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span> <span class="keywordtype">int</span> url_feof(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span> <span class="comment">/** @warning Writes up to 4 KiB per call */</span></div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a79127cec97b09a308b549253119ff38f">avio_printf</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...) <a class="code" href="attributes_8h.html#a4b078d4b8e02c0f452ee1dcaa7d983d3">av_printf_format</a>(2, 3);</div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span> <span class="comment"></span></div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> <span class="comment"> * Force flushing of buffered data.</span></div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span> <span class="comment"> * For write streams, force the buffered data to be immediately written to the output,</span></div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span> <span class="comment"> * without to wait to fill the internal buffer.</span></div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span> <span class="comment"> * For read streams, discard all currently buffered data, and advance the</span></div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> <span class="comment"> * reported file position to that of the underlying stream. This does not</span></div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span> <span class="comment"> * read new data, and does not perform any seeks.</span></div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span> <span class="keywordtype">void</span> <a class="code" href="avio_8h.html#a60ed6497a3fed8be0b3b688142e8f54c">avio_flush</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span> <span class="comment"></span></div>
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span> <span class="comment"> * Read size bytes from AVIOContext into buf.</span></div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span> <span class="comment"> * @return number of bytes read or AVERROR</span></div>
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#abb4e58439be0bff0dc2e2974ee5fb6a3">avio_read</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> size);</div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span> <span class="comment"></span></div>
<div class="line"><a name="l00487"></a><span class="lineno"> 487</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span> <span class="comment"> * @name Functions for reading from AVIOContext</span></div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span> <span class="comment"> * @{</span></div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span> <span class="comment"> * @note return 0 if EOF, so you cannot use it if EOF handling is</span></div>
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span> <span class="comment"> * necessary</span></div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#af0d12eeb9d701134d971b91b4083bb43">avio_r8</a> (<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00495"></a><span class="lineno"> 495</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a71a15b7c123789a03115af82021698fe">avio_rl16</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#ac3229b4447938b646e4ecbf25a594e8a">avio_rl24</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#abc91c5452c4d7b5da84021be3a9a3d70">avio_rl32</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span> uint64_t <a class="code" href="avio_8h.html#af60c7d8fdabc3667ead1fffd2fac7ad5">avio_rl64</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00499"></a><span class="lineno"> 499</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a383f5f7f7df5b6cc9b7949713a43cb37">avio_rb16</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00500"></a><span class="lineno"> 500</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#ae5f28c2379d309467db446d2fa03269b">avio_rb24</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00501"></a><span class="lineno"> 501</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#af089361fd70426624d19d436a10f87ad">avio_rb32</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00502"></a><span class="lineno"> 502</span> uint64_t <a class="code" href="avio_8h.html#a14d7da25344458b5f3aad11edb0f4918">avio_rb64</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);<span class="comment"></span></div>
<div class="line"><a name="l00503"></a><span class="lineno"> 503</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span> <span class="comment"> * @}</span></div>
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00506"></a><span class="lineno"> 506</span> <span class="comment"></span></div>
<div class="line"><a name="l00507"></a><span class="lineno"> 507</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00508"></a><span class="lineno"> 508</span> <span class="comment"> * Read a string from pb into buf. The reading will terminate when either</span></div>
<div class="line"><a name="l00509"></a><span class="lineno"> 509</span> <span class="comment"> * a NULL character was encountered, maxlen bytes have been read, or nothing</span></div>
<div class="line"><a name="l00510"></a><span class="lineno"> 510</span> <span class="comment"> * more can be read from pb. The result is guaranteed to be NULL-terminated, it</span></div>
<div class="line"><a name="l00511"></a><span class="lineno"> 511</span> <span class="comment"> * will be truncated if buf is too small.</span></div>
<div class="line"><a name="l00512"></a><span class="lineno"> 512</span> <span class="comment"> * Note that the string is not interpreted or validated in any way, it</span></div>
<div class="line"><a name="l00513"></a><span class="lineno"> 513</span> <span class="comment"> * might get truncated in the middle of a sequence for multi-byte encodings.</span></div>
<div class="line"><a name="l00514"></a><span class="lineno"> 514</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00515"></a><span class="lineno"> 515</span> <span class="comment"> * @return number of bytes read (is always <= maxlen).</span></div>
<div class="line"><a name="l00516"></a><span class="lineno"> 516</span> <span class="comment"> * If reading ends on EOF or error, the return value will be one more than</span></div>
<div class="line"><a name="l00517"></a><span class="lineno"> 517</span> <span class="comment"> * bytes actually read.</span></div>
<div class="line"><a name="l00518"></a><span class="lineno"> 518</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00519"></a><span class="lineno"> 519</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#abeee0414e5f2ce5b150cf9c5694a2e4f">avio_get_str</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *pb, <span class="keywordtype">int</span> maxlen, <span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> buflen);</div>
<div class="line"><a name="l00520"></a><span class="lineno"> 520</span> <span class="comment"></span></div>
<div class="line"><a name="l00521"></a><span class="lineno"> 521</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00522"></a><span class="lineno"> 522</span> <span class="comment"> * Read a UTF-16 string from pb and convert it to UTF-8.</span></div>
<div class="line"><a name="l00523"></a><span class="lineno"> 523</span> <span class="comment"> * The reading will terminate when either a null or invalid character was</span></div>
<div class="line"><a name="l00524"></a><span class="lineno"> 524</span> <span class="comment"> * encountered or maxlen bytes have been read.</span></div>
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span> <span class="comment"> * @return number of bytes read (is always <= maxlen)</span></div>
<div class="line"><a name="l00526"></a><span class="lineno"> 526</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00527"></a><span class="lineno"> 527</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a39507bbc53328eae98ac7d683078fcf1">avio_get_str16le</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *pb, <span class="keywordtype">int</span> maxlen, <span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> buflen);</div>
<div class="line"><a name="l00528"></a><span class="lineno"> 528</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a02be750099c47406eb68b50d75a01bdd">avio_get_str16be</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *pb, <span class="keywordtype">int</span> maxlen, <span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> buflen);</div>
<div class="line"><a name="l00529"></a><span class="lineno"> 529</span> </div>
<div class="line"><a name="l00530"></a><span class="lineno"> 530</span> <span class="comment"></span></div>
<div class="line"><a name="l00531"></a><span class="lineno"> 531</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00532"></a><span class="lineno"> 532</span> <span class="comment"> * @name URL open modes</span></div>
<div class="line"><a name="l00533"></a><span class="lineno"> 533</span> <span class="comment"> * The flags argument to avio_open must be one of the following</span></div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span> <span class="comment"> * constants, optionally ORed with other flags.</span></div>
<div class="line"><a name="l00535"></a><span class="lineno"> 535</span> <span class="comment"> * @{</span></div>
<div class="line"><a name="l00536"></a><span class="lineno"> 536</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00537"></a><span class="lineno"><a class="line" href="avio_8h.html#a21e61cb486bd1588eb7f775998cf8c77"> 537</a></span> <span class="preprocessor">#define AVIO_FLAG_READ 1 </span><span class="comment">/**< read-only */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="avio_8h.html#a5c9308f296545a8f3b7687d277a6dabc"> 538</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AVIO_FLAG_WRITE 2 </span><span class="comment">/**< write-only */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00539"></a><span class="lineno"><a class="line" href="avio_8h.html#aba7dc6a03cfe63d2a7e2c00532007eb2"> 539</a></span> <span class="preprocessor"></span><span class="preprocessor">#define AVIO_FLAG_READ_WRITE (AVIO_FLAG_READ|AVIO_FLAG_WRITE) </span><span class="comment">/**< read-write pseudo flag */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00540"></a><span class="lineno"> 540</span> <span class="preprocessor"></span><span class="comment">/**</span></div>
<div class="line"><a name="l00541"></a><span class="lineno"> 541</span> <span class="comment"> * @}</span></div>
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span> <span class="comment"></span></div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00545"></a><span class="lineno"> 545</span> <span class="comment"> * Use non-blocking mode.</span></div>
<div class="line"><a name="l00546"></a><span class="lineno"> 546</span> <span class="comment"> * If this flag is set, operations on the context will return</span></div>
<div class="line"><a name="l00547"></a><span class="lineno"> 547</span> <span class="comment"> * AVERROR(EAGAIN) if they can not be performed immediately.</span></div>
<div class="line"><a name="l00548"></a><span class="lineno"> 548</span> <span class="comment"> * If this flag is not set, operations on the context will never return</span></div>
<div class="line"><a name="l00549"></a><span class="lineno"> 549</span> <span class="comment"> * AVERROR(EAGAIN).</span></div>
<div class="line"><a name="l00550"></a><span class="lineno"> 550</span> <span class="comment"> * Note that this flag does not affect the opening/connecting of the</span></div>
<div class="line"><a name="l00551"></a><span class="lineno"> 551</span> <span class="comment"> * context. Connecting a protocol will always block if necessary (e.g. on</span></div>
<div class="line"><a name="l00552"></a><span class="lineno"> 552</span> <span class="comment"> * network protocols) but never hang (e.g. on busy devices).</span></div>
<div class="line"><a name="l00553"></a><span class="lineno"> 553</span> <span class="comment"> * Warning: non-blocking protocols is work-in-progress; this flag may be</span></div>
<div class="line"><a name="l00554"></a><span class="lineno"> 554</span> <span class="comment"> * silently ignored.</span></div>
<div class="line"><a name="l00555"></a><span class="lineno"> 555</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00556"></a><span class="lineno"><a class="line" href="avio_8h.html#aea3131c92c70177e463538e9a6b4308e"> 556</a></span> <span class="preprocessor">#define AVIO_FLAG_NONBLOCK 8</span></div>
<div class="line"><a name="l00557"></a><span class="lineno"> 557</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00558"></a><span class="lineno"> 558</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00559"></a><span class="lineno"> 559</span> <span class="comment"> * Use direct mode.</span></div>
<div class="line"><a name="l00560"></a><span class="lineno"> 560</span> <span class="comment"> * avio_read and avio_write should if possible be satisfied directly</span></div>
<div class="line"><a name="l00561"></a><span class="lineno"> 561</span> <span class="comment"> * instead of going through a buffer, and avio_seek will always</span></div>
<div class="line"><a name="l00562"></a><span class="lineno"> 562</span> <span class="comment"> * call the underlying seek function directly.</span></div>
<div class="line"><a name="l00563"></a><span class="lineno"> 563</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00564"></a><span class="lineno"><a class="line" href="avio_8h.html#ab48ea445f38c16d407cc56d00be0f6bb"> 564</a></span> <span class="preprocessor">#define AVIO_FLAG_DIRECT 0x8000</span></div>
<div class="line"><a name="l00565"></a><span class="lineno"> 565</span> <span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00566"></a><span class="lineno"> 566</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00567"></a><span class="lineno"> 567</span> <span class="comment"> * Create and initialize a AVIOContext for accessing the</span></div>
<div class="line"><a name="l00568"></a><span class="lineno"> 568</span> <span class="comment"> * resource indicated by url.</span></div>
<div class="line"><a name="l00569"></a><span class="lineno"> 569</span> <span class="comment"> * @note When the resource indicated by url has been opened in</span></div>
<div class="line"><a name="l00570"></a><span class="lineno"> 570</span> <span class="comment"> * read+write mode, the AVIOContext can be used only for writing.</span></div>
<div class="line"><a name="l00571"></a><span class="lineno"> 571</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00572"></a><span class="lineno"> 572</span> <span class="comment"> * @param s Used to return the pointer to the created AVIOContext.</span></div>
<div class="line"><a name="l00573"></a><span class="lineno"> 573</span> <span class="comment"> * In case of failure the pointed to value is set to NULL.</span></div>
<div class="line"><a name="l00574"></a><span class="lineno"> 574</span> <span class="comment"> * @param url resource to access</span></div>
<div class="line"><a name="l00575"></a><span class="lineno"> 575</span> <span class="comment"> * @param flags flags which control how the resource indicated by url</span></div>
<div class="line"><a name="l00576"></a><span class="lineno"> 576</span> <span class="comment"> * is to be opened</span></div>
<div class="line"><a name="l00577"></a><span class="lineno"> 577</span> <span class="comment"> * @return >= 0 in case of success, a negative value corresponding to an</span></div>
<div class="line"><a name="l00578"></a><span class="lineno"> 578</span> <span class="comment"> * AVERROR code in case of failure</span></div>
<div class="line"><a name="l00579"></a><span class="lineno"> 579</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00580"></a><span class="lineno"> 580</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a371a670112abc5f3e15bc570da076301">avio_open</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> **s, <span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keywordtype">int</span> flags);</div>
<div class="line"><a name="l00581"></a><span class="lineno"> 581</span> <span class="comment"></span></div>
<div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00583"></a><span class="lineno"> 583</span> <span class="comment"> * Create and initialize a AVIOContext for accessing the</span></div>
<div class="line"><a name="l00584"></a><span class="lineno"> 584</span> <span class="comment"> * resource indicated by url.</span></div>
<div class="line"><a name="l00585"></a><span class="lineno"> 585</span> <span class="comment"> * @note When the resource indicated by url has been opened in</span></div>
<div class="line"><a name="l00586"></a><span class="lineno"> 586</span> <span class="comment"> * read+write mode, the AVIOContext can be used only for writing.</span></div>
<div class="line"><a name="l00587"></a><span class="lineno"> 587</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00588"></a><span class="lineno"> 588</span> <span class="comment"> * @param s Used to return the pointer to the created AVIOContext.</span></div>
<div class="line"><a name="l00589"></a><span class="lineno"> 589</span> <span class="comment"> * In case of failure the pointed to value is set to NULL.</span></div>
<div class="line"><a name="l00590"></a><span class="lineno"> 590</span> <span class="comment"> * @param url resource to access</span></div>
<div class="line"><a name="l00591"></a><span class="lineno"> 591</span> <span class="comment"> * @param flags flags which control how the resource indicated by url</span></div>
<div class="line"><a name="l00592"></a><span class="lineno"> 592</span> <span class="comment"> * is to be opened</span></div>
<div class="line"><a name="l00593"></a><span class="lineno"> 593</span> <span class="comment"> * @param int_cb an interrupt callback to be used at the protocols level</span></div>
<div class="line"><a name="l00594"></a><span class="lineno"> 594</span> <span class="comment"> * @param options A dictionary filled with protocol-private options. On return</span></div>
<div class="line"><a name="l00595"></a><span class="lineno"> 595</span> <span class="comment"> * this parameter will be destroyed and replaced with a dict containing options</span></div>
<div class="line"><a name="l00596"></a><span class="lineno"> 596</span> <span class="comment"> * that were not found. May be NULL.</span></div>
<div class="line"><a name="l00597"></a><span class="lineno"> 597</span> <span class="comment"> * @return >= 0 in case of success, a negative value corresponding to an</span></div>
<div class="line"><a name="l00598"></a><span class="lineno"> 598</span> <span class="comment"> * AVERROR code in case of failure</span></div>
<div class="line"><a name="l00599"></a><span class="lineno"> 599</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00600"></a><span class="lineno"> 600</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#ade8a63980569494c99593ebf0d1e891b">avio_open2</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> **s, <span class="keyword">const</span> <span class="keywordtype">char</span> *url, <span class="keywordtype">int</span> flags,</div>
<div class="line"><a name="l00601"></a><span class="lineno"> 601</span>  <span class="keyword">const</span> <a class="code" href="structAVIOInterruptCB.html">AVIOInterruptCB</a> *int_cb, <a class="code" href="group__lavu__dict.html#ga1d7cc0833bee918994a600556410315f">AVDictionary</a> **options);</div>
<div class="line"><a name="l00602"></a><span class="lineno"> 602</span> <span class="comment"></span></div>
<div class="line"><a name="l00603"></a><span class="lineno"> 603</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00604"></a><span class="lineno"> 604</span> <span class="comment"> * Close the resource accessed by the AVIOContext s and free it.</span></div>
<div class="line"><a name="l00605"></a><span class="lineno"> 605</span> <span class="comment"> * This function can only be used if s was opened by avio_open().</span></div>
<div class="line"><a name="l00606"></a><span class="lineno"> 606</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00607"></a><span class="lineno"> 607</span> <span class="comment"> * The internal buffer is automatically flushed before closing the</span></div>
<div class="line"><a name="l00608"></a><span class="lineno"> 608</span> <span class="comment"> * resource.</span></div>
<div class="line"><a name="l00609"></a><span class="lineno"> 609</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00610"></a><span class="lineno"> 610</span> <span class="comment"> * @return 0 on success, an AVERROR < 0 on error.</span></div>
<div class="line"><a name="l00611"></a><span class="lineno"> 611</span> <span class="comment"> * @see avio_closep</span></div>
<div class="line"><a name="l00612"></a><span class="lineno"> 612</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00613"></a><span class="lineno"> 613</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#ad71cada104a5e4365d35d45669ea03ca">avio_close</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s);</div>
<div class="line"><a name="l00614"></a><span class="lineno"> 614</span> <span class="comment"></span></div>
<div class="line"><a name="l00615"></a><span class="lineno"> 615</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00616"></a><span class="lineno"> 616</span> <span class="comment"> * Close the resource accessed by the AVIOContext *s, free it</span></div>
<div class="line"><a name="l00617"></a><span class="lineno"> 617</span> <span class="comment"> * and set the pointer pointing to it to NULL.</span></div>
<div class="line"><a name="l00618"></a><span class="lineno"> 618</span> <span class="comment"> * This function can only be used if s was opened by avio_open().</span></div>
<div class="line"><a name="l00619"></a><span class="lineno"> 619</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00620"></a><span class="lineno"> 620</span> <span class="comment"> * The internal buffer is automatically flushed before closing the</span></div>
<div class="line"><a name="l00621"></a><span class="lineno"> 621</span> <span class="comment"> * resource.</span></div>
<div class="line"><a name="l00622"></a><span class="lineno"> 622</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00623"></a><span class="lineno"> 623</span> <span class="comment"> * @return 0 on success, an AVERROR < 0 on error.</span></div>
<div class="line"><a name="l00624"></a><span class="lineno"> 624</span> <span class="comment"> * @see avio_close</span></div>
<div class="line"><a name="l00625"></a><span class="lineno"> 625</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00626"></a><span class="lineno"> 626</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#ae118a1f37f1e48617609ead9910aac15">avio_closep</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> **s);</div>
<div class="line"><a name="l00627"></a><span class="lineno"> 627</span> </div>
<div class="line"><a name="l00628"></a><span class="lineno"> 628</span> <span class="comment"></span></div>
<div class="line"><a name="l00629"></a><span class="lineno"> 629</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00630"></a><span class="lineno"> 630</span> <span class="comment"> * Open a write only memory stream.</span></div>
<div class="line"><a name="l00631"></a><span class="lineno"> 631</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00632"></a><span class="lineno"> 632</span> <span class="comment"> * @param s new IO context</span></div>
<div class="line"><a name="l00633"></a><span class="lineno"> 633</span> <span class="comment"> * @return zero if no error.</span></div>
<div class="line"><a name="l00634"></a><span class="lineno"> 634</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00635"></a><span class="lineno"> 635</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#adb5259ad07633518173eaa47fe6575e2">avio_open_dyn_buf</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> **s);</div>
<div class="line"><a name="l00636"></a><span class="lineno"> 636</span> <span class="comment"></span></div>
<div class="line"><a name="l00637"></a><span class="lineno"> 637</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00638"></a><span class="lineno"> 638</span> <span class="comment"> * Return the written size and a pointer to the buffer. The buffer</span></div>
<div class="line"><a name="l00639"></a><span class="lineno"> 639</span> <span class="comment"> * must be freed with av_free().</span></div>
<div class="line"><a name="l00640"></a><span class="lineno"> 640</span> <span class="comment"> * Padding of AV_INPUT_BUFFER_PADDING_SIZE is added to the buffer.</span></div>
<div class="line"><a name="l00641"></a><span class="lineno"> 641</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00642"></a><span class="lineno"> 642</span> <span class="comment"> * @param s IO context</span></div>
<div class="line"><a name="l00643"></a><span class="lineno"> 643</span> <span class="comment"> * @param pbuffer pointer to a byte buffer</span></div>
<div class="line"><a name="l00644"></a><span class="lineno"> 644</span> <span class="comment"> * @return the length of the byte buffer</span></div>
<div class="line"><a name="l00645"></a><span class="lineno"> 645</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00646"></a><span class="lineno"> 646</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a8faed62ce72e7411cbea2356494af8ce">avio_close_dyn_buf</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, uint8_t **pbuffer);</div>
<div class="line"><a name="l00647"></a><span class="lineno"> 647</span> <span class="comment"></span></div>
<div class="line"><a name="l00648"></a><span class="lineno"> 648</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00649"></a><span class="lineno"> 649</span> <span class="comment"> * Iterate through names of available protocols.</span></div>
<div class="line"><a name="l00650"></a><span class="lineno"> 650</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00651"></a><span class="lineno"> 651</span> <span class="comment"> * @param opaque A private pointer representing current protocol.</span></div>
<div class="line"><a name="l00652"></a><span class="lineno"> 652</span> <span class="comment"> * It must be a pointer to NULL on first iteration and will</span></div>
<div class="line"><a name="l00653"></a><span class="lineno"> 653</span> <span class="comment"> * be updated by successive calls to avio_enum_protocols.</span></div>
<div class="line"><a name="l00654"></a><span class="lineno"> 654</span> <span class="comment"> * @param output If set to 1, iterate over output protocols,</span></div>
<div class="line"><a name="l00655"></a><span class="lineno"> 655</span> <span class="comment"> * otherwise over input protocols.</span></div>
<div class="line"><a name="l00656"></a><span class="lineno"> 656</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00657"></a><span class="lineno"> 657</span> <span class="comment"> * @return A static string containing the name of current protocol or NULL</span></div>
<div class="line"><a name="l00658"></a><span class="lineno"> 658</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00659"></a><span class="lineno"> 659</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="avio_8h.html#a50fda7362db877e8b9e493650c9e3fb3">avio_enum_protocols</a>(<span class="keywordtype">void</span> **opaque, <span class="keywordtype">int</span> output);</div>
<div class="line"><a name="l00660"></a><span class="lineno"> 660</span> <span class="comment"></span></div>
<div class="line"><a name="l00661"></a><span class="lineno"> 661</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00662"></a><span class="lineno"> 662</span> <span class="comment"> * Pause and resume playing - only meaningful if using a network streaming</span></div>
<div class="line"><a name="l00663"></a><span class="lineno"> 663</span> <span class="comment"> * protocol (e.g. MMS).</span></div>
<div class="line"><a name="l00664"></a><span class="lineno"> 664</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00665"></a><span class="lineno"> 665</span> <span class="comment"> * @param h IO context from which to call the read_pause function pointer</span></div>
<div class="line"><a name="l00666"></a><span class="lineno"> 666</span> <span class="comment"> * @param pause 1 for pause, 0 for resume</span></div>
<div class="line"><a name="l00667"></a><span class="lineno"> 667</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00668"></a><span class="lineno"> 668</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a1ac23b54d5f5bbfee4353978d313e472">avio_pause</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *h, <span class="keywordtype">int</span> pause);</div>
<div class="line"><a name="l00669"></a><span class="lineno"> 669</span> <span class="comment"></span></div>
<div class="line"><a name="l00670"></a><span class="lineno"> 670</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00671"></a><span class="lineno"> 671</span> <span class="comment"> * Seek to a given timestamp relative to some component stream.</span></div>
<div class="line"><a name="l00672"></a><span class="lineno"> 672</span> <span class="comment"> * Only meaningful if using a network streaming protocol (e.g. MMS.).</span></div>
<div class="line"><a name="l00673"></a><span class="lineno"> 673</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00674"></a><span class="lineno"> 674</span> <span class="comment"> * @param h IO context from which to call the seek function pointers</span></div>
<div class="line"><a name="l00675"></a><span class="lineno"> 675</span> <span class="comment"> * @param stream_index The stream index that the timestamp is relative to.</span></div>
<div class="line"><a name="l00676"></a><span class="lineno"> 676</span> <span class="comment"> * If stream_index is (-1) the timestamp should be in AV_TIME_BASE</span></div>
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span> <span class="comment"> * units from the beginning of the presentation.</span></div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span> <span class="comment"> * If a stream_index >= 0 is used and the protocol does not support</span></div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span> <span class="comment"> * seeking based on component streams, the call will fail.</span></div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span> <span class="comment"> * @param timestamp timestamp in AVStream.time_base units</span></div>
<div class="line"><a name="l00681"></a><span class="lineno"> 681</span> <span class="comment"> * or if there is no stream specified then in AV_TIME_BASE units.</span></div>
<div class="line"><a name="l00682"></a><span class="lineno"> 682</span> <span class="comment"> * @param flags Optional combination of AVSEEK_FLAG_BACKWARD, AVSEEK_FLAG_BYTE</span></div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span> <span class="comment"> * and AVSEEK_FLAG_ANY. The protocol may silently ignore</span></div>
<div class="line"><a name="l00684"></a><span class="lineno"> 684</span> <span class="comment"> * AVSEEK_FLAG_BACKWARD and AVSEEK_FLAG_ANY, but AVSEEK_FLAG_BYTE will</span></div>
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span> <span class="comment"> * fail if used and not supported.</span></div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span> <span class="comment"> * @return >= 0 on success</span></div>
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span> <span class="comment"> * @see AVInputFormat::read_seek</span></div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00689"></a><span class="lineno"> 689</span> int64_t <a class="code" href="avio_8h.html#adbdec54e1897c66b8c8bc43ce0063187">avio_seek_time</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *h, <span class="keywordtype">int</span> stream_index,</div>
<div class="line"><a name="l00690"></a><span class="lineno"> 690</span>  int64_t timestamp, <span class="keywordtype">int</span> flags);</div>
<div class="line"><a name="l00691"></a><span class="lineno"> 691</span> </div>
<div class="line"><a name="l00692"></a><span class="lineno"> 692</span> <span class="comment">/* Avoid a warning. The header can not be included because it breaks c++. */</span></div>
<div class="line"><a name="l00693"></a><span class="lineno"> 693</span> <span class="keyword">struct </span>AVBPrint;</div>
<div class="line"><a name="l00694"></a><span class="lineno"> 694</span> <span class="comment"></span></div>
<div class="line"><a name="l00695"></a><span class="lineno"> 695</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00696"></a><span class="lineno"> 696</span> <span class="comment"> * Read contents of h into print buffer, up to max_size bytes, or up to EOF.</span></div>
<div class="line"><a name="l00697"></a><span class="lineno"> 697</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00698"></a><span class="lineno"> 698</span> <span class="comment"> * @return 0 for success (max_size bytes read or EOF reached), negative error</span></div>
<div class="line"><a name="l00699"></a><span class="lineno"> 699</span> <span class="comment"> * code otherwise</span></div>
<div class="line"><a name="l00700"></a><span class="lineno"> 700</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00701"></a><span class="lineno"> 701</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#ae8ad73c8ea7e4a2a541e134f762793a6">avio_read_to_bprint</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *h, <span class="keyword">struct</span> AVBPrint *pb, <span class="keywordtype">size_t</span> max_size);</div>
<div class="line"><a name="l00702"></a><span class="lineno"> 702</span> <span class="comment"></span></div>
<div class="line"><a name="l00703"></a><span class="lineno"> 703</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00704"></a><span class="lineno"> 704</span> <span class="comment"> * Accept and allocate a client context on a server context.</span></div>
<div class="line"><a name="l00705"></a><span class="lineno"> 705</span> <span class="comment"> * @param s the server context</span></div>
<div class="line"><a name="l00706"></a><span class="lineno"> 706</span> <span class="comment"> * @param c the client context, must be unallocated</span></div>
<div class="line"><a name="l00707"></a><span class="lineno"> 707</span> <span class="comment"> * @return >= 0 on success or a negative value corresponding</span></div>
<div class="line"><a name="l00708"></a><span class="lineno"> 708</span> <span class="comment"> * to an AVERROR on failure</span></div>
<div class="line"><a name="l00709"></a><span class="lineno"> 709</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00710"></a><span class="lineno"> 710</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a8b215e623f0bfa7222c25370fa5f25ed">avio_accept</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *s, <a class="code" href="structAVIOContext.html">AVIOContext</a> **c);</div>
<div class="line"><a name="l00711"></a><span class="lineno"> 711</span> <span class="comment"></span></div>
<div class="line"><a name="l00712"></a><span class="lineno"> 712</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00713"></a><span class="lineno"> 713</span> <span class="comment"> * Perform one step of the protocol handshake to accept a new client.</span></div>
<div class="line"><a name="l00714"></a><span class="lineno"> 714</span> <span class="comment"> * This function must be called on a client returned by avio_accept() before</span></div>
<div class="line"><a name="l00715"></a><span class="lineno"> 715</span> <span class="comment"> * using it as a read/write context.</span></div>
<div class="line"><a name="l00716"></a><span class="lineno"> 716</span> <span class="comment"> * It is separate from avio_accept() because it may block.</span></div>
<div class="line"><a name="l00717"></a><span class="lineno"> 717</span> <span class="comment"> * A step of the handshake is defined by places where the application may</span></div>
<div class="line"><a name="l00718"></a><span class="lineno"> 718</span> <span class="comment"> * decide to change the proceedings.</span></div>
<div class="line"><a name="l00719"></a><span class="lineno"> 719</span> <span class="comment"> * For example, on a protocol with a request header and a reply header, each</span></div>
<div class="line"><a name="l00720"></a><span class="lineno"> 720</span> <span class="comment"> * one can constitute a step because the application may use the parameters</span></div>
<div class="line"><a name="l00721"></a><span class="lineno"> 721</span> <span class="comment"> * from the request to change parameters in the reply; or each individual</span></div>
<div class="line"><a name="l00722"></a><span class="lineno"> 722</span> <span class="comment"> * chunk of the request can constitute a step.</span></div>
<div class="line"><a name="l00723"></a><span class="lineno"> 723</span> <span class="comment"> * If the handshake is already finished, avio_handshake() does nothing and</span></div>
<div class="line"><a name="l00724"></a><span class="lineno"> 724</span> <span class="comment"> * returns 0 immediately.</span></div>
<div class="line"><a name="l00725"></a><span class="lineno"> 725</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00726"></a><span class="lineno"> 726</span> <span class="comment"> * @param c the client context to perform the handshake on</span></div>
<div class="line"><a name="l00727"></a><span class="lineno"> 727</span> <span class="comment"> * @return 0 on a complete and successful handshake</span></div>
<div class="line"><a name="l00728"></a><span class="lineno"> 728</span> <span class="comment"> * > 0 if the handshake progressed, but is not complete</span></div>
<div class="line"><a name="l00729"></a><span class="lineno"> 729</span> <span class="comment"> * < 0 for an AVERROR code</span></div>
<div class="line"><a name="l00730"></a><span class="lineno"> 730</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00731"></a><span class="lineno"> 731</span> <span class="keywordtype">int</span> <a class="code" href="avio_8h.html#a0ae35a9c4eee41a0c7cdcc07252d8ed3">avio_handshake</a>(<a class="code" href="structAVIOContext.html">AVIOContext</a> *c);</div>
<div class="line"><a name="l00732"></a><span class="lineno"> 732</span> <span class="preprocessor">#endif </span><span class="comment">/* AVFORMAT_AVIO_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="avio_8h_html_a371a670112abc5f3e15bc570da076301"><div class="ttname"><a href="avio_8h.html#a371a670112abc5f3e15bc570da076301">avio_open</a></div><div class="ttdeci">int avio_open(AVIOContext **s, const char *url, int flags)</div><div class="ttdoc">Create and initialize a AVIOContext for accessing the resource indicated by url. </div></div>
<div class="ttc" id="avio_8h_html_a9a88d79a1fc983c04a4e009b85361d54"><div class="ttname"><a href="avio_8h.html#a9a88d79a1fc983c04a4e009b85361d54">avio_wb64</a></div><div class="ttdeci">void avio_wb64(AVIOContext *s, uint64_t val)</div></div>
<div class="ttc" id="avio_8h_html_a1ba843eb6d34706bbdd177a4256e71e2"><div class="ttname"><a href="avio_8h.html#a1ba843eb6d34706bbdd177a4256e71e2">avio_wl16</a></div><div class="ttdeci">void avio_wl16(AVIOContext *s, unsigned int val)</div></div>
<div class="ttc" id="structAVIOContext_html"><div class="ttname"><a href="structAVIOContext.html">AVIOContext</a></div><div class="ttdoc">Bytestream IO Context. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00111">avio.h:111</a></div></div>
<div class="ttc" id="avio_8h_html_a375f057e315dd2273579555128a070fb"><div class="ttname"><a href="avio_8h.html#a375f057e315dd2273579555128a070fb">avio_size</a></div><div class="ttdeci">int64_t avio_size(AVIOContext *s)</div><div class="ttdoc">Get the filesize. </div></div>
<div class="ttc" id="structAVIOContext_html_a991d282ed4776fe71b438c68e289ef3e"><div class="ttname"><a href="structAVIOContext.html#a991d282ed4776fe71b438c68e289ef3e">AVIOContext::read_seek</a></div><div class="ttdeci">int64_t(* read_seek)(void *opaque, int stream_index, int64_t timestamp, int flags)</div><div class="ttdoc">Seek to a given timestamp in stream with the specified stream_index. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00202">avio.h:202</a></div></div>
<div class="ttc" id="avio_8h_html_a5cf1a4a2055dec6bb6b7acd82fcb0d18"><div class="ttname"><a href="avio_8h.html#a5cf1a4a2055dec6bb6b7acd82fcb0d18">avpriv_io_delete</a></div><div class="ttdeci">int avpriv_io_delete(const char *url)</div><div class="ttdoc">Delete a resource. </div></div>
<div class="ttc" id="avio_8h_html_acf3a933e43bd56dcf671a6bc0c897bda"><div class="ttname"><a href="avio_8h.html#acf3a933e43bd56dcf671a6bc0c897bda">avio_put_str16be</a></div><div class="ttdeci">int avio_put_str16be(AVIOContext *s, const char *str)</div><div class="ttdoc">Convert an UTF-8 string to UTF-16BE and write it. </div></div>
<div class="ttc" id="avio_8h_html_a8faed62ce72e7411cbea2356494af8ce"><div class="ttname"><a href="avio_8h.html#a8faed62ce72e7411cbea2356494af8ce">avio_close_dyn_buf</a></div><div class="ttdeci">int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer)</div><div class="ttdoc">Return the written size and a pointer to the buffer. </div></div>
<div class="ttc" id="structAVIODirEntry_html_afebceb6dac39b4c5ec00eca13e2cacd3"><div class="ttname"><a href="structAVIODirEntry.html#afebceb6dac39b4c5ec00eca13e2cacd3">AVIODirEntry::filemode</a></div><div class="ttdeci">int64_t filemode</div><div class="ttdoc">Unix file mode, -1 if unknown. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00092">avio.h:92</a></div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faa8b33d9a7f0316f61642a9d20ff1963fd"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa8b33d9a7f0316f61642a9d20ff1963fd">AVIO_ENTRY_SERVER</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00067">avio.h:67</a></div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faa9d66503948cd5fb104f78a746c36ad19"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa9d66503948cd5fb104f78a746c36ad19">AVIO_ENTRY_SYMBOLIC_LINK</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00064">avio.h:64</a></div></div>
<div class="ttc" id="structAVIOContext_html_a3500915a7434270c42dffc80fafffa2d"><div class="ttname"><a href="structAVIOContext.html#a3500915a7434270c42dffc80fafffa2d">AVIOContext::buf_ptr</a></div><div class="ttdeci">unsigned char * buf_ptr</div><div class="ttdoc">Current position in the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00174">avio.h:174</a></div></div>
<div class="ttc" id="structAVIOContext_html_ac027eace34bf1dbcab5f71b0806d1c8a"><div class="ttname"><a href="structAVIOContext.html#ac027eace34bf1dbcab5f71b0806d1c8a">AVIOContext::writeout_count</a></div><div class="ttdeci">int writeout_count</div><div class="ttdoc">writeout statistic This field is internal to libavformat and access from outside is not allowed...</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00238">avio.h:238</a></div></div>
<div class="ttc" id="structAVIOContext_html_a0683d1a134b647c54f6d087d152c9a64"><div class="ttname"><a href="structAVIOContext.html#a0683d1a134b647c54f6d087d152c9a64">AVIOContext::buf_end</a></div><div class="ttdeci">unsigned char * buf_end</div><div class="ttdoc">End of the data, may be less than buffer+buffer_size if the read function returned less data than req...</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00175">avio.h:175</a></div></div>
<div class="ttc" id="structAVIOContext_html_aab6ff8baf51038f1557e817717baccba"><div class="ttname"><a href="structAVIOContext.html#aab6ff8baf51038f1557e817717baccba">AVIOContext::write_flag</a></div><div class="ttdeci">int write_flag</div><div class="ttdoc">true if open for writing </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00187">avio.h:187</a></div></div>
<div class="ttc" id="avio_8h_html_ae8ad73c8ea7e4a2a541e134f762793a6"><div class="ttname"><a href="avio_8h.html#ae8ad73c8ea7e4a2a541e134f762793a6">avio_read_to_bprint</a></div><div class="ttdeci">int avio_read_to_bprint(AVIOContext *h, struct AVBPrint *pb, size_t max_size)</div><div class="ttdoc">Read contents of h into print buffer, up to max_size bytes, or up to EOF. </div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faa6357c355f9f895a515a8ffd215b5d383"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa6357c355f9f895a515a8ffd215b5d383">AVIO_ENTRY_WORKGROUP</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00069">avio.h:69</a></div></div>
<div class="ttc" id="structAVIODirEntry_html"><div class="ttname"><a href="structAVIODirEntry.html">AVIODirEntry</a></div><div class="ttdoc">Describes single entry of the directory. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00078">avio.h:78</a></div></div>
<div class="ttc" id="avio_8h_html_a03e23bf0144030961c34e803c71f614f"><div class="ttname"><a href="avio_8h.html#a03e23bf0144030961c34e803c71f614f">avio_seek</a></div><div class="ttdeci">int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)</div><div class="ttdoc">fseek() equivalent for AVIOContext. </div></div>
<div class="ttc" id="structAVIOContext_html_a901e8fd2b978d40957c4ed0b77c2daf0"><div class="ttname"><a href="structAVIOContext.html#a901e8fd2b978d40957c4ed0b77c2daf0">AVIOContext::buffer</a></div><div class="ttdeci">unsigned char * buffer</div><div class="ttdoc">Start of the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00172">avio.h:172</a></div></div>
<div class="ttc" id="avio_8h_html_aa22e02f986ea8a8dc018f9615af27eea"><div class="ttname"><a href="avio_8h.html#aa22e02f986ea8a8dc018f9615af27eea">avio_skip</a></div><div class="ttdeci">int64_t avio_skip(AVIOContext *s, int64_t offset)</div><div class="ttdoc">Skip given number of bytes forward. </div></div>
<div class="ttc" id="structAVIOContext_html_a0b4f06675c3ea2df5b455bd3334244fe"><div class="ttname"><a href="structAVIOContext.html#a0b4f06675c3ea2df5b455bd3334244fe">AVIOContext::seek</a></div><div class="ttdeci">int64_t(* seek)(void *opaque, int64_t offset, int whence)</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00183">avio.h:183</a></div></div>
<div class="ttc" id="structAVIOContext_html_afa97c079a10a48588f7b55f9dfff1e47"><div class="ttname"><a href="structAVIOContext.html#afa97c079a10a48588f7b55f9dfff1e47">AVIOContext::opaque</a></div><div class="ttdeci">void * opaque</div><div class="ttdoc">A private pointer, passed to the read/write/seek/... </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00179">avio.h:179</a></div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faa93302e48d86ab18cdd183499f1d4c144"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa93302e48d86ab18cdd183499f1d4c144">AVIO_ENTRY_SHARE</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00068">avio.h:68</a></div></div>
<div class="ttc" id="avio_8h_html_a383f5f7f7df5b6cc9b7949713a43cb37"><div class="ttname"><a href="avio_8h.html#a383f5f7f7df5b6cc9b7949713a43cb37">avio_rb16</a></div><div class="ttdeci">unsigned int avio_rb16(AVIOContext *s)</div></div>
<div class="ttc" id="structAVIOContext_html_a33e387aeb28b7a352c62ba8c30a214e7"><div class="ttname"><a href="structAVIOContext.html#a33e387aeb28b7a352c62ba8c30a214e7">AVIOContext::maxsize</a></div><div class="ttdeci">int64_t maxsize</div><div class="ttdoc">max filesize, used to limit allocations This field is internal to libavformat and access from outside...</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00213">avio.h:213</a></div></div>
<div class="ttc" id="avio_8h_html_a39507bbc53328eae98ac7d683078fcf1"><div class="ttname"><a href="avio_8h.html#a39507bbc53328eae98ac7d683078fcf1">avio_get_str16le</a></div><div class="ttdeci">int avio_get_str16le(AVIOContext *pb, int maxlen, char *buf, int buflen)</div><div class="ttdoc">Read a UTF-16 string from pb and convert it to UTF-8. </div></div>
<div class="ttc" id="avio_8h_html_adb5259ad07633518173eaa47fe6575e2"><div class="ttname"><a href="avio_8h.html#adb5259ad07633518173eaa47fe6575e2">avio_open_dyn_buf</a></div><div class="ttdeci">int avio_open_dyn_buf(AVIOContext **s)</div><div class="ttdoc">Open a write only memory stream. </div></div>
<div class="ttc" id="structAVIOInterruptCB_html_a873ae56fef71d27dca1088dfd55c2197"><div class="ttname"><a href="structAVIOInterruptCB.html#a873ae56fef71d27dca1088dfd55c2197">AVIOInterruptCB::opaque</a></div><div class="ttdeci">void * opaque</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00052">avio.h:52</a></div></div>
<div class="ttc" id="structAVIODirEntry_html_adbf0f163a9b4bae0fcce8c86240f8852"><div class="ttname"><a href="structAVIODirEntry.html#adbf0f163a9b4bae0fcce8c86240f8852">AVIODirEntry::modification_timestamp</a></div><div class="ttdeci">int64_t modification_timestamp</div><div class="ttdoc">Time of last modification in microseconds since unix epoch, -1 if unknown. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00084">avio.h:84</a></div></div>
<div class="ttc" id="dict_8h_html"><div class="ttname"><a href="dict_8h.html">dict.h</a></div><div class="ttdoc">Public dictionary API. </div></div>
<div class="ttc" id="avio_8h_html_a8b215e623f0bfa7222c25370fa5f25ed"><div class="ttname"><a href="avio_8h.html#a8b215e623f0bfa7222c25370fa5f25ed">avio_accept</a></div><div class="ttdeci">int avio_accept(AVIOContext *s, AVIOContext **c)</div><div class="ttdoc">Accept and allocate a client context on a server context. </div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faac05d4180a01efe6150b3688b17039a41"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faac05d4180a01efe6150b3688b17039a41">AVIO_ENTRY_FILE</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00066">avio.h:66</a></div></div>
<div class="ttc" id="avio_8h_html_a16f2ba75f978a70f16dc55e2393f3439"><div class="ttname"><a href="avio_8h.html#a16f2ba75f978a70f16dc55e2393f3439">avio_wl32</a></div><div class="ttdeci">void avio_wl32(AVIOContext *s, unsigned int val)</div></div>
<div class="ttc" id="avio_8h_html_af089361fd70426624d19d436a10f87ad"><div class="ttname"><a href="avio_8h.html#af089361fd70426624d19d436a10f87ad">avio_rb32</a></div><div class="ttdeci">unsigned int avio_rb32(AVIOContext *s)</div></div>
<div class="ttc" id="structAVIOContext_html_a25d3b039ac00850a25d7b772566db6a8"><div class="ttname"><a href="structAVIOContext.html#a25d3b039ac00850a25d7b772566db6a8">AVIOContext::av_class</a></div><div class="ttdeci">const AVClass * av_class</div><div class="ttdoc">A class for private options. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00124">avio.h:124</a></div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faa50f1bab52a8e512d72cda10de23919c8"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa50f1bab52a8e512d72cda10de23919c8">AVIO_ENTRY_NAMED_PIPE</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00063">avio.h:63</a></div></div>
<div class="ttc" id="structAVIOContext_html_a2685da68190c842c028ec161ff2b563e"><div class="ttname"><a href="structAVIOContext.html#a2685da68190c842c028ec161ff2b563e">AVIOContext::bytes_read</a></div><div class="ttdeci">int64_t bytes_read</div><div class="ttdoc">Bytes read statistic This field is internal to libavformat and access from outside is not allowed...</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00226">avio.h:226</a></div></div>
<div class="ttc" id="avio_8h_html_a14d7da25344458b5f3aad11edb0f4918"><div class="ttname"><a href="avio_8h.html#a14d7da25344458b5f3aad11edb0f4918">avio_rb64</a></div><div class="ttdeci">uint64_t avio_rb64(AVIOContext *s)</div></div>
<div class="ttc" id="avio_8h_html_a63157a668f29b8f5a89f00bc24838b8e"><div class="ttname"><a href="avio_8h.html#a63157a668f29b8f5a89f00bc24838b8e">avio_tell</a></div><div class="ttdeci">static av_always_inline int64_t avio_tell(AVIOContext *s)</div><div class="ttdoc">ftell() equivalent for AVIOContext. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00442">avio.h:442</a></div></div>
<div class="ttc" id="avio_8h_html_acc3626afc6aa3964b75d02811457164e"><div class="ttname"><a href="avio_8h.html#acc3626afc6aa3964b75d02811457164e">avio_write</a></div><div class="ttdeci">void avio_write(AVIOContext *s, const unsigned char *buf, int size)</div></div>
<div class="ttc" id="avio_8h_html_abb4e58439be0bff0dc2e2974ee5fb6a3"><div class="ttname"><a href="avio_8h.html#abb4e58439be0bff0dc2e2974ee5fb6a3">avio_read</a></div><div class="ttdeci">int avio_read(AVIOContext *s, unsigned char *buf, int size)</div><div class="ttdoc">Read size bytes from AVIOContext into buf. </div></div>
<div class="ttc" id="avio_8h_html_aa4006f7b803e4d104231734a23b35ab7"><div class="ttname"><a href="avio_8h.html#aa4006f7b803e4d104231734a23b35ab7">avio_check</a></div><div class="ttdeci">int avio_check(const char *url, int flags)</div><div class="ttdoc">Return AVIO_FLAG_* access flags corresponding to the access permissions of the resource in url...</div></div>
<div class="ttc" id="avio_8h_html_a09510d3318eda871f8b91693e2774425"><div class="ttname"><a href="avio_8h.html#a09510d3318eda871f8b91693e2774425">avio_wl64</a></div><div class="ttdeci">void avio_wl64(AVIOContext *s, uint64_t val)</div></div>
<div class="ttc" id="structAVIOContext_html_aca19990941933d7573a485851c6b798e"><div class="ttname"><a href="structAVIOContext.html#aca19990941933d7573a485851c6b798e">AVIOContext::max_packet_size</a></div><div class="ttdeci">int max_packet_size</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00188">avio.h:188</a></div></div>
<div class="ttc" id="structAVIOInterruptCB_html"><div class="ttname"><a href="structAVIOInterruptCB.html">AVIOInterruptCB</a></div><div class="ttdoc">Callback for checking whether to abort blocking functions. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00050">avio.h:50</a></div></div>
<div class="ttc" id="avio_8h_html_a853f5149136a27ffba3207d8520172a5"><div class="ttname"><a href="avio_8h.html#a853f5149136a27ffba3207d8520172a5">avio_alloc_context</a></div><div class="ttdeci">AVIOContext * avio_alloc_context(unsigned char *buffer, int buffer_size, int write_flag, void *opaque, int(*read_packet)(void *opaque, uint8_t *buf, int buf_size), int(*write_packet)(void *opaque, uint8_t *buf, int buf_size), int64_t(*seek)(void *opaque, int64_t offset, int whence))</div><div class="ttdoc">Allocate and initialize an AVIOContext for buffered I/O. </div></div>
<div class="ttc" id="structAVIODirEntry_html_ac318bb2fb814386a2c8b9f8810150968"><div class="ttname"><a href="structAVIODirEntry.html#ac318bb2fb814386a2c8b9f8810150968">AVIODirEntry::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">Filename. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00079">avio.h:79</a></div></div>
<div class="ttc" id="structAVIOContext_html_ac1f448eea818eed8231336c087d9f257"><div class="ttname"><a href="structAVIOContext.html#ac1f448eea818eed8231336c087d9f257">AVIOContext::write_packet</a></div><div class="ttdeci">int(* write_packet)(void *opaque, uint8_t *buf, int buf_size)</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00182">avio.h:182</a></div></div>
<div class="ttc" id="structAVIOInterruptCB_html_aaa0292879cfd9099620952ed72344725"><div class="ttname"><a href="structAVIOInterruptCB.html#aaa0292879cfd9099620952ed72344725">AVIOInterruptCB::callback</a></div><div class="ttdeci">int(* callback)(void *)</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00051">avio.h:51</a></div></div>
<div class="ttc" id="structAVIOContext_html_a89930f812df15d2d0108f9b65392fc00"><div class="ttname"><a href="structAVIOContext.html#a89930f812df15d2d0108f9b65392fc00">AVIOContext::read_packet</a></div><div class="ttdeci">int(* read_packet)(void *opaque, uint8_t *buf, int buf_size)</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00181">avio.h:181</a></div></div>
<div class="ttc" id="avio_8h_html_abc91c5452c4d7b5da84021be3a9a3d70"><div class="ttname"><a href="avio_8h.html#abc91c5452c4d7b5da84021be3a9a3d70">avio_rl32</a></div><div class="ttdeci">unsigned int avio_rl32(AVIOContext *s)</div></div>
<div class="ttc" id="avio_8h_html_a50fda7362db877e8b9e493650c9e3fb3"><div class="ttname"><a href="avio_8h.html#a50fda7362db877e8b9e493650c9e3fb3">avio_enum_protocols</a></div><div class="ttdeci">const char * avio_enum_protocols(void **opaque, int output)</div><div class="ttdoc">Iterate through names of available protocols. </div></div>
<div class="ttc" id="avio_8h_html_ad71cada104a5e4365d35d45669ea03ca"><div class="ttname"><a href="avio_8h.html#ad71cada104a5e4365d35d45669ea03ca">avio_close</a></div><div class="ttdeci">int avio_close(AVIOContext *s)</div><div class="ttdoc">Close the resource accessed by the AVIOContext s and free it. </div></div>
<div class="ttc" id="group__lavu__dict_html_ga1d7cc0833bee918994a600556410315f"><div class="ttname"><a href="group__lavu__dict.html#ga1d7cc0833bee918994a600556410315f">AVDictionary</a></div><div class="ttdeci">struct AVDictionary AVDictionary</div><div class="ttdef"><b>Definition:</b> <a href="dict_8h_source.html#l00091">dict.h:91</a></div></div>
<div class="ttc" id="structAVIODirEntry_html_adac43a980b06d1733d0fa7eb710264c9"><div class="ttname"><a href="structAVIODirEntry.html#adac43a980b06d1733d0fa7eb710264c9">AVIODirEntry::utf8</a></div><div class="ttdeci">int utf8</div><div class="ttdoc">Set to 1 when name is encoded with UTF-8, 0 otherwise. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00081">avio.h:81</a></div></div>
<div class="ttc" id="structAVIOContext_html_a574dffd7a2101c2b41fb5fd051f501a0"><div class="ttname"><a href="structAVIOContext.html#a574dffd7a2101c2b41fb5fd051f501a0">AVIOContext::protocol_whitelist</a></div><div class="ttdeci">const char * protocol_whitelist</div><div class="ttdoc">',' separated list of allowed protocols. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00256">avio.h:256</a></div></div>
<div class="ttc" id="structAVIOContext_html_a949cd6dbd89e2d5d59f5c768754004ca"><div class="ttname"><a href="structAVIOContext.html#a949cd6dbd89e2d5d59f5c768754004ca">AVIOContext::checksum</a></div><div class="ttdeci">unsigned long checksum</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00189">avio.h:189</a></div></div>
<div class="ttc" id="structAVIOContext_html_af719be70947f5f8eebaa5f8ac58fd306"><div class="ttname"><a href="structAVIOContext.html#af719be70947f5f8eebaa5f8ac58fd306">AVIOContext::direct</a></div><div class="ttdeci">int direct</div><div class="ttdoc">avio_read and avio_write should if possible be satisfied directly instead of going through a buffer...</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00220">avio.h:220</a></div></div>
<div class="ttc" id="attributes_8h_html_a4b078d4b8e02c0f452ee1dcaa7d983d3"><div class="ttname"><a href="attributes_8h.html#a4b078d4b8e02c0f452ee1dcaa7d983d3">av_printf_format</a></div><div class="ttdeci">#define av_printf_format(fmtpos, attrpos)</div><div class="ttdef"><b>Definition:</b> <a href="attributes_8h_source.html#l00156">attributes.h:156</a></div></div>
<div class="ttc" id="structAVIOContext_html_a38b3c122a21fc2271e3174342e87a79f"><div class="ttname"><a href="structAVIOContext.html#a38b3c122a21fc2271e3174342e87a79f">AVIOContext::seek_count</a></div><div class="ttdeci">int seek_count</div><div class="ttdoc">seek statistic This field is internal to libavformat and access from outside is not allowed...</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00232">avio.h:232</a></div></div>
<div class="ttc" id="avio_8h_html_af0d12eeb9d701134d971b91b4083bb43"><div class="ttname"><a href="avio_8h.html#af0d12eeb9d701134d971b91b4083bb43">avio_r8</a></div><div class="ttdeci">int avio_r8(AVIOContext *s)</div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faaa4e8174e86d09fd519fdda87dd413ccf"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faaa4e8174e86d09fd519fdda87dd413ccf">AVIO_ENTRY_DIRECTORY</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00062">avio.h:62</a></div></div>
<div class="ttc" id="structAVIOContext_html_a0e3c41c290b38923880b9cccb669bf78"><div class="ttname"><a href="structAVIOContext.html#a0e3c41c290b38923880b9cccb669bf78">AVIOContext::seekable</a></div><div class="ttdeci">int seekable</div><div class="ttdoc">A combination of AVIO_SEEKABLE_ flags or 0 when the stream is not seekable. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00207">avio.h:207</a></div></div>
<div class="ttc" id="avio_8h_html_a60ed6497a3fed8be0b3b688142e8f54c"><div class="ttname"><a href="avio_8h.html#a60ed6497a3fed8be0b3b688142e8f54c">avio_flush</a></div><div class="ttdeci">int void avio_flush(AVIOContext *s)</div><div class="ttdoc">Force flushing of buffered data. </div></div>
<div class="ttc" id="avio_8h_html_ae5f28c2379d309467db446d2fa03269b"><div class="ttname"><a href="avio_8h.html#ae5f28c2379d309467db446d2fa03269b">avio_rb24</a></div><div class="ttdeci">unsigned int avio_rb24(AVIOContext *s)</div></div>
<div class="ttc" id="avio_8h_html_aa0b5fe2c2243b25f770b1049a710861f"><div class="ttname"><a href="avio_8h.html#aa0b5fe2c2243b25f770b1049a710861f">avio_free_directory_entry</a></div><div class="ttdeci">void avio_free_directory_entry(AVIODirEntry **entry)</div><div class="ttdoc">Free entry allocated by avio_read_dir(). </div></div>
<div class="ttc" id="structAVIODirEntry_html_a48066fb5b7af54a64b0b87c4e8fe0fab"><div class="ttname"><a href="structAVIODirEntry.html#a48066fb5b7af54a64b0b87c4e8fe0fab">AVIODirEntry::access_timestamp</a></div><div class="ttdeci">int64_t access_timestamp</div><div class="ttdoc">Time of last access in microseconds since unix epoch, -1 if unknown. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00086">avio.h:86</a></div></div>
<div class="ttc" id="structAVIOContext_html_a10cbe217c46aeb653d360a9391aff310"><div class="ttname"><a href="structAVIOContext.html#a10cbe217c46aeb653d360a9391aff310">AVIOContext::checksum_ptr</a></div><div class="ttdeci">unsigned char * checksum_ptr</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00190">avio.h:190</a></div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faaa6fabb2ac2b94287358b30291555f4fe"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faaa6fabb2ac2b94287358b30291555f4fe">AVIO_ENTRY_CHARACTER_DEVICE</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00061">avio.h:61</a></div></div>
<div class="ttc" id="avio_8h_html_a81a5cfb941abfe2b83a30be4f86ad06d"><div class="ttname"><a href="avio_8h.html#a81a5cfb941abfe2b83a30be4f86ad06d">avio_wb24</a></div><div class="ttdeci">void avio_wb24(AVIOContext *s, unsigned int val)</div></div>
<div class="ttc" id="structAVIOContext_html_a06e6f0186fcf571355cee82e837dc339"><div class="ttname"><a href="structAVIOContext.html#a06e6f0186fcf571355cee82e837dc339">AVIOContext::must_flush</a></div><div class="ttdeci">int must_flush</div><div class="ttdoc">true if the next seek should flush </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00185">avio.h:185</a></div></div>
<div class="ttc" id="libavformat_2version_8h_html"><div class="ttname"><a href="libavformat_2version_8h.html">version.h</a></div><div class="ttdoc">Libavformat version macros. </div></div>
<div class="ttc" id="structAVIOContext_html_a1f4226d3cfdda9f379397dbfb94f7d12"><div class="ttname"><a href="structAVIOContext.html#a1f4226d3cfdda9f379397dbfb94f7d12">AVIOContext::update_checksum</a></div><div class="ttdeci">unsigned long(* update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size)</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00191">avio.h:191</a></div></div>
<div class="ttc" id="structAVIODirEntry_html_ab1caef8258ac2d327a40acfac50305ab"><div class="ttname"><a href="structAVIODirEntry.html#ab1caef8258ac2d327a40acfac50305ab">AVIODirEntry::size</a></div><div class="ttdeci">int64_t size</div><div class="ttdoc">File size in bytes, -1 if unknown. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00083">avio.h:83</a></div></div>
<div class="ttc" id="structAVIOContext_html_a0204148f407d72becba822b90e8ce9a6"><div class="ttname"><a href="structAVIOContext.html#a0204148f407d72becba822b90e8ce9a6">AVIOContext::buffer_size</a></div><div class="ttdeci">int buffer_size</div><div class="ttdoc">Maximum buffer size. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00173">avio.h:173</a></div></div>
<div class="ttc" id="structAVIODirContext_html"><div class="ttname"><a href="structAVIODirContext.html">AVIODirContext</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00095">avio.h:95</a></div></div>
<div class="ttc" id="avio_8h_html_aecf2411971807a60d7a20e517151a0e9"><div class="ttname"><a href="avio_8h.html#aecf2411971807a60d7a20e517151a0e9">avpriv_io_move</a></div><div class="ttdeci">int avpriv_io_move(const char *url_src, const char *url_dst)</div><div class="ttdoc">Move or rename a resource. </div></div>
<div class="ttc" id="avio_8h_html_a1d2113a3b0d7015c415897d92bd441f3"><div class="ttname"><a href="avio_8h.html#a1d2113a3b0d7015c415897d92bd441f3">avio_put_str</a></div><div class="ttdeci">int avio_put_str(AVIOContext *s, const char *str)</div><div class="ttdoc">Write a NULL-terminated string. </div></div>
<div class="ttc" id="avio__reading_8c_html_a3a86bff38e7cb9093d0a32316b73b29c"><div class="ttname"><a href="avio__reading_8c.html#a3a86bff38e7cb9093d0a32316b73b29c">read_packet</a></div><div class="ttdeci">static int read_packet(void *opaque, uint8_t *buf, int buf_size)</div><div class="ttdef"><b>Definition:</b> <a href="avio__reading_8c_source.html#l00042">avio_reading.c:42</a></div></div>
<div class="ttc" id="structAVIODirEntry_html_a45f4401b8f0d4fd3f8f94721a4b64e95"><div class="ttname"><a href="structAVIODirEntry.html#a45f4401b8f0d4fd3f8f94721a4b64e95">AVIODirEntry::type</a></div><div class="ttdeci">int type</div><div class="ttdoc">Type of the entry. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00080">avio.h:80</a></div></div>
<div class="ttc" id="avio_8h_html_a1dddee2b73f4dd6512ac9821cf5adc18"><div class="ttname"><a href="avio_8h.html#a1dddee2b73f4dd6512ac9821cf5adc18">avio_w8</a></div><div class="ttdeci">void avio_w8(AVIOContext *s, int b)</div></div>
<div class="ttc" id="structAVClass_html"><div class="ttname"><a href="structAVClass.html">AVClass</a></div><div class="ttdoc">Describe the class of an AVClass context structure. </div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00067">log.h:67</a></div></div>
<div class="ttc" id="structAVIODirEntry_html_ab216aad5f996681f498158cc82803fe2"><div class="ttname"><a href="structAVIODirEntry.html#ab216aad5f996681f498158cc82803fe2">AVIODirEntry::group_id</a></div><div class="ttdeci">int64_t group_id</div><div class="ttdoc">Group ID of owner, -1 if unknown. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00091">avio.h:91</a></div></div>
<div class="ttc" id="avio_8h_html_a612d7e4aede364861a728c18383714c2"><div class="ttname"><a href="avio_8h.html#a612d7e4aede364861a728c18383714c2">avio_find_protocol_name</a></div><div class="ttdeci">const char * avio_find_protocol_name(const char *url)</div><div class="ttdoc">Return the name of the protocol that will handle the passed URL. </div></div>
<div class="ttc" id="avio_8h_html_a4ff718da93c106f7ba48de1cb6b010c6"><div class="ttname"><a href="avio_8h.html#a4ff718da93c106f7ba48de1cb6b010c6">avio_put_str16le</a></div><div class="ttdeci">int avio_put_str16le(AVIOContext *s, const char *str)</div><div class="ttdoc">Convert an UTF-8 string to UTF-16LE and write it. </div></div>
<div class="ttc" id="avio_8h_html_ade8a63980569494c99593ebf0d1e891b"><div class="ttname"><a href="avio_8h.html#ade8a63980569494c99593ebf0d1e891b">avio_open2</a></div><div class="ttdeci">int avio_open2(AVIOContext **s, const char *url, int flags, const AVIOInterruptCB *int_cb, AVDictionary **options)</div><div class="ttdoc">Create and initialize a AVIOContext for accessing the resource indicated by url. </div></div>
<div class="ttc" id="structAVIOContext_html_a9f82e8f4ffb1ba689bab08592c468298"><div class="ttname"><a href="structAVIOContext.html#a9f82e8f4ffb1ba689bab08592c468298">AVIOContext::short_seek_threshold</a></div><div class="ttdeci">int short_seek_threshold</div><div class="ttdoc">Threshold to favor readahead over seek. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00251">avio.h:251</a></div></div>
<div class="ttc" id="avio_8h_html_a0ae35a9c4eee41a0c7cdcc07252d8ed3"><div class="ttname"><a href="avio_8h.html#a0ae35a9c4eee41a0c7cdcc07252d8ed3">avio_handshake</a></div><div class="ttdeci">int avio_handshake(AVIOContext *c)</div><div class="ttdoc">Perform one step of the protocol handshake to accept a new client. </div></div>
<div class="ttc" id="avio_8h_html_a62ef5c196ebb93427470e098e22268c5"><div class="ttname"><a href="avio_8h.html#a62ef5c196ebb93427470e098e22268c5">avio_close_dir</a></div><div class="ttdeci">int avio_close_dir(AVIODirContext **s)</div><div class="ttdoc">Close directory. </div></div>
<div class="ttc" id="structAVIOContext_html_afb903b1d9614bfb59e8cc5213de3777b"><div class="ttname"><a href="structAVIOContext.html#afb903b1d9614bfb59e8cc5213de3777b">AVIOContext::error</a></div><div class="ttdeci">int error</div><div class="ttdoc">contains the error code or 0 if no error happened </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00192">avio.h:192</a></div></div>
<div class="ttc" id="avio_8h_html_aa1ceef83bd4b74280f51eba321f70273"><div class="ttname"><a href="avio_8h.html#aa1ceef83bd4b74280f51eba321f70273">avio_wl24</a></div><div class="ttdeci">void avio_wl24(AVIOContext *s, unsigned int val)</div></div>
<div class="ttc" id="avio_8h_html_a1ac23b54d5f5bbfee4353978d313e472"><div class="ttname"><a href="avio_8h.html#a1ac23b54d5f5bbfee4353978d313e472">avio_pause</a></div><div class="ttdeci">int avio_pause(AVIOContext *h, int pause)</div><div class="ttdoc">Pause and resume playing - only meaningful if using a network streaming protocol (e.g. </div></div>
<div class="ttc" id="structAVIOContext_html_ae757bb339926f29541871870c0701be4"><div class="ttname"><a href="structAVIOContext.html#ae757bb339926f29541871870c0701be4">AVIOContext::read_pause</a></div><div class="ttdeci">int(* read_pause)(void *opaque, int pause)</div><div class="ttdoc">Pause or resume playback for network streaming protocols - e.g. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00196">avio.h:196</a></div></div>
<div class="ttc" id="avio_8h_html_a21c2d7b7ddd7f31d24d278f8b3281ec3"><div class="ttname"><a href="avio_8h.html#a21c2d7b7ddd7f31d24d278f8b3281ec3">avio_wb16</a></div><div class="ttdeci">void avio_wb16(AVIOContext *s, unsigned int val)</div></div>
<div class="ttc" id="attributes_8h_html_aa6d076561d3a9eea4729ee632652de02"><div class="ttname"><a href="attributes_8h.html#aa6d076561d3a9eea4729ee632652de02">attribute_deprecated</a></div><div class="ttdeci">#define attribute_deprecated</div><div class="ttdef"><b>Definition:</b> <a href="attributes_8h_source.html#l00094">attributes.h:94</a></div></div>
<div class="ttc" id="structAVIOContext_html_a167eec001560f151e6ae0ebb4e2fd0fa"><div class="ttname"><a href="structAVIOContext.html#a167eec001560f151e6ae0ebb4e2fd0fa">AVIOContext::orig_buffer_size</a></div><div class="ttdeci">int orig_buffer_size</div><div class="ttdoc">Original buffer size used internally after probing and ensure seekback to reset the buffer size This ...</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00245">avio.h:245</a></div></div>
<div class="ttc" id="avio_8h_html_a71a15b7c123789a03115af82021698fe"><div class="ttname"><a href="avio_8h.html#a71a15b7c123789a03115af82021698fe">avio_rl16</a></div><div class="ttdeci">unsigned int avio_rl16(AVIOContext *s)</div></div>
<div class="ttc" id="common_8h_html"><div class="ttname"><a href="common_8h.html">common.h</a></div><div class="ttdoc">common internal and external API header </div></div>
<div class="ttc" id="avio_8h_html_a02be750099c47406eb68b50d75a01bdd"><div class="ttname"><a href="avio_8h.html#a02be750099c47406eb68b50d75a01bdd">avio_get_str16be</a></div><div class="ttdeci">int avio_get_str16be(AVIOContext *pb, int maxlen, char *buf, int buflen)</div></div>
<div class="ttc" id="structAVIODirEntry_html_aa39ec74a8aaf27ea312da86a905d4293"><div class="ttname"><a href="structAVIODirEntry.html#aa39ec74a8aaf27ea312da86a905d4293">AVIODirEntry::status_change_timestamp</a></div><div class="ttdeci">int64_t status_change_timestamp</div><div class="ttdoc">Time of last status change in microseconds since unix epoch, -1 if unknown. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00088">avio.h:88</a></div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8fa"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8fa">AVIODirEntryType</a></div><div class="ttdeci">AVIODirEntryType</div><div class="ttdoc">Directory entry types. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00058">avio.h:58</a></div></div>
<div class="ttc" id="structAVIOContext_html_a7158ec9b44d75704ea5c2fa5ac28fd50"><div class="ttname"><a href="structAVIOContext.html#a7158ec9b44d75704ea5c2fa5ac28fd50">AVIOContext::pos</a></div><div class="ttdeci">int64_t pos</div><div class="ttdoc">position in the file of the current buffer </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00184">avio.h:184</a></div></div>
<div class="ttc" id="avio_8h_html_adbdec54e1897c66b8c8bc43ce0063187"><div class="ttname"><a href="avio_8h.html#adbdec54e1897c66b8c8bc43ce0063187">avio_seek_time</a></div><div class="ttdeci">int64_t avio_seek_time(AVIOContext *h, int stream_index, int64_t timestamp, int flags)</div><div class="ttdoc">Seek to a given timestamp relative to some component stream. </div></div>
<div class="ttc" id="avio_8h_html_addb214cfa43621ca164b14d9932af2bb"><div class="ttname"><a href="avio_8h.html#addb214cfa43621ca164b14d9932af2bb">avio_read_dir</a></div><div class="ttdeci">int avio_read_dir(AVIODirContext *s, AVIODirEntry **next)</div><div class="ttdoc">Get next directory entry. </div></div>
<div class="ttc" id="structAVIOContext_html_aa9214f54c01f07076e0a0718b2e9c27b"><div class="ttname"><a href="structAVIOContext.html#aa9214f54c01f07076e0a0718b2e9c27b">AVIOContext::eof_reached</a></div><div class="ttdeci">int eof_reached</div><div class="ttdoc">true if eof reached </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00186">avio.h:186</a></div></div>
<div class="ttc" id="structAVIODirEntry_html_a0b85319602d578b0db7d90bf9cb5d33d"><div class="ttname"><a href="structAVIODirEntry.html#a0b85319602d578b0db7d90bf9cb5d33d">AVIODirEntry::user_id</a></div><div class="ttdeci">int64_t user_id</div><div class="ttdoc">User ID of owner, -1 if unknown. </div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00090">avio.h:90</a></div></div>
<div class="ttc" id="log_8h_html"><div class="ttname"><a href="log_8h.html">log.h</a></div></div>
<div class="ttc" id="avio_8h_html_a7bb596b33ba395e488af6c0c21ca00d5"><div class="ttname"><a href="avio_8h.html#a7bb596b33ba395e488af6c0c21ca00d5">avio_open_dir</a></div><div class="ttdeci">int avio_open_dir(AVIODirContext **s, const char *url, AVDictionary **options)</div><div class="ttdoc">Open directory for reading. </div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faaef29e40d14ed3f01420981aceb7165d3"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faaef29e40d14ed3f01420981aceb7165d3">AVIO_ENTRY_SOCKET</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00065">avio.h:65</a></div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faa94369ed08fb8fb538f66d0bc4afb87a0"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa94369ed08fb8fb538f66d0bc4afb87a0">AVIO_ENTRY_BLOCK_DEVICE</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00060">avio.h:60</a></div></div>
<div class="ttc" id="avio_8h_html_a1f2b9ee1bde6c6982072edbe929b47ea"><div class="ttname"><a href="avio_8h.html#a1f2b9ee1bde6c6982072edbe929b47ea">avio_wb32</a></div><div class="ttdeci">void avio_wb32(AVIOContext *s, unsigned int val)</div></div>
<div class="ttc" id="attributes_8h_html_a28f50f4c125959216885f01d56dbe866"><div class="ttname"><a href="attributes_8h.html#a28f50f4c125959216885f01d56dbe866">av_always_inline</a></div><div class="ttdeci">#define av_always_inline</div><div class="ttdef"><b>Definition:</b> <a href="attributes_8h_source.html#l00039">attributes.h:39</a></div></div>
<div class="ttc" id="avio_8h_html_abeee0414e5f2ce5b150cf9c5694a2e4f"><div class="ttname"><a href="avio_8h.html#abeee0414e5f2ce5b150cf9c5694a2e4f">avio_get_str</a></div><div class="ttdeci">int avio_get_str(AVIOContext *pb, int maxlen, char *buf, int buflen)</div><div class="ttdoc">Read a string from pb into buf. </div></div>
<div class="ttc" id="avio_8h_html_a4db704ed3d00a4be632dad1585d01d92"><div class="ttname"><a href="avio_8h.html#a4db704ed3d00a4be632dad1585d01d92">avio_feof</a></div><div class="ttdeci">int avio_feof(AVIOContext *s)</div><div class="ttdoc">feof() equivalent for AVIOContext. </div></div>
<div class="ttc" id="avio_8h_html_ac3229b4447938b646e4ecbf25a594e8a"><div class="ttname"><a href="avio_8h.html#ac3229b4447938b646e4ecbf25a594e8a">avio_rl24</a></div><div class="ttdeci">unsigned int avio_rl24(AVIOContext *s)</div></div>
<div class="ttc" id="avio_8h_html_ae8a759e02fd6f14d13511b0e2acbf8faa159374019fec997c911704bc9f4913fc"><div class="ttname"><a href="avio_8h.html#ae8a759e02fd6f14d13511b0e2acbf8faa159374019fec997c911704bc9f4913fc">AVIO_ENTRY_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00059">avio.h:59</a></div></div>
<div class="ttc" id="structAVIODirContext_html_a10cfa45d4d4a2c5e3c9ff50c4702815d"><div class="ttname"><a href="structAVIODirContext.html#a10cfa45d4d4a2c5e3c9ff50c4702815d">AVIODirContext::url_context</a></div><div class="ttdeci">struct URLContext * url_context</div><div class="ttdef"><b>Definition:</b> <a href="avio_8h_source.html#l00096">avio.h:96</a></div></div>
<div class="ttc" id="avio_8h_html_ae118a1f37f1e48617609ead9910aac15"><div class="ttname"><a href="avio_8h.html#ae118a1f37f1e48617609ead9910aac15">avio_closep</a></div><div class="ttdeci">int avio_closep(AVIOContext **s)</div><div class="ttdoc">Close the resource accessed by the AVIOContext *s, free it and set the pointer pointing to it to NULL...</div></div>
<div class="ttc" id="avio_8h_html_af60c7d8fdabc3667ead1fffd2fac7ad5"><div class="ttname"><a href="avio_8h.html#af60c7d8fdabc3667ead1fffd2fac7ad5">avio_rl64</a></div><div class="ttdeci">uint64_t avio_rl64(AVIOContext *s)</div></div>
<div class="ttc" id="avio_8h_html_a79127cec97b09a308b549253119ff38f"><div class="ttname"><a href="avio_8h.html#a79127cec97b09a308b549253119ff38f">avio_printf</a></div><div class="ttdeci">int avio_printf(AVIOContext *s, const char *fmt,...) av_printf_format(2</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>