shaka-packager/docs/d4/d9b/classshaka_1_1media_1_1Medi...

170 lines
15 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>Shaka Packager SDK: shaka::media::MediaHandlerTestBase 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">Shaka Packager 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><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</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="../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html">MediaHandlerTestBase</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="../../d1/d25/classshaka_1_1media_1_1MediaHandlerTestBase-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">shaka::media::MediaHandlerTestBase Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for shaka::media::MediaHandlerTestBase:</div>
<div class="dyncontent">
<div class="center">
<img src="../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.png" usemap="#shaka::media::MediaHandlerTestBase_map" alt=""/>
<map id="shaka::media::MediaHandlerTestBase_map" name="shaka::media::MediaHandlerTestBase_map">
<area href="../../d3/d9a/classshaka_1_1media_1_1MediaHandlerGraphTestBase.html" alt="shaka::media::MediaHandlerGraphTestBase" shape="rect" coords="0,112,256,136"/>
</map>
</div></div>
<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:add29bacd83f0c2410c73c46d2fafff13"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add29bacd83f0c2410c73c46d2fafff13"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsVideoCodec</b> (Codec codec) const </td></tr>
<tr class="separator:add29bacd83f0c2410c73c46d2fafff13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d9b2d771bb15c7a8739c413e81a7b7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63d9b2d771bb15c7a8739c413e81a7b7"></a>
std::unique_ptr&lt; <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetVideoStreamInfo</b> (uint32_t time_scale) const </td></tr>
<tr class="separator:a63d9b2d771bb15c7a8739c413e81a7b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9226d867acaa4285faf3b9c9d53401c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9226d867acaa4285faf3b9c9d53401c"></a>
std::unique_ptr&lt; <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetVideoStreamInfo</b> (uint32_t time_scale, uint32_t width, uint64_t height) const </td></tr>
<tr class="separator:ab9226d867acaa4285faf3b9c9d53401c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36bd768d7bb46f69bea192ce34df76fa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36bd768d7bb46f69bea192ce34df76fa"></a>
std::unique_ptr&lt; <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetVideoStreamInfo</b> (uint32_t time_scale, Codec codec) const </td></tr>
<tr class="separator:a36bd768d7bb46f69bea192ce34df76fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d40b75e8833c1be5f755e9d657f282c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d40b75e8833c1be5f755e9d657f282c"></a>
std::unique_ptr&lt; <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetVideoStreamInfo</b> (uint32_t time_scale, Codec codec, uint32_t width, uint64_t height) const </td></tr>
<tr class="separator:a4d40b75e8833c1be5f755e9d657f282c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6765818671f117c00a6dc95d97a0ce5d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6765818671f117c00a6dc95d97a0ce5d"></a>
std::unique_ptr&lt; <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetAudioStreamInfo</b> (uint32_t time_scale) const </td></tr>
<tr class="separator:a6765818671f117c00a6dc95d97a0ce5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93c9a32a53ef3d921ba52205f5fe3701"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a93c9a32a53ef3d921ba52205f5fe3701"></a>
std::unique_ptr&lt; <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetAudioStreamInfo</b> (uint32_t time_scale, Codec codec) const </td></tr>
<tr class="separator:a93c9a32a53ef3d921ba52205f5fe3701"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d9e7c0ef54990a275964e9df1549082"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5d9e7c0ef54990a275964e9df1549082"></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"><b>GetMediaSample</b> (int64_t timestamp, int64_t duration, bool is_keyframe) const </td></tr>
<tr class="separator:a5d9e7c0ef54990a275964e9df1549082"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac96a94b4e7c568b6a2305e829242be05"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac96a94b4e7c568b6a2305e829242be05"></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"><b>GetMediaSample</b> (int64_t timestamp, int64_t duration, bool is_keyframe, const uint8_t *data, size_t data_length) const </td></tr>
<tr class="separator:ac96a94b4e7c568b6a2305e829242be05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a285b1c2e8a5ef3f41fc570bd1f222e48"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a285b1c2e8a5ef3f41fc570bd1f222e48"></a>
std::unique_ptr&lt; <a class="el" href="../../d0/dc0/structshaka_1_1media_1_1SegmentInfo.html">SegmentInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetSegmentInfo</b> (int64_t start_timestamp, int64_t duration, bool is_subsegment) const </td></tr>
<tr class="separator:a285b1c2e8a5ef3f41fc570bd1f222e48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03a399d3e807319d2acc94f1a215f5f9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a03a399d3e807319d2acc94f1a215f5f9"></a>
std::unique_ptr&lt; <a class="el" href="../../d5/db1/classshaka_1_1media_1_1StreamInfo.html">StreamInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetTextStreamInfo</b> () const </td></tr>
<tr class="separator:a03a399d3e807319d2acc94f1a215f5f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab08b1b08270187203a771a0fe64943a8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab08b1b08270187203a771a0fe64943a8"></a>
std::unique_ptr&lt; <a class="el" href="../../db/d1f/classshaka_1_1media_1_1TextSample.html">TextSample</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetTextSample</b> (const std::string &amp;id, uint64_t start, uint64_t end, const std::string &amp;payload) const </td></tr>
<tr class="separator:ab08b1b08270187203a771a0fe64943a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adee2930c9c67b648e8fe74d87e8c5338"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adee2930c9c67b648e8fe74d87e8c5338"></a>
<a class="el" href="../../d2/d20/classshaka_1_1Status.html">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><b>SetUpAndInitializeGraph</b> (std::shared_ptr&lt; <a class="el" href="../../da/dfd/classshaka_1_1media_1_1MediaHandler.html">MediaHandler</a> &gt; handler, size_t input_count, size_t output_count)</td></tr>
<tr class="separator:adee2930c9c67b648e8fe74d87e8c5338"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52609b81619ee7dfceaa0ca81f6bb7f5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52609b81619ee7dfceaa0ca81f6bb7f5"></a>
<a class="el" href="../../d3/d1e/classshaka_1_1media_1_1FakeInputMediaHandler.html">FakeInputMediaHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>Input</b> (size_t index)</td></tr>
<tr class="separator:a52609b81619ee7dfceaa0ca81f6bb7f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c260576fc54e78e69759f05d498f018"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c260576fc54e78e69759f05d498f018"></a>
<a class="el" href="../../de/db2/classshaka_1_1media_1_1MockOutputMediaHandler.html">MockOutputMediaHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>Output</b> (size_t index)</td></tr>
<tr class="separator:a7c260576fc54e78e69759f05d498f018"><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="../../db/d59/media__handler__test__base_8h_source.html#l00127">127</a> of file <a class="el" href="../../db/d59/media__handler__test__base_8h_source.html">media_handler_test_base.h</a>.</p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>packager/media/base/<a class="el" href="../../db/d59/media__handler__test__base_8h_source.html">media_handler_test_base.h</a></li>
<li>packager/media/base/<a class="el" href="../../d2/dc7/media__handler__test__base_8cc_source.html">media_handler_test_base.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Dec 11 2017 18:13:54 for Shaka Packager 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>