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

150 lines
13 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<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/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;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Shaka Packager SDK
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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)">
</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:ad04018d25b7a04fa946011bdb48bcd55"><td class="memItemLeft" align="right" valign="top"><a id="ad04018d25b7a04fa946011bdb48bcd55"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsVideoCodec</b> (Codec codec) const</td></tr>
<tr class="separator:ad04018d25b7a04fa946011bdb48bcd55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80a6cbea717f77365ef4a35193e40f13"><td class="memItemLeft" align="right" valign="top"><a id="a80a6cbea717f77365ef4a35193e40f13"></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:a80a6cbea717f77365ef4a35193e40f13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f41369a9c72751e81c5ed4bd502fe67"><td class="memItemLeft" align="right" valign="top"><a id="a7f41369a9c72751e81c5ed4bd502fe67"></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:a7f41369a9c72751e81c5ed4bd502fe67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07c59f3d1a00141e3bf4ed4c16ed1b47"><td class="memItemLeft" align="right" valign="top"><a id="a07c59f3d1a00141e3bf4ed4c16ed1b47"></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:a07c59f3d1a00141e3bf4ed4c16ed1b47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a671fc1ec9c95d5740227f83ed3e7dd0f"><td class="memItemLeft" align="right" valign="top"><a id="a671fc1ec9c95d5740227f83ed3e7dd0f"></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:a671fc1ec9c95d5740227f83ed3e7dd0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fee1c450dfba4ca93efac8dcc1fa5b3"><td class="memItemLeft" align="right" valign="top"><a id="a3fee1c450dfba4ca93efac8dcc1fa5b3"></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:a3fee1c450dfba4ca93efac8dcc1fa5b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae81b1b5d401e5d1828a6d171d7de3fba"><td class="memItemLeft" align="right" valign="top"><a id="ae81b1b5d401e5d1828a6d171d7de3fba"></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:ae81b1b5d401e5d1828a6d171d7de3fba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a770a5e990972d6029cc1496eedf25cc5"><td class="memItemLeft" align="right" valign="top"><a id="a770a5e990972d6029cc1496eedf25cc5"></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:a770a5e990972d6029cc1496eedf25cc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf2e3c2d56f7713ec4b8744c6ccd7d48"><td class="memItemLeft" align="right" valign="top"><a id="aaf2e3c2d56f7713ec4b8744c6ccd7d48"></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:aaf2e3c2d56f7713ec4b8744c6ccd7d48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4100fc5355b6d3f96b5cb82505bc68ed"><td class="memItemLeft" align="right" valign="top"><a id="a4100fc5355b6d3f96b5cb82505bc68ed"></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:a4100fc5355b6d3f96b5cb82505bc68ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a655ba52cb958e192d47aa9953aaca297"><td class="memItemLeft" align="right" valign="top"><a id="a655ba52cb958e192d47aa9953aaca297"></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> (uint32_t timescale) const</td></tr>
<tr class="separator:a655ba52cb958e192d47aa9953aaca297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a653d1182888a38e1d2ef577cd4f0ba5d"><td class="memItemLeft" align="right" valign="top"><a id="a653d1182888a38e1d2ef577cd4f0ba5d"></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, int64_t start, int64_t end, const std::string &amp;payload) const</td></tr>
<tr class="separator:a653d1182888a38e1d2ef577cd4f0ba5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72ba55d99dcf8635c47fe28b4e936c11"><td class="memItemLeft" align="right" valign="top"><a id="a72ba55d99dcf8635c47fe28b4e936c11"></a>
std::unique_ptr&lt; <a class="el" href="../../da/d93/structshaka_1_1media_1_1CueEvent.html">CueEvent</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>GetCueEvent</b> (double time_in_seconds) const</td></tr>
<tr class="separator:a72ba55d99dcf8635c47fe28b4e936c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adee2930c9c67b648e8fe74d87e8c5338"><td class="memItemLeft" align="right" valign="top"><a 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 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 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 class="definition">Definition at line <a class="el" href="../../db/d59/media__handler__test__base_8h_source.html#l00288">288</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 Thu Jun 10 2021 21:44:27 for Shaka Packager SDK by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>