324 lines
25 KiB
HTML
324 lines
25 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::xml::RepresentationXmlNode 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 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 List</span></a></li>
|
|
<li><a href="../../classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="../../hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="../../functions.html"><span>Class 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"> </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="../../d8/daf/namespaceshaka.html">shaka</a></li><li class="navelem"><b>xml</b></li><li class="navelem"><a class="el" href="../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html">RepresentationXmlNode</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="../../dc/dc1/classshaka_1_1xml_1_1RepresentationXmlNode-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">shaka::xml::RepresentationXmlNode Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>RepresentationType in MPD.
|
|
<a href="../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="../../dd/de7/xml__node_8h_source.html">xml_node.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for shaka::xml::RepresentationXmlNode:</div>
|
|
<div class="dyncontent">
|
|
<div class="center">
|
|
<img src="../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.png" usemap="#shaka::xml::RepresentationXmlNode_map" alt=""/>
|
|
<map id="shaka::xml::RepresentationXmlNode_map" name="shaka::xml::RepresentationXmlNode_map">
|
|
<area href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html" alt="shaka::xml::RepresentationBaseXmlNode" shape="rect" coords="0,56,238,80"/>
|
|
<area href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html" alt="shaka::xml::XmlNode" shape="rect" coords="0,0,238,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:aeb5b425a0d9fe472e13e508ee431307a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#aeb5b425a0d9fe472e13e508ee431307a">AddVideoInfo</a> (const MediaInfo::VideoInfo &video_info, bool set_width, bool set_height, bool set_frame_rate)</td></tr>
|
|
<tr class="separator:aeb5b425a0d9fe472e13e508ee431307a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a49050cf0e7883bfa6e8e2fb0174b2a7a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#a49050cf0e7883bfa6e8e2fb0174b2a7a">AddAudioInfo</a> (const MediaInfo::AudioInfo &audio_info)</td></tr>
|
|
<tr class="separator:a49050cf0e7883bfa6e8e2fb0174b2a7a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a68a51ea870f2a24379a9b81cb97b6ac0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#a68a51ea870f2a24379a9b81cb97b6ac0">AddVODOnlyInfo</a> (const MediaInfo &media_info)</td></tr>
|
|
<tr class="separator:a68a51ea870f2a24379a9b81cb97b6ac0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae9ff190e1a653a348b00b5edd9d6cc60"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d9e/classshaka_1_1xml_1_1RepresentationXmlNode.html#ae9ff190e1a653a348b00b5edd9d6cc60">AddLiveOnlyInfo</a> (const MediaInfo &media_info, const std::list< <a class="el" href="../../dc/de1/structshaka_1_1SegmentInfo.html">SegmentInfo</a> > &segment_infos, uint32_t start_number)</td></tr>
|
|
<tr class="separator:ae9ff190e1a653a348b00b5edd9d6cc60"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode')"><img src="../../closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html">shaka::xml::RepresentationBaseXmlNode</a></td></tr>
|
|
<tr class="memitem:ae5315d28398d004403b5da1ddd984a7f inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae5315d28398d004403b5da1ddd984a7f"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>AddContentProtectionElements</b> (const std::list< <a class="el" href="../../da/d43/structshaka_1_1ContentProtectionElement.html">ContentProtectionElement</a> > &content_protection_elements)</td></tr>
|
|
<tr class="separator:ae5315d28398d004403b5da1ddd984a7f inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a58965505799f01c99768823caeb66a6b inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html#a58965505799f01c99768823caeb66a6b">AddSupplementalProperty</a> (const std::string &scheme_id_uri, const std::string &value)</td></tr>
|
|
<tr class="separator:a58965505799f01c99768823caeb66a6b inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aebcc18275733668d46622a7ac9ceb2e8 inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html#aebcc18275733668d46622a7ac9ceb2e8">AddEssentialProperty</a> (const std::string &scheme_id_uri, const std::string &value)</td></tr>
|
|
<tr class="separator:aebcc18275733668d46622a7ac9ceb2e8 inherit pub_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classshaka_1_1xml_1_1XmlNode"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshaka_1_1xml_1_1XmlNode')"><img src="../../closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html">shaka::xml::XmlNode</a></td></tr>
|
|
<tr class="memitem:a52ffb838d25293eafbea9f05fb1c2d17 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a52ffb838d25293eafbea9f05fb1c2d17">XmlNode</a> (const char *name)</td></tr>
|
|
<tr class="separator:a52ffb838d25293eafbea9f05fb1c2d17 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5f8deed2a9bb707c40db24374b3b7fbd inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a5f8deed2a9bb707c40db24374b3b7fbd">AddChild</a> (scoped_xml_ptr< xmlNode > child)</td></tr>
|
|
<tr class="separator:a5f8deed2a9bb707c40db24374b3b7fbd inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a31d77d822a66991f48b67bfad3fa86d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31d77d822a66991f48b67bfad3fa86d0"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a31d77d822a66991f48b67bfad3fa86d0">AddElements</a> (const std::vector< <a class="el" href="../../de/da9/structshaka_1_1Element.html">Element</a> > &elements)</td></tr>
|
|
<tr class="memdesc:a31d77d822a66991f48b67bfad3fa86d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="mdescLeft"> </td><td class="mdescRight">Adds Elements to this node using the <a class="el" href="../../de/da9/structshaka_1_1Element.html">Element</a> struct. <br/></td></tr>
|
|
<tr class="separator:a31d77d822a66991f48b67bfad3fa86d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afc83f9dbaedc8ba0fc9cc1153ac23329 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#afc83f9dbaedc8ba0fc9cc1153ac23329">SetStringAttribute</a> (const char *attribute_name, const std::string &attribute)</td></tr>
|
|
<tr class="separator:afc83f9dbaedc8ba0fc9cc1153ac23329 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab15dbcc1a051218dc16f44584276ad20 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ab15dbcc1a051218dc16f44584276ad20">SetIntegerAttribute</a> (const char *attribute_name, uint64_t number)</td></tr>
|
|
<tr class="separator:ab15dbcc1a051218dc16f44584276ad20 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac4b6c261b14ffe83e9820b76b16af1ba inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ac4b6c261b14ffe83e9820b76b16af1ba">SetFloatingPointAttribute</a> (const char *attribute_name, double number)</td></tr>
|
|
<tr class="separator:ac4b6c261b14ffe83e9820b76b16af1ba inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7479055041708fb681957a838e7ecc1f inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a7479055041708fb681957a838e7ecc1f">SetId</a> (uint32_t id)</td></tr>
|
|
<tr class="separator:a7479055041708fb681957a838e7ecc1f inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a73d758186470e7dbcb4f4339eb53458c inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a73d758186470e7dbcb4f4339eb53458c">SetContent</a> (const std::string &content)</td></tr>
|
|
<tr class="separator:a73d758186470e7dbcb4f4339eb53458c inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0be0a3e9b041978e118d994c1f13e8fb inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">scoped_xml_ptr< xmlNode > </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#a0be0a3e9b041978e118d994c1f13e8fb">PassScopedPtr</a> ()</td></tr>
|
|
<tr class="separator:a0be0a3e9b041978e118d994c1f13e8fb inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae5cb2c3000ccbd53c0a1867db0b8a2d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">xmlNodePtr </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#ae5cb2c3000ccbd53c0a1867db0b8a2d0">Release</a> ()</td></tr>
|
|
<tr class="separator:ae5cb2c3000ccbd53c0a1867db0b8a2d0 inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aac9765712087dcc47a0afef4bf7849ff inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memItemLeft" align="right" valign="top">xmlNodePtr </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d31/classshaka_1_1xml_1_1XmlNode.html#aac9765712087dcc47a0afef4bf7849ff">GetRawPtr</a> ()</td></tr>
|
|
<tr class="separator:aac9765712087dcc47a0afef4bf7849ff inherit pub_methods_classshaka_1_1xml_1_1XmlNode"><td class="memSeparator" colspan="2"> </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 pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode')"><img src="../../closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="../../dd/db9/classshaka_1_1xml_1_1RepresentationBaseXmlNode.html">shaka::xml::RepresentationBaseXmlNode</a></td></tr>
|
|
<tr class="memitem:a1ebaeca213211f88206a946a5a201a5a inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ebaeca213211f88206a946a5a201a5a"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>RepresentationBaseXmlNode</b> (const char *name)</td></tr>
|
|
<tr class="separator:a1ebaeca213211f88206a946a5a201a5a inherit pro_methods_classshaka_1_1xml_1_1RepresentationBaseXmlNode"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>RepresentationType in MPD. </p>
|
|
|
|
<p>Definition at line <a class="el" href="../../dd/de7/xml__node_8h_source.html#l00139">139</a> of file <a class="el" href="../../dd/de7/xml__node_8h_source.html">xml_node.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a49050cf0e7883bfa6e8e2fb0174b2a7a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool shaka::xml::RepresentationXmlNode::AddAudioInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const MediaInfo::AudioInfo & </td>
|
|
<td class="paramname"><em>audio_info</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Adds audio metadata to the MPD. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">audio_info</td><td>constains the AudioInfos for a <a class="el" href="../../de/d52/classshaka_1_1Representation.html">Representation</a>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if successfully set attributes and children elements (if applicable), false otherwise. </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00270">270</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae9ff190e1a653a348b00b5edd9d6cc60"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool shaka::xml::RepresentationXmlNode::AddLiveOnlyInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const MediaInfo & </td>
|
|
<td class="paramname"><em>media_info</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::list< <a class="el" href="../../dc/de1/structshaka_1_1SegmentInfo.html">SegmentInfo</a> > & </td>
|
|
<td class="paramname"><em>segment_infos</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint32_t </td>
|
|
<td class="paramname"><em>start_number</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">segment_infos</td><td>is a set of SegmentInfos. This method assumes that SegmentInfos are sorted by its start time. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00319">319</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeb5b425a0d9fe472e13e508ee431307a"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool shaka::xml::RepresentationXmlNode::AddVideoInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const MediaInfo::VideoInfo & </td>
|
|
<td class="paramname"><em>video_info</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>set_width</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>set_height</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>set_frame_rate</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Adds video metadata to the MPD. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">video_info</td><td>constains the VideoInfo for a <a class="el" href="../../de/d52/classshaka_1_1Representation.html">Representation</a>. </td></tr>
|
|
<tr><td class="paramname">set_width</td><td>is a flag for setting the width attribute. </td></tr>
|
|
<tr><td class="paramname">set_height</td><td>is a flag for setting the height attribute. </td></tr>
|
|
<tr><td class="paramname">set_frame_rate</td><td>is a flag for setting the frameRate attribute. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if successfully set attributes and children elements (if applicable), false otherwise. </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00233">233</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a68a51ea870f2a24379a9b81cb97b6ac0"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool shaka::xml::RepresentationXmlNode::AddVODOnlyInfo </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const MediaInfo & </td>
|
|
<td class="paramname"><em>media_info</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Adds fields that are specific to VOD. This ignores <em>media_info</em> fields for Live. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">media_info</td><td>is a MediaInfo with VOD information. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true on success, false otherwise. </dd></dl>
|
|
|
|
<p>Definition at line <a class="el" href="../../df/d96/xml__node_8cc_source.html#l00278">278</a> of file <a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li>mpd/base/xml/<a class="el" href="../../dd/de7/xml__node_8h_source.html">xml_node.h</a></li>
|
|
<li>mpd/base/xml/<a class="el" href="../../df/d96/xml__node_8cc_source.html">xml_node.cc</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Thu May 18 2017 01:49:30 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>
|