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" / >
2017-09-20 02:35:05 +00:00
< title > Shaka Packager SDK: shaka::media::MediaHandlerTestBase Class Reference< / title >
2017-02-11 02:48:58 +00:00
< 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;" >
2017-09-20 02:35:05 +00:00
< div id = "projectname" > Shaka Packager SDK
2017-02-11 02:48:58 +00:00
< / 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)">
2017-09-20 02:35:05 +00:00
< 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 > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Friends< / a > < / div >
2017-02-11 02:48:58 +00:00
<!-- 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 >
2017-09-20 02:35:05 +00:00
< tr class = "memitem:add29bacd83f0c2410c73c46d2fafff13" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "add29bacd83f0c2410c73c46d2fafff13" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > IsVideoCodec< / b > (Codec codec) const < / td > < / tr >
< tr class = "separator:add29bacd83f0c2410c73c46d2fafff13" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a63d9b2d771bb15c7a8739c413e81a7b7" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a63d9b2d771bb15c7a8739c413e81a7b7" > < / a >
std::unique_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > >   < / 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" >   < / td > < / tr >
< tr class = "memitem:ab9226d867acaa4285faf3b9c9d53401c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ab9226d867acaa4285faf3b9c9d53401c" > < / a >
std::unique_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > >   < / 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" >   < / td > < / tr >
< tr class = "memitem:a36bd768d7bb46f69bea192ce34df76fa" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a36bd768d7bb46f69bea192ce34df76fa" > < / a >
std::unique_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > >   < / 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" >   < / td > < / tr >
< tr class = "memitem:a4d40b75e8833c1be5f755e9d657f282c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a4d40b75e8833c1be5f755e9d657f282c" > < / a >
std::unique_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > >   < / 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" >   < / td > < / tr >
< tr class = "memitem:a6765818671f117c00a6dc95d97a0ce5d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a6765818671f117c00a6dc95d97a0ce5d" > < / a >
std::unique_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > >   < / 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" >   < / td > < / tr >
< tr class = "memitem:a93c9a32a53ef3d921ba52205f5fe3701" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a93c9a32a53ef3d921ba52205f5fe3701" > < / a >
std::unique_ptr< < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > >   < / 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" >   < / td > < / tr >
< tr class = "memitem:a7d1791197962cbcbd89d4422a05d9c49" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7d1791197962cbcbd89d4422a05d9c49" > < / a >
std::unique_ptr< < a class = "el" href = "../../d7/d6d/classshaka_1_1media_1_1MediaSample.html" > MediaSample< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < b > GetMediaSample< / b > (int64_t timestamp, int64_t duration, bool is_keyframe) const < / td > < / tr >
< tr class = "separator:a7d1791197962cbcbd89d4422a05d9c49" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8727a44e20c875e419ced2e964e57f3a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a8727a44e20c875e419ced2e964e57f3a" > < / a >
std::unique_ptr< < a class = "el" href = "../../d7/d6d/classshaka_1_1media_1_1MediaSample.html" > MediaSample< / a > >   < / 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:a8727a44e20c875e419ced2e964e57f3a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a285b1c2e8a5ef3f41fc570bd1f222e48" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a285b1c2e8a5ef3f41fc570bd1f222e48" > < / a >
std::unique_ptr< < a class = "el" href = "../../d0/dc0/structshaka_1_1media_1_1SegmentInfo.html" > SegmentInfo< / a > >   < / 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" >   < / td > < / tr >
2017-03-28 06:14:05 +00:00
< tr class = "memitem:a7ab44361bc98f2a9e32a9510388dbd70" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a7ab44361bc98f2a9e32a9510388dbd70" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a7ab44361bc98f2a9e32a9510388dbd70" > SetUpGraph< / a > (size_t num_inputs, size_t 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:a7ab44361bc98f2a9e32a9510388dbd70" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Setup a graph using |handler| with |num_inputs| and |num_outputs|. < br / > < / td > < / tr >
< tr class = "separator:a7ab44361bc98f2a9e32a9510388dbd70" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-03-22 00:49:05 +00:00
< tr class = "memitem:a019ed85bb6a06dde91fe0620f634bba0" > < td class = "memItemLeft" align = "right" valign = "top" > const std::vector< br class = "typebreak" / >
2017-02-11 02:48:58 +00:00
< 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 = "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 >
2017-05-15 16:24:34 +00:00
< tr class = "memitem:a00edfa6e4ab0371cdb823b72cb884306" > < td class = "memItemLeft" align = "right" valign = "top" > std::shared_ptr< < a class = "el" href = "../../d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html" > FakeMediaHandler< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d4/d9b/classshaka_1_1media_1_1MediaHandlerTestBase.html#a00edfa6e4ab0371cdb823b72cb884306" > next_handler< / a > ()< / td > < / tr >
< tr class = "separator:a00edfa6e4ab0371cdb823b72cb884306" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2017-02-11 02:48:58 +00:00
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" >
2017-05-15 16:24:34 +00:00
< p > Definition at line < a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html#l00094" > 94< / a > of file < a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html" > media_handler_test_base.h< / a > .< / p >
2017-02-11 02:48:58 +00:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2017-03-22 00:49:05 +00:00
< a class = "anchor" id = "a019ed85bb6a06dde91fe0620f634bba0" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const std::vector< std::unique_ptr< < a class = "el" href = "../../d0/d4c/structshaka_1_1media_1_1StreamData.html" > StreamData< / a > > > & shaka::media::MediaHandlerTestBase::GetOutputStreamDataVector < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section return" > < dt > Returns< / dt > < dd > the output stream data vector from handler. < / dd > < / dl >
2017-09-20 02:35:05 +00:00
< p > Definition at line < a class = "el" href = "../../d2/dc7/media__handler__test__base_8cc_source.html#l00179" > 179< / a > of file < a class = "el" href = "../../d2/dc7/media__handler__test__base_8cc_source.html" > media_handler_test_base.cc< / a > .< / p >
2017-05-15 16:24:34 +00:00
< / div >
< / div >
< a class = "anchor" id = "a00edfa6e4ab0371cdb823b72cb884306" > < / 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 = "../../d1/d36/classshaka_1_1media_1_1FakeMediaHandler.html" > FakeMediaHandler< / a > > shaka::media::MediaHandlerTestBase::next_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 a downstream handler that can be used for connecting. < / dd > < / dl >
2017-09-20 02:35:05 +00:00
< p > Definition at line < a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html#l00155" > 155< / a > of file < a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html" > media_handler_test_base.h< / a > .< / p >
2017-03-22 00:49:05 +00:00
< / div >
< / div >
2017-02-11 02:48:58 +00:00
< 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 >
2017-09-20 02:35:05 +00:00
< p > Definition at line < a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html#l00152" > 152< / a > of file < a class = "el" href = "../../db/d59/media__handler__test__base_8h_source.html" > media_handler_test_base.h< / a > .< / p >
2017-02-11 02:48:58 +00:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2017-09-20 02:35:05 +00:00
< 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 >
2017-02-11 02:48:58 +00:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2017-09-20 03:22:56 +00:00
Generated on Tue Sep 19 2017 20:22:10 for Shaka Packager 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 >