shaka-packager/docs/d2/dba/classshaka_1_1media_1_1Segm...

192 lines
16 KiB
HTML
Raw Normal View History

<!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: shaka::media::SegmentTestBase Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../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&#160;Page</span></a></li>
<li><a href="../../namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
<li><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="../../annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="../../classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="../../hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="../../functions.html"><span>Class&#160;Members</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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</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="../../d8/daf/namespaceshaka.html">shaka</a></li><li class="navelem"><b>media</b></li><li class="navelem"><a class="el" href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html">SegmentTestBase</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="../../d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::media::SegmentTestBase Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for shaka::media::SegmentTestBase:</div>
<div class="dyncontent">
<div class="center">
<img src="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.png" usemap="#shaka::media::SegmentTestBase_map" alt=""/>
<map id="shaka::media::SegmentTestBase_map" name="shaka::media::SegmentTestBase_map">
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html">ClusterParser</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a87bc84da1212f084217f88ced1ce78d0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>KeyFrameFlag</b> { <b>kKeyFrame</b>,
<b>kNotKeyFrame</b>
}</td></tr>
<tr class="separator:a87bc84da1212f084217f88ced1ce78d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af476b8a36b31a4086a0132d74ae8db67"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>SideDataFlag</b> { <b>kGenerateSideData</b>,
<b>kNoSideData</b>
}</td></tr>
<tr class="separator:af476b8a36b31a4086a0132d74ae8db67"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ac53eaf8bce4b0b1fad1200f66623dbe4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac53eaf8bce4b0b1fad1200f66623dbe4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetUp</b> () override</td></tr>
<tr class="separator:ac53eaf8bce4b0b1fad1200f66623dbe4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67700a923bc280a351bcc3c310a284ef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67700a923bc280a351bcc3c310a284ef"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>TearDown</b> () override</td></tr>
<tr class="separator:a67700a923bc280a351bcc3c310a284ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2efb1c40b8b7d569816e675876b1b614"><td class="memTemplParams" colspan="2"><a class="anchor" id="a2efb1c40b8b7d569816e675876b1b614"></a>
template&lt;typename S &gt; </td></tr>
<tr class="memitem:a2efb1c40b8b7d569816e675876b1b614"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a2efb1c40b8b7d569816e675876b1b614">CreateAndInitializeSegmenter</a> (const <a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html">MuxerOptions</a> &amp;options, <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> *info, std::unique_ptr&lt; <a class="el" href="../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html">webm::Segmenter</a> &gt; *result) const </td></tr>
<tr class="memdesc:a2efb1c40b8b7d569816e675876b1b614"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a Segmenter of the given type and initializes it. <br/></td></tr>
<tr class="separator:a2efb1c40b8b7d569816e675876b1b614"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd8845d029698f556ca09436da0c62ef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd8845d029698f556ca09436da0c62ef"></a>
std::shared_ptr&lt; <a class="el" href="../../d7/d6d/classshaka_1_1media_1_1MediaSample.html">MediaSample</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#afd8845d029698f556ca09436da0c62ef">CreateSample</a> (KeyFrameFlag key_frame_flag, uint64_t duration, SideDataFlag side_data_flag)</td></tr>
<tr class="memdesc:afd8845d029698f556ca09436da0c62ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new media sample. <br/></td></tr>
<tr class="separator:afd8845d029698f556ca09436da0c62ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89d5ae5a78134e108a4fe4adb6f79e4e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89d5ae5a78134e108a4fe4adb6f79e4e"></a>
<a class="el" href="../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html">MuxerOptions</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a89d5ae5a78134e108a4fe4adb6f79e4e">CreateMuxerOptions</a> () const </td></tr>
<tr class="memdesc:a89d5ae5a78134e108a4fe4adb6f79e4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="../../df/d46/classshaka_1_1media_1_1Muxer.html">Muxer</a> options object for testing. <br/></td></tr>
<tr class="separator:a89d5ae5a78134e108a4fe4adb6f79e4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae621089e670346f27f2b93d9b55bb30b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae621089e670346f27f2b93d9b55bb30b"></a>
<a class="el" href="../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html">VideoStreamInfo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#ae621089e670346f27f2b93d9b55bb30b">CreateVideoStreamInfo</a> (uint32_t time_scale) const </td></tr>
<tr class="memdesc:ae621089e670346f27f2b93d9b55bb30b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a video stream info object for testing. <br/></td></tr>
<tr class="separator:ae621089e670346f27f2b93d9b55bb30b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace8082bd6dcd3aa07177c648f6ad7ecf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace8082bd6dcd3aa07177c648f6ad7ecf"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#ace8082bd6dcd3aa07177c648f6ad7ecf">OutputFileName</a> () const </td></tr>
<tr class="memdesc:ace8082bd6dcd3aa07177c648f6ad7ecf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the file name of the current output file. <br/></td></tr>
<tr class="separator:ace8082bd6dcd3aa07177c648f6ad7ecf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa2cdde90c04bf69301a9589faa7efd9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa2cdde90c04bf69301a9589faa7efd9"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#afa2cdde90c04bf69301a9589faa7efd9">TemplateFileName</a> (int number) const </td></tr>
<tr class="memdesc:afa2cdde90c04bf69301a9589faa7efd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the file name of the given template file. <br/></td></tr>
<tr class="separator:afa2cdde90c04bf69301a9589faa7efd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09bee5db28093d1d841e592c1f7df11d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a09bee5db28093d1d841e592c1f7df11d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_cur_timestamp</b> (uint64_t timestamp)</td></tr>
<tr class="separator:a09bee5db28093d1d841e592c1f7df11d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a3b0399bdccd9deafde4c89db5e717193"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b0399bdccd9deafde4c89db5e717193"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>output_file_name_</b></td></tr>
<tr class="separator:a3b0399bdccd9deafde4c89db5e717193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b0873e7c733b3c45b5aeadec4c76c7a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b0873e7c733b3c45b5aeadec4c76c7a"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>segment_template_</b></td></tr>
<tr class="separator:a4b0873e7c733b3c45b5aeadec4c76c7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27591b463fcb7029e23c472839482400"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27591b463fcb7029e23c472839482400"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>cur_timestamp_</b></td></tr>
<tr class="separator:a27591b463fcb7029e23c472839482400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae91bd23a2ffd05d10184b536cb35751a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae91bd23a2ffd05d10184b536cb35751a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>single_segment_</b></td></tr>
<tr class="separator:ae91bd23a2ffd05d10184b536cb35751a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="../../d0/dee/segmenter__test__base_8h_source.html#l00028">28</a> of file <a class="el" href="../../d0/dee/segmenter__test__base_8h_source.html">segmenter_test_base.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>media/formats/webm/<a class="el" href="../../d0/dee/segmenter__test__base_8h_source.html">segmenter_test_base.h</a></li>
<li>media/formats/webm/<a class="el" href="../../d4/da7/segmenter__test__base_8cc_source.html">segmenter_test_base.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 20 2017 23:10:14 for DASH Media Packaging SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>