Generate SDK documents for commit 6dbcf27f82
This commit is contained in:
parent
fc57af70e2
commit
aaff277f59
|
@ -372,7 +372,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:43 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:48 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -145,7 +145,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:39 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -104,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -152,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -121,7 +121,7 @@ uint32_t </td><td class="memItemRight" valign="bottom"><b>height</b></td></
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -155,7 +155,7 @@ void </td><td class="memItemRight" valign="bottom"><b>Reset</b> () override
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -291,7 +291,7 @@ bool </td><td class="memItemRight" valign="bottom"><b>webm_subsample_encryp
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -160,7 +160,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -285,7 +285,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -220,7 +220,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -318,7 +318,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -182,7 +182,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:43 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:48 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -215,7 +215,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:39 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -258,7 +258,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:39 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -248,7 +248,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -237,7 +237,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -131,7 +131,7 @@ int64_t </td><td class="memItemRight" valign="bottom"><b>GetFramesToTarget<
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -143,7 +143,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:39 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -438,7 +438,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -197,7 +197,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:43 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:48 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -188,7 +188,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:43 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:48 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -112,7 +112,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -302,7 +302,7 @@ static const <a class="el" href="../../d0/d93/classshaka_1_1media_1_1Status.html
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -186,7 +186,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -329,7 +329,7 @@ static const size_t </td><td class="memItemRight" valign="bottom"><a class=
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -294,7 +294,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:39 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -209,7 +209,7 @@ void </td><td class="memItemRight" valign="bottom"><b>set_progress_target</
|
|||
|
||||
<p>Implements <a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a7ab68d898343b322dc32c08ad42e859c">shaka::media::mp4::Segmenter</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="../../de/d1e/mp4_2single__segment__segmenter_8cc_source.html#l00063">63</a> of file <a class="el" href="../../de/d1e/mp4_2single__segment__segmenter_8cc_source.html">single_segment_segmenter.cc</a>.</p>
|
||||
<p>Definition at line <a class="el" href="../../de/d1e/mp4_2single__segment__segmenter_8cc_source.html#l00043">43</a> of file <a class="el" href="../../de/d1e/mp4_2single__segment__segmenter_8cc_source.html">single_segment_segmenter.cc</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -248,7 +248,7 @@ void </td><td class="memItemRight" valign="bottom"><b>set_progress_target</
|
|||
|
||||
<p>Implements <a class="el" href="../../d9/d26/classshaka_1_1media_1_1mp4_1_1Segmenter.html#a3a1c6721aa53a124af8be50bb3f7599c">shaka::media::mp4::Segmenter</a>.</p>
|
||||
|
||||
<p>Definition at line <a class="el" href="../../de/d1e/mp4_2single__segment__segmenter_8cc_source.html#l00056">56</a> of file <a class="el" href="../../de/d1e/mp4_2single__segment__segmenter_8cc_source.html">single_segment_segmenter.cc</a>.</p>
|
||||
<p>Definition at line <a class="el" href="../../de/d1e/mp4_2single__segment__segmenter_8cc_source.html#l00036">36</a> of file <a class="el" href="../../de/d1e/mp4_2single__segment__segmenter_8cc_source.html">single_segment_segmenter.cc</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -259,7 +259,7 @@ void </td><td class="memItemRight" valign="bottom"><b>set_progress_target</
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -480,7 +480,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -0,0 +1,112 @@
|
|||
<!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>DASH Media Packaging SDK: media/file/file_util.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">DASH Media Packaging SDK
|
||||
</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="../../namespaces.html"><span>Namespaces</span></a></li>
|
||||
<li><a href="../../annotated.html"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="../../files.html"><span>Files</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>
|
||||
</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>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</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></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_39dc0668bd5a501998f94e8b4e546c71.html">media</a></li><li class="navelem"><a class="el" href="../../dir_279fd47bebb21302c25cfb685e84c359.html">file</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">file_util.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright 2016 Google Inc. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Use of this source code is governed by a BSD-style</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// license that can be found in the LICENSE file or at</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// https://developers.google.com/open-source/licenses/bsd</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <string></span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">namespace </span>shaka {</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keywordtype">bool</span> <a class="code" href="../../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62">TempFilePath</a>(<span class="keyword">const</span> std::string& temp_dir, std::string* temp_file_path);</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> } <span class="comment">// namespace shaka</span></div>
|
||||
<div class="ttc" id="namespaceshaka_html_a66e7e156c1f83435fb6c130803e48f62"><div class="ttname"><a href="../../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62">shaka::TempFilePath</a></div><div class="ttdeci">bool TempFilePath(const std::string &temp_dir, std::string *temp_file_path)</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d2b/file__util_8cc_source.html#l00027">file_util.cc:27</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK 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>
|
|
@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -114,7 +114,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:50 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -224,7 +224,7 @@ Static Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -173,7 +173,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -222,7 +222,7 @@ Static Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -205,7 +205,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -165,7 +165,7 @@ AES_KEY * </td><td class="memItemRight" valign="bottom"><b>mutable_aes_key<
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -216,7 +216,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -337,7 +337,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:39 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -120,7 +120,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:43 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:48 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -376,7 +376,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -242,7 +242,7 @@ int </td><td class="memItemRight" valign="bottom"><b>chroma_array_type</b><
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -256,7 +256,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -239,7 +239,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -95,216 +95,196 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "packager/media/formats/webm/two_pass_single_segment_segmenter.h"</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <inttypes.h></span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <openssl/err.h></span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <openssl/rand.h></span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <algorithm></span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "packager/base/files/file_path.h"</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "packager/base/strings/stringprintf.h"</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "packager/base/threading/platform_thread.h"</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "packager/base/time/time.h"</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "packager/media/base/media_sample.h"</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "packager/media/base/media_stream.h"</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "packager/media/base/muxer_options.h"</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "packager/media/base/stream_info.h"</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "packager/third_party/libwebm/src/mkvmuxer.hpp"</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "packager/third_party/libwebm/src/mkvmuxerutil.hpp"</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "packager/third_party/libwebm/src/webmids.hpp"</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span>shaka {</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span>media {</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span>webm {</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span>{</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// Cues will be inserted before clusters. All clusters will be shifted down by</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// the size of cues. However, cluster positions affect the size of cues. This</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">// function adjusts cues size iteratively until it is stable.</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// Returns the size of updated Cues.</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> uint64_t UpdateCues(mkvmuxer::Cues* cues) {</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  uint64_t cues_size = cues->Size();</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  uint64_t adjustment = cues_size;</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">while</span> (adjustment != 0) {</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < cues->cue_entries_size(); ++i) {</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  mkvmuxer::CuePoint* cue = cues->GetCueByIndex(i);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  cue->set_cluster_pos(cue->cluster_pos() + adjustment);</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <algorithm></span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "packager/media/base/media_sample.h"</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "packager/media/base/media_stream.h"</span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "packager/media/base/muxer_options.h"</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "packager/media/base/stream_info.h"</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "packager/media/file/file_util.h"</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "packager/third_party/libwebm/src/mkvmuxer.hpp"</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "packager/third_party/libwebm/src/mkvmuxerutil.hpp"</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "packager/third_party/libwebm/src/webmids.hpp"</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">namespace </span>shaka {</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">namespace </span>media {</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span>webm {</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span>{</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">// Cues will be inserted before clusters. All clusters will be shifted down by</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// the size of cues. However, cluster positions affect the size of cues. This</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// function adjusts cues size iteratively until it is stable.</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// Returns the size of updated Cues.</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> uint64_t UpdateCues(mkvmuxer::Cues* cues) {</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  uint64_t cues_size = cues->Size();</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  uint64_t adjustment = cues_size;</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">while</span> (adjustment != 0) {</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < cues->cue_entries_size(); ++i) {</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  mkvmuxer::CuePoint* cue = cues->GetCueByIndex(i);</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  cue->set_cluster_pos(cue->cluster_pos() + adjustment);</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  }</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  uint64_t new_cues_size = cues->Size();</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  DCHECK_LE(cues_size, new_cues_size);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  adjustment = new_cues_size - cues_size;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  cues_size = new_cues_size;</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">return</span> cues_size;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  uint64_t new_cues_size = cues->Size();</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  DCHECK_LE(cues_size, new_cues_size);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  adjustment = new_cues_size - cues_size;</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  cues_size = new_cues_size;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  }</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">return</span> cues_size;</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> }</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> std::string TempFileName(<span class="keyword">const</span> MuxerOptions& options) {</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// TODO: Move to a common util function and remove other uses.</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  int32_t tid = <span class="keyword">static_cast<</span>int32_t<span class="keyword">></span>(base::PlatformThread::CurrentId());</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  int64_t rand = 0;</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">if</span> (RAND_bytes(reinterpret_cast<uint8_t*>(&rand), <span class="keyword">sizeof</span>(rand)) != 1) {</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  LOG(WARNING) << <span class="stringliteral">"RAND_bytes failed with error: "</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  << ERR_error_string(ERR_get_error(), NULL);</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  rand = base::Time::Now().ToInternalValue();</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  }</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  std::string file_prefix =</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  base::StringPrintf(<span class="stringliteral">"packager-tempfile-%x-%"</span> PRIx64 <span class="stringliteral">".tmp"</span>, tid, rand);</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> base::FilePath::FromUTF8Unsafe(options.temp_dir).Append(</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  base::FilePath::FromUTF8Unsafe(file_prefix)).AsUTF8Unsafe();</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> }</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment">// Skips a given number of bytes in a file by reading. This allows</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment">// forward-seeking in non-seekable files.</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keywordtype">bool</span> ReadSkip(File* file, int64_t byte_count) {</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">const</span> int64_t kBufferSize = 0x40000; <span class="comment">// 256KB.</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  std::unique_ptr<char[]> buffer(<span class="keyword">new</span> <span class="keywordtype">char</span>[kBufferSize]);</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  int64_t bytes_read = 0;</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">while</span> (bytes_read < byte_count) {</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  int64_t size = std::min(kBufferSize, byte_count - bytes_read);</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  int64_t result = file->Read(buffer.get(), size);</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// Only give success if there are no errors, not at EOF, and read exactly</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// byte_count bytes.</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">if</span> (result <= 0)</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  bytes_read += result;</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  DCHECK_EQ(bytes_read, byte_count);</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> }</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> } <span class="comment">// namespace</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> TwoPassSingleSegmentSegmenter::TwoPassSingleSegmentSegmenter(</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">const</span> MuxerOptions& options)</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  : SingleSegmentSegmenter(options) {}</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> TwoPassSingleSegmentSegmenter::~TwoPassSingleSegmentSegmenter() {}</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> Status TwoPassSingleSegmentSegmenter::DoInitialize(</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  std::unique_ptr<MkvWriter> writer) {</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="comment">// Assume the amount of time to copy the temp file as the same amount</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// of time as to make it.</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  set_progress_target(info()->duration() * 2);</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  real_writer_ = std::move(writer);</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  temp_file_name_ = TempFileName(options());</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  std::unique_ptr<MkvWriter> temp(<span class="keyword">new</span> MkvWriter);</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  Status status = temp->Open(temp_file_name_);</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">if</span> (!status.ok())</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">return</span> status;</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> SingleSegmentSegmenter::DoInitialize(std::move(temp));</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> }</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> Status TwoPassSingleSegmentSegmenter::DoFinalize() {</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">if</span> (!cluster()->Finalize())</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error finalizing cluster."</span>);</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">const</span> uint64_t header_size = init_end() + 1;</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">const</span> uint64_t cues_pos = header_size - segment_payload_pos();</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">const</span> uint64_t cues_size = UpdateCues(cues());</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  seek_head()->set_cues_pos(cues_pos);</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  seek_head()->set_cluster_pos(cues_pos + cues_size);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// Skips a given number of bytes in a file by reading. This allows</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">// forward-seeking in non-seekable files.</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keywordtype">bool</span> ReadSkip(File* file, int64_t byte_count) {</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">const</span> int64_t kBufferSize = 0x40000; <span class="comment">// 256KB.</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  std::unique_ptr<char[]> buffer(<span class="keyword">new</span> <span class="keywordtype">char</span>[kBufferSize]);</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  int64_t bytes_read = 0;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">while</span> (bytes_read < byte_count) {</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  int64_t size = std::min(kBufferSize, byte_count - bytes_read);</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  int64_t result = file->Read(buffer.get(), size);</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// Only give success if there are no errors, not at EOF, and read exactly</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// byte_count bytes.</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">if</span> (result <= 0)</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  bytes_read += result;</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  }</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  DCHECK_EQ(bytes_read, byte_count);</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> }</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> } <span class="comment">// namespace</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> TwoPassSingleSegmentSegmenter::TwoPassSingleSegmentSegmenter(</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">const</span> MuxerOptions& options)</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  : SingleSegmentSegmenter(options) {}</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> TwoPassSingleSegmentSegmenter::~TwoPassSingleSegmentSegmenter() {}</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> Status TwoPassSingleSegmentSegmenter::DoInitialize(</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  std::unique_ptr<MkvWriter> writer) {</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">// Assume the amount of time to copy the temp file as the same amount</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// of time as to make it.</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  set_progress_target(info()->duration() * 2);</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  real_writer_ = std::move(writer);</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">if</span> (!<a class="code" href="../../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62">TempFilePath</a>(options().temp_dir, &temp_file_name_))</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Unable to create temporary file."</span>);</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  std::unique_ptr<MkvWriter> temp(<span class="keyword">new</span> MkvWriter);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  Status status = temp->Open(temp_file_name_);</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">if</span> (!status.ok())</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">return</span> status;</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">return</span> SingleSegmentSegmenter::DoInitialize(std::move(temp));</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> }</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> Status TwoPassSingleSegmentSegmenter::DoFinalize() {</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span> (!cluster()->Finalize())</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error finalizing cluster."</span>);</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">const</span> uint64_t header_size = init_end() + 1;</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">const</span> uint64_t cues_pos = header_size - segment_payload_pos();</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">const</span> uint64_t cues_size = UpdateCues(cues());</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  seek_head()->set_cues_pos(cues_pos);</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  seek_head()->set_cluster_pos(cues_pos + cues_size);</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// Write the header to the real output file.</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">const</span> uint64_t file_size = writer()-><a class="code" href="../../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a468dcd83a7c087cc83e755703488e92b">Position</a>() + cues_size;</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  Status temp = WriteSegmentHeader(file_size, real_writer_.get());</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">if</span> (!temp.ok())</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> temp;</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  DCHECK_EQ(real_writer_->Position(), <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(header_size));</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// Write the cues to the real output file.</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  set_index_start(real_writer_->Position());</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">if</span> (!cues()->Write(real_writer_.get()))</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error writing Cues data."</span>);</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  set_index_end(real_writer_->Position() - 1);</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  DCHECK_EQ(real_writer_->Position(),</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(segment_payload_pos() + cues_pos + cues_size));</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// Close the temp file and open it for reading.</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  set_writer(std::unique_ptr<MkvWriter>());</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  std::unique_ptr<File, FileCloser> temp_reader(</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4">File::Open</a>(temp_file_name_.c_str(), <span class="stringliteral">"r"</span>));</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">if</span> (!temp_reader)</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error opening temp file."</span>);</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// Write the header to the real output file.</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">const</span> uint64_t file_size = writer()-><a class="code" href="../../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a468dcd83a7c087cc83e755703488e92b">Position</a>() + cues_size;</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  Status temp = WriteSegmentHeader(file_size, real_writer_.get());</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">if</span> (!temp.ok())</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span> temp;</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  DCHECK_EQ(real_writer_->Position(), <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(header_size));</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="comment">// Write the cues to the real output file.</span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  set_index_start(real_writer_->Position());</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">if</span> (!cues()->Write(real_writer_.get()))</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error writing Cues data."</span>);</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  set_index_end(real_writer_->Position() - 1);</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  DCHECK_EQ(real_writer_->Position(),</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(segment_payload_pos() + cues_pos + cues_size));</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="comment">// Close the temp file and open it for reading.</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  set_writer(std::unique_ptr<MkvWriter>());</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  std::unique_ptr<File, FileCloser> temp_reader(</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4">File::Open</a>(temp_file_name_.c_str(), <span class="stringliteral">"r"</span>));</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">if</span> (!temp_reader)</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error opening temp file."</span>);</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="comment">// Skip the header that has already been written.</span></div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">if</span> (!ReadSkip(temp_reader.get(), header_size))</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error reading temp file."</span>);</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="comment">// Copy the rest of the data over.</span></div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">if</span> (!CopyFileWithClusterRewrite(temp_reader.get(), real_writer_.get(),</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  cluster()->Size())) {</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error copying temp file."</span>);</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  }</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="comment">// Close and delete the temp file.</span></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  temp_reader.reset();</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">if</span> (!<a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#a92cdfd68e6384dfcc14c78b20c98368e">File::Delete</a>(temp_file_name_.c_str())) {</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  LOG(WARNING) << <span class="stringliteral">"Unable to delete temporary file "</span> << temp_file_name_;</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  }</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">return</span> real_writer_->Close();</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> }</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keywordtype">bool</span> TwoPassSingleSegmentSegmenter::CopyFileWithClusterRewrite(</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  File* source,</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  MkvWriter* dest,</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  uint64_t last_size) {</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_id_size = mkvmuxer::GetUIntSize(mkvmuxer::kMkvCluster);</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_size_size = 8; <span class="comment">// The size of the Cluster size integer.</span></div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_header_size = cluster_id_size + cluster_size_size;</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="comment">// We are at the start of a cluster, so copy the ID.</span></div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">if</span> (dest->WriteFromFile(source, cluster_id_size) != cluster_id_size)</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// Skip the header that has already been written.</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">if</span> (!ReadSkip(temp_reader.get(), header_size))</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error reading temp file."</span>);</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">// Copy the rest of the data over.</span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span> (!CopyFileWithClusterRewrite(temp_reader.get(), real_writer_.get(),</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  cluster()->Size())) {</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">return</span> Status(error::FILE_FAILURE, <span class="stringliteral">"Error copying temp file."</span>);</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="comment">// Close and delete the temp file.</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  temp_reader.reset();</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">if</span> (!<a class="code" href="../../d3/d61/classshaka_1_1media_1_1File.html#a92cdfd68e6384dfcc14c78b20c98368e">File::Delete</a>(temp_file_name_.c_str())) {</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  LOG(WARNING) << <span class="stringliteral">"Unable to delete temporary file "</span> << temp_file_name_;</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">return</span> real_writer_->Close();</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> }</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="keywordtype">bool</span> TwoPassSingleSegmentSegmenter::CopyFileWithClusterRewrite(</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  File* source,</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  MkvWriter* dest,</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  uint64_t last_size) {</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_id_size = mkvmuxer::GetUIntSize(mkvmuxer::kMkvCluster);</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_size_size = 8; <span class="comment">// The size of the Cluster size integer.</span></div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> cluster_header_size = cluster_id_size + cluster_size_size;</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">// We are at the start of a cluster, so copy the ID.</span></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">if</span> (dest->WriteFromFile(source, cluster_id_size) != cluster_id_size)</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < cues()->cue_entries_size() - 1; ++i) {</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="comment">// Write the size of the cluster.</span></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keyword">const</span> mkvmuxer::CuePoint* cue = cues()->GetCueByIndex(i);</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keyword">const</span> mkvmuxer::CuePoint* next_cue = cues()->GetCueByIndex(i + 1);</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">const</span> int64_t cluster_payload_size =</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  next_cue->cluster_pos() - cue->cluster_pos() - cluster_header_size;</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordflow">if</span> (mkvmuxer::WriteUIntSize(dest, cluster_payload_size, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="comment">// Copy the cluster and the next cluster's ID.</span></div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  int64_t to_copy = cluster_payload_size + cluster_id_size;</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">if</span> (dest->WriteFromFile(source, to_copy) != to_copy)</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="comment">// Update the progress; need to convert from WebM timecode to ISO BMFF.</span></div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keyword">const</span> uint64_t webm_delta_time = next_cue->time() - cue->time();</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keyword">const</span> uint64_t delta_time = FromWebMTimecode(webm_delta_time);</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  UpdateProgress(delta_time);</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  }</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < cues()->cue_entries_size() - 1; ++i) {</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="comment">// Write the size of the cluster.</span></div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keyword">const</span> mkvmuxer::CuePoint* cue = cues()->GetCueByIndex(i);</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">const</span> mkvmuxer::CuePoint* next_cue = cues()->GetCueByIndex(i + 1);</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keyword">const</span> int64_t cluster_payload_size =</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  next_cue->cluster_pos() - cue->cluster_pos() - cluster_header_size;</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">if</span> (mkvmuxer::WriteUIntSize(dest, cluster_payload_size, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="comment">// Copy the cluster and the next cluster's ID.</span></div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  int64_t to_copy = cluster_payload_size + cluster_id_size;</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordflow">if</span> (dest->WriteFromFile(source, to_copy) != to_copy)</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="comment">// Update the progress; need to convert from WebM timecode to ISO BMFF.</span></div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">const</span> uint64_t webm_delta_time = next_cue->time() - cue->time();</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">const</span> uint64_t delta_time = FromWebMTimecode(webm_delta_time);</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  UpdateProgress(delta_time);</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  }</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="comment">// The last cluster takes up until the cues.</span></div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keyword">const</span> uint64_t last_cluster_payload_size = last_size - cluster_header_size;</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">if</span> (mkvmuxer::WriteUIntSize(dest, last_cluster_payload_size,</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  cluster_size_size))</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> </div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="comment">// Copy the last cluster.</span></div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">return</span> dest->WriteFromFile(source) ==</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(last_cluster_payload_size);</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> }</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> } <span class="comment">// namespace webm</span></div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> } <span class="comment">// namespace media</span></div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> } <span class="comment">// namespace shaka</span></div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="comment">// The last cluster takes up until the cues.</span></div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keyword">const</span> uint64_t last_cluster_payload_size = last_size - cluster_header_size;</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">if</span> (mkvmuxer::WriteUIntSize(dest, last_cluster_payload_size,</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  cluster_size_size))</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordflow">if</span> (!ReadSkip(source, cluster_size_size))</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="comment">// Copy the last cluster.</span></div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">return</span> dest->WriteFromFile(source) ==</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">static_cast<</span>int64_t<span class="keyword">></span>(last_cluster_payload_size);</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> }</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> } <span class="comment">// namespace webm</span></div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> } <span class="comment">// namespace media</span></div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> } <span class="comment">// namespace shaka</span></div>
|
||||
<div class="ttc" id="classshaka_1_1media_1_1File_html_aad6b77e734bb22d077ece029c9e735a4"><div class="ttname"><a href="../../d3/d61/classshaka_1_1media_1_1File.html#aad6b77e734bb22d077ece029c9e735a4">shaka::media::File::Open</a></div><div class="ttdeci">virtual bool Open()=0</div><div class="ttdoc">Internal open. Should not be used directly. </div></div>
|
||||
<div class="ttc" id="namespaceshaka_html_a66e7e156c1f83435fb6c130803e48f62"><div class="ttname"><a href="../../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62">shaka::TempFilePath</a></div><div class="ttdeci">bool TempFilePath(const std::string &temp_dir, std::string *temp_file_path)</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d2b/file__util_8cc_source.html#l00027">file_util.cc:27</a></div></div>
|
||||
<div class="ttc" id="classshaka_1_1media_1_1MkvWriter_html_a468dcd83a7c087cc83e755703488e92b"><div class="ttname"><a href="../../d1/d0a/classshaka_1_1media_1_1MkvWriter.html#a468dcd83a7c087cc83e755703488e92b">shaka::media::MkvWriter::Position</a></div><div class="ttdeci">mkvmuxer::int64 Position() const override</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dc8/mkv__writer_8cc_source.html#l00071">mkv_writer.cc:71</a></div></div>
|
||||
<div class="ttc" id="classshaka_1_1media_1_1File_html_a92cdfd68e6384dfcc14c78b20c98368e"><div class="ttname"><a href="../../d3/d61/classshaka_1_1media_1_1File.html#a92cdfd68e6384dfcc14c78b20c98368e">shaka::media::File::Delete</a></div><div class="ttdeci">static bool Delete(const char *file_name)</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/dfc/file_8cc_source.html#l00163">file.cc:163</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:39 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -407,7 +407,7 @@ static std::string </td><td class="memItemRight" valign="bottom"><a class="
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -235,7 +235,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -126,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -206,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -0,0 +1,143 @@
|
|||
<!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>DASH Media Packaging SDK: media/file/file_util.cc 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">DASH Media Packaging SDK
|
||||
</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="../../namespaces.html"><span>Namespaces</span></a></li>
|
||||
<li><a href="../../annotated.html"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="../../files.html"><span>Files</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>
|
||||
</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>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</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></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_39dc0668bd5a501998f94e8b4e546c71.html">media</a></li><li class="navelem"><a class="el" href="../../dir_279fd47bebb21302c25cfb685e84c359.html">file</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">file_util.cc</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright 2016 Google Inc. All rights reserved.</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Use of this source code is governed by a BSD-style</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// license that can be found in the LICENSE file or at</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// https://developers.google.com/open-source/licenses/bsd</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "packager/media/file/file_util.h"</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <inttypes.h></span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "packager/base/files/file_path.h"</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "packager/base/files/file_util.h"</span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "packager/base/strings/stringprintf.h"</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "packager/base/threading/platform_thread.h"</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "packager/base/time/time.h"</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">namespace </span>shaka {</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="keyword">namespace </span>{</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">// Create a temp file name using process/thread id and current time.</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> std::string TempFileName() {</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">const</span> int32_t tid = <span class="keyword">static_cast<</span>int32_t<span class="keyword">></span>(base::PlatformThread::CurrentId());</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">const</span> int64_t current_time = base::Time::Now().ToInternalValue();</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordflow">return</span> base::StringPrintf(<span class="stringliteral">"packager-tempfile-%x-%"</span> PRIx64, tid, current_time);</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> }</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> } <span class="comment">// namespace</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="../../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62"> 27</a></span> <span class="keywordtype">bool</span> <a class="code" href="../../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62">TempFilePath</a>(<span class="keyword">const</span> std::string& temp_dir, std::string* temp_file_path) {</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">if</span> (temp_dir.empty()) {</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  base::FilePath file_path;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">if</span> (!base::CreateTemporaryFile(&file_path)) {</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  LOG(ERROR) << <span class="stringliteral">"Failed to create temporary file."</span>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  }</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  *temp_file_path = file_path.AsUTF8Unsafe();</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  *temp_file_path =</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  base::FilePath::FromUTF8Unsafe(temp_dir)</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  .Append(base::FilePath::FromUTF8Unsafe(TempFileName()))</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  .AsUTF8Unsafe();</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> } <span class="comment">// namespace shaka</span></div>
|
||||
<div class="ttc" id="namespaceshaka_html_a66e7e156c1f83435fb6c130803e48f62"><div class="ttname"><a href="../../d8/daf/namespaceshaka.html#a66e7e156c1f83435fb6c130803e48f62">shaka::TempFilePath</a></div><div class="ttdeci">bool TempFilePath(const std::string &temp_dir, std::string *temp_file_path)</div><div class="ttdef"><b>Definition:</b> <a href="../../d1/d2b/file__util_8cc_source.html#l00027">file_util.cc:27</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK 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>
|
|
@ -113,7 +113,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:43 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -385,7 +385,7 @@ class </td><td class="memItemRight" valign="bottom"><b>BoxBuffer</b></td></
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:43 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:48 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -488,7 +488,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -142,7 +142,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -419,7 +419,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../.
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -122,7 +122,7 @@ uint32_t </td><td class="memItemRight" valign="bottom"><b>cipher_bytes</b><
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -108,7 +108,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:39 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -176,7 +176,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -106,7 +106,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -222,7 +222,7 @@ Additional Inherited Members</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -293,7 +293,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -226,7 +226,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -531,7 +531,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -152,7 +152,7 @@ int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href=".
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -269,7 +269,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -105,7 +105,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:47 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:44 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:49 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -214,7 +214,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -107,7 +107,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:42 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -102,7 +102,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:41 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:46 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -210,7 +210,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:40 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:45 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:43 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:48 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
|
@ -589,7 +589,7 @@ bool </td><td class="memItemRight" valign="bottom"><b>ReadWriteInt64</b> (i
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Tue Oct 11 2016 19:33:43 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Oct 13 2016 21:53:48 for DASH Media Packaging SDK by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.6
|
||||
</small></address>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue