shaka-packager/docs/d0/d4c/structshaka_1_1media_1_1Str...

137 lines
11 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"/>
2018-02-10 23:37:42 +00:00
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Shaka Packager SDK: shaka::media::StreamData Struct 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"/>
2018-02-10 23:37:42 +00:00
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></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;">
2018-02-10 23:37:42 +00:00
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Shaka Packager SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
2018-02-10 23:37:42 +00:00
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
2018-02-10 23:37:42 +00:00
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2018-02-10 23:37:42 +00:00
</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="../../d0/d4c/structshaka_1_1media_1_1StreamData.html">StreamData</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../d0/d17/structshaka_1_1media_1_1StreamData-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::media::StreamData Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:a0e55a5570859c4cab91a04a71f3e16ed"><td class="memItemLeft" align="right" valign="top"><a id="a0e55a5570859c4cab91a04a71f3e16ed"></a>
static std::unique_ptr&lt; <a class="el" href="../../d0/d4c/structshaka_1_1media_1_1StreamData.html">StreamData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FromStreamInfo</b> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt; stream_info)</td></tr>
<tr class="separator:a0e55a5570859c4cab91a04a71f3e16ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:a4e2989e63e45357b6f08214de8cca0bb"><td class="memItemLeft" align="right" valign="top"><a id="a4e2989e63e45357b6f08214de8cca0bb"></a>
static std::unique_ptr&lt; <a class="el" href="../../d0/d4c/structshaka_1_1media_1_1StreamData.html">StreamData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FromMediaSample</b> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../d7/d6d/classshaka_1_1media_1_1MediaSample.html">MediaSample</a> &gt; media_sample)</td></tr>
<tr class="separator:a4e2989e63e45357b6f08214de8cca0bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:ad3005cd94dd09f4ad26b87689a37659b"><td class="memItemLeft" align="right" valign="top"><a id="ad3005cd94dd09f4ad26b87689a37659b"></a>
static std::unique_ptr&lt; <a class="el" href="../../d0/d4c/structshaka_1_1media_1_1StreamData.html">StreamData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FromTextSample</b> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../db/d1f/classshaka_1_1media_1_1TextSample.html">TextSample</a> &gt; text_sample)</td></tr>
<tr class="separator:ad3005cd94dd09f4ad26b87689a37659b"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:ab05505cfcda2e83bd3441f9b3561e473"><td class="memItemLeft" align="right" valign="top"><a id="ab05505cfcda2e83bd3441f9b3561e473"></a>
static std::unique_ptr&lt; <a class="el" href="../../d0/d4c/structshaka_1_1media_1_1StreamData.html">StreamData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FromSegmentInfo</b> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../d0/dc0/structshaka_1_1media_1_1SegmentInfo.html">SegmentInfo</a> &gt; segment_info)</td></tr>
<tr class="separator:ab05505cfcda2e83bd3441f9b3561e473"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:ab4834b48b57c3078d57d1531b03a38e2"><td class="memItemLeft" align="right" valign="top"><a id="ab4834b48b57c3078d57d1531b03a38e2"></a>
static std::unique_ptr&lt; <a class="el" href="../../d0/d4c/structshaka_1_1media_1_1StreamData.html">StreamData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FromScte35Event</b> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../d1/d41/structshaka_1_1media_1_1Scte35Event.html">Scte35Event</a> &gt; scte35_event)</td></tr>
<tr class="separator:ab4834b48b57c3078d57d1531b03a38e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:af6794cef925a22eb7826e54ae36e42b9"><td class="memItemLeft" align="right" valign="top"><a id="af6794cef925a22eb7826e54ae36e42b9"></a>
static std::unique_ptr&lt; <a class="el" href="../../d0/d4c/structshaka_1_1media_1_1StreamData.html">StreamData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>FromCueEvent</b> (size_t stream_index, std::shared_ptr&lt; const <a class="el" href="../../da/d93/structshaka_1_1media_1_1CueEvent.html">CueEvent</a> &gt; cue_event)</td></tr>
<tr class="separator:af6794cef925a22eb7826e54ae36e42b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:ac3c06467cc86f27811f0ce0cf8498865"><td class="memItemLeft" align="right" valign="top"><a id="ac3c06467cc86f27811f0ce0cf8498865"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>stream_index</b> = static_cast&lt;size_t&gt;(-1)</td></tr>
<tr class="separator:ac3c06467cc86f27811f0ce0cf8498865"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:a17d3ffbd27aae4137f338247f614611e"><td class="memItemLeft" align="right" valign="top"><a id="a17d3ffbd27aae4137f338247f614611e"></a>
StreamDataType&#160;</td><td class="memItemRight" valign="bottom"><b>stream_data_type</b> = StreamDataType::kUnknown</td></tr>
<tr class="separator:a17d3ffbd27aae4137f338247f614611e"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:aaa5e6e5bf63f3d6f5def3d8da3987bf8"><td class="memItemLeft" align="right" valign="top"><a id="aaa5e6e5bf63f3d6f5def3d8da3987bf8"></a>
std::shared_ptr&lt; const <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>stream_info</b></td></tr>
<tr class="separator:aaa5e6e5bf63f3d6f5def3d8da3987bf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:a42281649f91737ef8b7c0ae8fac9c54d"><td class="memItemLeft" align="right" valign="top"><a id="a42281649f91737ef8b7c0ae8fac9c54d"></a>
std::shared_ptr&lt; const <a class="el" href="../../d7/d6d/classshaka_1_1media_1_1MediaSample.html">MediaSample</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>media_sample</b></td></tr>
<tr class="separator:a42281649f91737ef8b7c0ae8fac9c54d"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:a5f878c9b97fa46e703dfb5a2a0ec7b58"><td class="memItemLeft" align="right" valign="top"><a id="a5f878c9b97fa46e703dfb5a2a0ec7b58"></a>
std::shared_ptr&lt; const <a class="el" href="../../db/d1f/classshaka_1_1media_1_1TextSample.html">TextSample</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>text_sample</b></td></tr>
<tr class="separator:a5f878c9b97fa46e703dfb5a2a0ec7b58"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:a3c618a8c5c114a4eb7fd8e81f9934e49"><td class="memItemLeft" align="right" valign="top"><a id="a3c618a8c5c114a4eb7fd8e81f9934e49"></a>
std::shared_ptr&lt; const <a class="el" href="../../d0/dc0/structshaka_1_1media_1_1SegmentInfo.html">SegmentInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>segment_info</b></td></tr>
<tr class="separator:a3c618a8c5c114a4eb7fd8e81f9934e49"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:ac5119aefa50837563e7bd810eddb8532"><td class="memItemLeft" align="right" valign="top"><a id="ac5119aefa50837563e7bd810eddb8532"></a>
std::shared_ptr&lt; const <a class="el" href="../../d1/d41/structshaka_1_1media_1_1Scte35Event.html">Scte35Event</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>scte35_event</b></td></tr>
<tr class="separator:ac5119aefa50837563e7bd810eddb8532"><td class="memSeparator" colspan="2">&#160;</td></tr>
2018-02-10 23:37:42 +00:00
<tr class="memitem:a5257a7d7e2af65f639318cf10c00f425"><td class="memItemLeft" align="right" valign="top"><a id="a5257a7d7e2af65f639318cf10c00f425"></a>
std::shared_ptr&lt; const <a class="el" href="../../da/d93/structshaka_1_1media_1_1CueEvent.html">CueEvent</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>cue_event</b></td></tr>
<tr class="separator:a5257a7d7e2af65f639318cf10c00f425"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
2018-02-10 23:37:42 +00:00
<p class="definition">Definition at line <a class="el" href="../../d3/d93/media__handler_8h_source.html#l00065">65</a> of file <a class="el" href="../../d3/d93/media__handler_8h_source.html">media_handler.h</a>.</p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>packager/media/base/<a class="el" href="../../d3/d93/media__handler_8h_source.html">media_handler.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
2018-05-23 23:12:00 +00:00
Generated on Wed May 23 2018 16:11:02 for Shaka Packager SDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
2018-02-10 23:37:42 +00:00
</a> 1.8.13
</small></address>
</body>
</html>