shaka-packager/docs/db/d4b/classshaka_1_1MockAdaptatio...

191 lines
19 KiB
HTML

<!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::MockAdaptationSet 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"><a class="el" href="../../db/d4b/classshaka_1_1MockAdaptationSet.html">MockAdaptationSet</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d2/dae/classshaka_1_1MockAdaptationSet-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::MockAdaptationSet Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for shaka::MockAdaptationSet:</div>
<div class="dyncontent">
<div class="center">
<img src="../../db/d4b/classshaka_1_1MockAdaptationSet.png" usemap="#shaka::MockAdaptationSet_map" alt=""/>
<map id="shaka::MockAdaptationSet_map" name="shaka::MockAdaptationSet_map">
<area href="../../d8/d8e/classshaka_1_1AdaptationSet.html" alt="shaka::AdaptationSet" shape="rect" coords="0,0,160,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1abd7bd6c6a348d65986fc6319fbc4e7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1abd7bd6c6a348d65986fc6319fbc4e7"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MockAdaptationSet</b> (uint32_t adaptation_set_id)</td></tr>
<tr class="separator:a1abd7bd6c6a348d65986fc6319fbc4e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af65bac2c5304a0921bf4ea69e4808247"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af65bac2c5304a0921bf4ea69e4808247"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a124e3c1ba5e3209f3214a556ecae28c3">AddRepresentation</a>, <a class="el" href="../../de/d52/classshaka_1_1Representation.html">Representation</a> *(const MediaInfo &amp;media_info))</td></tr>
<tr class="separator:af65bac2c5304a0921bf4ea69e4808247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fa238396d6614cba8e7201dc3b55e06"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7fa238396d6614cba8e7201dc3b55e06"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a28c52febc71a581ebec2c1308f6ea15c">AddContentProtectionElement</a>, void(const <a class="el" href="../../da/d43/structshaka_1_1ContentProtectionElement.html">ContentProtectionElement</a> &amp;element))</td></tr>
<tr class="separator:a7fa238396d6614cba8e7201dc3b55e06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69e5741a7357b02b8f69af4813875260"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69e5741a7357b02b8f69af4813875260"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD2</b> (<a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#ae8a28838bf1bbc1ad8f5b80961fe33c2">UpdateContentProtectionPssh</a>, void(const std::string &amp;drm_uuid, const std::string &amp;pssh))</td></tr>
<tr class="separator:a69e5741a7357b02b8f69af4813875260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c750cbe77ab273d2efdae2d6070e3ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c750cbe77ab273d2efdae2d6070e3ee"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#ae96ad89ec7cc7d5ef1db467a9cf13730">AddRole</a>, void(AdaptationSet::Role role))</td></tr>
<tr class="separator:a1c750cbe77ab273d2efdae2d6070e3ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a879364f851bcbfa8744ded3eb29be4dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a879364f851bcbfa8744ded3eb29be4dc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a40532ecbed5f71de85bde0cb7eb1ef9d">ForceSetSegmentAlignment</a>, void(bool segment_alignment))</td></tr>
<tr class="separator:a879364f851bcbfa8744ded3eb29be4dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ec4516e5614249d569d13d28f5dd6f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ec4516e5614249d569d13d28f5dd6f6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MOCK_METHOD1</b> (<a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a77c5aeacd170e402d2d37d3bf3956833">AddTrickPlayReferenceId</a>, void(uint32_t id))</td></tr>
<tr class="separator:a6ec4516e5614249d569d13d28f5dd6f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshaka_1_1AdaptationSet"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1AdaptationSet')"><img src="../../closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html">shaka::AdaptationSet</a></td></tr>
<tr class="memitem:a124e3c1ba5e3209f3214a556ecae28c3 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../de/d52/classshaka_1_1Representation.html">Representation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a124e3c1ba5e3209f3214a556ecae28c3">AddRepresentation</a> (const MediaInfo &amp;media_info)</td></tr>
<tr class="separator:a124e3c1ba5e3209f3214a556ecae28c3 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28c52febc71a581ebec2c1308f6ea15c inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a28c52febc71a581ebec2c1308f6ea15c">AddContentProtectionElement</a> (const <a class="el" href="../../da/d43/structshaka_1_1ContentProtectionElement.html">ContentProtectionElement</a> &amp;element)</td></tr>
<tr class="separator:a28c52febc71a581ebec2c1308f6ea15c inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8a28838bf1bbc1ad8f5b80961fe33c2 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#ae8a28838bf1bbc1ad8f5b80961fe33c2">UpdateContentProtectionPssh</a> (const std::string &amp;drm_uuid, const std::string &amp;pssh)</td></tr>
<tr class="separator:ae8a28838bf1bbc1ad8f5b80961fe33c2 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae96ad89ec7cc7d5ef1db467a9cf13730 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#ae96ad89ec7cc7d5ef1db467a9cf13730">AddRole</a> (Role role)</td></tr>
<tr class="separator:ae96ad89ec7cc7d5ef1db467a9cf13730 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af988e3a6d8b0d3ede66e3f3aea992d5e inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">xml::scoped_xml_ptr&lt; xmlNode &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#af988e3a6d8b0d3ede66e3f3aea992d5e">GetXml</a> ()</td></tr>
<tr class="separator:af988e3a6d8b0d3ede66e3f3aea992d5e inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40532ecbed5f71de85bde0cb7eb1ef9d inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a40532ecbed5f71de85bde0cb7eb1ef9d">ForceSetSegmentAlignment</a> (bool segment_alignment)</td></tr>
<tr class="separator:a40532ecbed5f71de85bde0cb7eb1ef9d inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af934da43aef6260e7e7a469d9f796661 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#af934da43aef6260e7e7a469d9f796661">AddAdaptationSetSwitching</a> (uint32_t adaptation_set_id)</td></tr>
<tr class="separator:af934da43aef6260e7e7a469d9f796661 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8674f458c599af4d5ebc104a2f7bd8ae inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">const std::vector&lt; uint32_t &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a8674f458c599af4d5ebc104a2f7bd8ae">adaptation_set_switching_ids</a> () const </td></tr>
<tr class="separator:a8674f458c599af4d5ebc104a2f7bd8ae inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a130abd1efada957bdf0c249c699642a1 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a130abd1efada957bdf0c249c699642a1"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>id</b> () const </td></tr>
<tr class="separator:a130abd1efada957bdf0c249c699642a1 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcfb8f59204f6ec2f5dcd9cbd81dddf9 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#afcfb8f59204f6ec2f5dcd9cbd81dddf9">OnNewSegmentForRepresentation</a> (uint32_t representation_id, uint64_t start_time, uint64_t duration)</td></tr>
<tr class="separator:afcfb8f59204f6ec2f5dcd9cbd81dddf9 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37904780833b552b7f95f124ffd10456 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a37904780833b552b7f95f124ffd10456">OnSetFrameRateForRepresentation</a> (uint32_t representation_id, uint32_t frame_duration, uint32_t timescale)</td></tr>
<tr class="separator:a37904780833b552b7f95f124ffd10456 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77c5aeacd170e402d2d37d3bf3956833 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a77c5aeacd170e402d2d37d3bf3956833">AddTrickPlayReferenceId</a> (uint32_t id)</td></tr>
<tr class="separator:a77c5aeacd170e402d2d37d3bf3956833 inherit pub_methods_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classshaka_1_1AdaptationSet"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshaka_1_1AdaptationSet')"><img src="../../closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html">shaka::AdaptationSet</a></td></tr>
<tr class="memitem:a89f6573af412970297f4cf888d31edbd inherit pub_types_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>Role</b> { <br/>
&#160;&#160;<b>kRoleCaption</b>,
<b>kRoleSubtitle</b>,
<b>kRoleMain</b>,
<b>kRoleAlternate</b>,
<br/>
&#160;&#160;<b>kRoleSupplementary</b>,
<b>kRoleCommentary</b>,
<b>kRoleDub</b>
<br/>
}</td></tr>
<tr class="separator:a89f6573af412970297f4cf888d31edbd inherit pub_types_classshaka_1_1AdaptationSet"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classshaka_1_1AdaptationSet"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshaka_1_1AdaptationSet')"><img src="../../closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html">shaka::AdaptationSet</a></td></tr>
<tr class="memitem:a78925e61038e8bbd776652a539edb129 inherit pro_methods_classshaka_1_1AdaptationSet"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d8e/classshaka_1_1AdaptationSet.html#a78925e61038e8bbd776652a539edb129">AdaptationSet</a> (uint32_t adaptation_set_id, const std::string &amp;lang, const <a class="el" href="../../d1/df3/structshaka_1_1MpdOptions.html">MpdOptions</a> &amp;mpd_options, base::AtomicSequenceNumber *representation_counter)</td></tr>
<tr class="separator:a78925e61038e8bbd776652a539edb129 inherit pro_methods_classshaka_1_1AdaptationSet"><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="../../d9/d08/mock__mpd__builder_8h_source.html#l00028">28</a> of file <a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html">mock_mpd_builder.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>mpd/base/<a class="el" href="../../d9/d08/mock__mpd__builder_8h_source.html">mock_mpd_builder.h</a></li>
<li>mpd/base/<a class="el" href="../../da/de2/mock__mpd__builder_8cc_source.html">mock_mpd_builder.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed May 17 2017 21:54:26 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>