2017-02-11 02:48:58 +00:00
<!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::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" > 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 > 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 = "#pub-methods" > Public Member Functions< / a > |
< 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" >
< / 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:ac697d026d8da483cbbfbf866b0540830" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ac697d026d8da483cbbfbf866b0540830" > < / a >
std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#ac697d026d8da483cbbfbf866b0540830" > GetStreamInfoStreamData< / a > (int stream_index, Codec codec, uint32_t time_scale)< / td > < / tr >
< tr class = "memdesc:ac697d026d8da483cbbfbf866b0540830" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return a stream data with mock stream info. < br / > < / td > < / tr >
< tr class = "separator:ac697d026d8da483cbbfbf866b0540830" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5638d5f1141920ebe7a189c6b6a18b48" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a5638d5f1141920ebe7a189c6b6a18b48" > < / a >
std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a5638d5f1141920ebe7a189c6b6a18b48" > GetVideoStreamInfoStreamData< / a > (int stream_index, uint32_t time_scale)< / td > < / tr >
< tr class = "memdesc:a5638d5f1141920ebe7a189c6b6a18b48" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return a stream data with mock video stream info. < br / > < / td > < / tr >
< tr class = "separator:a5638d5f1141920ebe7a189c6b6a18b48" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3bde32a7cdcd4fa8853576f782e7605e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a3bde32a7cdcd4fa8853576f782e7605e" > < / a >
std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a3bde32a7cdcd4fa8853576f782e7605e" > GetAudioStreamInfoStreamData< / a > (int stream_index, uint32_t time_scale)< / td > < / tr >
< tr class = "memdesc:a3bde32a7cdcd4fa8853576f782e7605e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return a stream data with mock audio stream info. < br / > < / td > < / tr >
< tr class = "separator:a3bde32a7cdcd4fa8853576f782e7605e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab3e2820a25ce35ad3697a586bba45957" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ab3e2820a25ce35ad3697a586bba45957" > < / a >
std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#ab3e2820a25ce35ad3697a586bba45957" > GetMediaSampleStreamData< / a > (int stream_index, int64_t timestamp, int64_t duration, bool is_keyframe)< / td > < / tr >
< tr class = "memdesc:ab3e2820a25ce35ad3697a586bba45957" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return a stream data with mock media sample. < br / > < / td > < / tr >
< tr class = "separator:ab3e2820a25ce35ad3697a586bba45957" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8067f4a4e1c1770edfb5ba873a78b07c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a8067f4a4e1c1770edfb5ba873a78b07c" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a8067f4a4e1c1770edfb5ba873a78b07c" > SetUpGraph< / a > (int num_inputs, int num_outputs, std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > handler)< / td > < / tr >
< tr class = "memdesc:a8067f4a4e1c1770edfb5ba873a78b07c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Setup a graph using |handler| with |num_inputs| and |num_outputs|. < br / > < / td > < / tr >
< tr class = "separator:a8067f4a4e1c1770edfb5ba873a78b07c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a019ed85bb6a06dde91fe0620f634bba0" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a019ed85bb6a06dde91fe0620f634bba0" > < / a >
const std::vector< br class = "typebreak" / >
< std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > > > &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a019ed85bb6a06dde91fe0620f634bba0" > GetOutputStreamDataVector< / a > () const < / td > < / tr >
< tr class = "memdesc:a019ed85bb6a06dde91fe0620f634bba0" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Return the output stream data vector from handler. < br / > < / td > < / tr >
< tr class = "separator:a019ed85bb6a06dde91fe0620f634bba0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7a600a18a6dec0d32b75c292dc634474" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7a600a18a6dec0d32b75c292dc634474" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a7a600a18a6dec0d32b75c292dc634474" > ClearOutputStreamDataVector< / a > ()< / td > < / tr >
< tr class = "memdesc:a7a600a18a6dec0d32b75c292dc634474" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Clear the output stream data vector. < br / > < / td > < / tr >
< tr class = "separator:a7a600a18a6dec0d32b75c292dc634474" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aba1f3fe6f82c2a205aefdeae3be60d1d" > < td class = "memItemLeft" align = "right" valign = "top" > std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#aba1f3fe6f82c2a205aefdeae3be60d1d" > some_handler< / a > ()< / td > < / tr >
< tr class = "separator:aba1f3fe6f82c2a205aefdeae3be60d1d" > < td class = "memSeparator" colspan = "2" >   < / 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#l00039" > 39< / a > of file < a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html" > media_handler_test_base.h< / a > .< / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
< a class = "anchor" id = "aba1f3fe6f82c2a205aefdeae3be60d1d" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > std::shared_ptr< < a class = "el" href = "../../da/dfd/classshaka_1_1media_1_1MediaHandler.html" > MediaHandler< / a > > shaka::media::MediaHandlerTestBase::some_handler < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section return" > < dt > Returns< / dt > < dd > some random handler that can be used for testing. < / dd > < / dl >
< p > Definition at line < a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html#l00081" > 81< / a > of file < a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html" > media_handler_test_base.h< / a > .< / p >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > media/base/< a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html" > media_handler_test_base.h< / a > < / li >
< li > 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 >
2017-03-15 20:49:01 +00:00
Generated on Wed Mar 15 2017 20:48:56 for DASH Media Packaging SDK by   < a href = "http://www.doxygen.org/index.html" >
2017-02-11 02:48:58 +00:00
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
< / a > 1.8.6
< / small > < / address >
< / body >
< / html >