2021-04-10 04:00:37 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2016-01-07 17:08:40 +00:00
< 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" / >
2021-06-22 00:16:40 +00:00
< meta name = "generator" content = "Doxygen 1.8.17" / >
2018-02-10 23:37:42 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2017-09-20 02:35:05 +00:00
< title > Shaka Packager SDK: shaka::media::SegmentTestBase Class Reference< / title >
2016-01-07 17:08:40 +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" / >
2018-02-10 23:37:42 +00:00
< script type = "text/javascript" src = "../../search/searchdata.js" > < / script >
2016-01-07 17:08:40 +00:00
< 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;" >
2017-09-20 02:35:05 +00:00
< div id = "projectname" > Shaka Packager SDK
2016-01-07 17:08:40 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2021-06-22 00:16:40 +00:00
<!-- Generated by Doxygen 1.8.17 -->
2016-01-07 17:08:40 +00:00
< script type = "text/javascript" >
2021-04-10 04:00:37 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-06-22 00:16:40 +00:00
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
2021-04-10 04:00:37 +00:00
/* @license-end */
2016-01-07 17:08:40 +00:00
< / 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" >
2021-04-10 04:00:37 +00:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2018-02-10 23:37:42 +00:00
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2021-04-10 04:00:37 +00:00
/* @license-end */< / script >
2018-02-10 23:37:42 +00:00
< div id = "main-nav" > < / div >
2016-01-07 17:08:40 +00:00
<!-- 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 >
2016-01-07 17:08:40 +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 >
2016-05-24 23:43:16 +00:00
< 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 = "../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html" > SegmentTestBase< / a > < / li > < / ul >
2016-01-07 17:08:40 +00:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Classes< / a > |
2016-01-09 01:03:21 +00:00
< a href = "#pub-types" > Public Types< / a > |
2016-01-07 17:08:40 +00:00
< a href = "#pro-methods" > Protected Member Functions< / a > |
< a href = "#pro-attribs" > Protected Attributes< / a > |
2016-05-24 23:43:16 +00:00
< a href = "../../d8/df7/classshaka_1_1media_1_1SegmentTestBase-members.html" > List of all members< / a > < / div >
2016-01-07 17:08:40 +00:00
< div class = "headertitle" >
2016-05-24 23:43:16 +00:00
< div class = "title" > shaka::media::SegmentTestBase Class Reference< / div > < / div >
2016-01-07 17:08:40 +00:00
< / div > <!-- header -->
< div class = "contents" >
< div class = "dynheader" >
2016-05-24 23:43:16 +00:00
Inheritance diagram for shaka::media::SegmentTestBase:< / div >
2016-01-07 17:08:40 +00:00
< div class = "dyncontent" >
< div class = "center" >
2021-04-10 04:00:37 +00:00
< img src = "../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.png" alt = "" / >
2016-01-07 17:08:40 +00:00
< / div > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Classes< / h2 > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "memitem:" > < td class = "memItemLeft" align = "right" valign = "top" > class   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d2/df8/classshaka_1_1media_1_1SegmentTestBase_1_1ClusterParser.html" > ClusterParser< / a > < / td > < / tr >
2016-01-07 17:08:40 +00:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
2016-01-09 01:03:21 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-types" > < / a >
Public Types< / h2 > < / td > < / tr >
2021-06-22 00:16:40 +00:00
< tr class = "memitem:a87bc84da1212f084217f88ced1ce78d0" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a87bc84da1212f084217f88ced1ce78d0" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > KeyFrameFlag< / b > { < b > kKeyFrame< / b > ,
< b > kNotKeyFrame< / b >
2016-01-09 01:03:21 +00:00
}< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a87bc84da1212f084217f88ced1ce78d0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-06-22 00:16:40 +00:00
< tr class = "memitem:af476b8a36b31a4086a0132d74ae8db67" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "af476b8a36b31a4086a0132d74ae8db67" > < / a > enum   < / td > < td class = "memItemRight" valign = "bottom" > < b > SideDataFlag< / b > { < b > kGenerateSideData< / b > ,
< b > kNoSideData< / b >
2016-01-09 01:03:21 +00:00
}< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:af476b8a36b31a4086a0132d74ae8db67" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-01-09 01:03:21 +00:00
< / table > < table class = "memberdecls" >
2016-01-07 17:08:40 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pro-methods" > < / a >
Protected Member Functions< / h2 > < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:ac53eaf8bce4b0b1fad1200f66623dbe4" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ac53eaf8bce4b0b1fad1200f66623dbe4" > < / a >
2016-01-07 17:08:40 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > SetUp< / b > () override< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:ac53eaf8bce4b0b1fad1200f66623dbe4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a67700a923bc280a351bcc3c310a284ef" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a67700a923bc280a351bcc3c310a284ef" > < / a >
2016-01-07 17:08:40 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > TearDown< / b > () override< / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a67700a923bc280a351bcc3c310a284ef" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a89f8406b8a174eb5bdc611bec92f9f4f" > < td class = "memTemplParams" colspan = "2" > < a id = "a89f8406b8a174eb5bdc611bec92f9f4f" > < / a >
2016-01-07 17:08:40 +00:00
template< typename S > < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a89f8406b8a174eb5bdc611bec92f9f4f" > < td class = "memTemplItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a89f8406b8a174eb5bdc611bec92f9f4f" > CreateAndInitializeSegmenter< / a > (const < a class = "el" href = "../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html" > MuxerOptions< / a > & options, const < a class = "el" href = "../../d5/db1/classshaka_1_1media_1_1StreamInfo.html" > StreamInfo< / a > & info, std::unique_ptr< < a class = "el" href = "../../dd/dc5/classshaka_1_1media_1_1webm_1_1Segmenter.html" > webm::Segmenter< / a > > *result) const< / td > < / tr >
< tr class = "memdesc:a89f8406b8a174eb5bdc611bec92f9f4f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Creates a Segmenter of the given type and initializes it. < br / > < / td > < / tr >
< tr class = "separator:a89f8406b8a174eb5bdc611bec92f9f4f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afd8845d029698f556ca09436da0c62ef" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "afd8845d029698f556ca09436da0c62ef" > < / a >
2017-01-26 03:38:47 +00:00
std::shared_ptr< < a class = "el" href = "../../d7/d6d/classshaka_1_1media_1_1MediaSample.html" > MediaSample< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#afd8845d029698f556ca09436da0c62ef" > CreateSample< / a > (KeyFrameFlag key_frame_flag, uint64_t duration, SideDataFlag side_data_flag)< / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memdesc:afd8845d029698f556ca09436da0c62ef" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Creates a new media sample. < br / > < / td > < / tr >
2017-01-26 03:38:47 +00:00
< tr class = "separator:afd8845d029698f556ca09436da0c62ef" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a87fefed1921b0dad84b1d082e30cce37" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a87fefed1921b0dad84b1d082e30cce37" > < / a >
< a class = "el" href = "../../d0/d27/structshaka_1_1media_1_1MuxerOptions.html" > MuxerOptions< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a87fefed1921b0dad84b1d082e30cce37" > CreateMuxerOptions< / a > () const< / td > < / tr >
< tr class = "memdesc:a87fefed1921b0dad84b1d082e30cce37" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Creates a < a class = "el" href = "../../df/d46/classshaka_1_1media_1_1Muxer.html" > Muxer< / a > options object for testing. < br / > < / td > < / tr >
< tr class = "separator:a87fefed1921b0dad84b1d082e30cce37" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aeba2d28eb9f605bae1536e13c1cac950" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aeba2d28eb9f605bae1536e13c1cac950" > < / a >
< a class = "el" href = "../../d6/db1/classshaka_1_1media_1_1VideoStreamInfo.html" > VideoStreamInfo< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#aeba2d28eb9f605bae1536e13c1cac950" > CreateVideoStreamInfo< / a > (uint32_t time_scale) const< / td > < / tr >
< tr class = "memdesc:aeba2d28eb9f605bae1536e13c1cac950" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Creates a video stream info object for testing. < br / > < / td > < / tr >
< tr class = "separator:aeba2d28eb9f605bae1536e13c1cac950" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8d4178714145fa2d18821840db8fb2a6" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a8d4178714145fa2d18821840db8fb2a6" > < / a >
std::string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a8d4178714145fa2d18821840db8fb2a6" > OutputFileName< / a > () const< / td > < / tr >
< tr class = "memdesc:a8d4178714145fa2d18821840db8fb2a6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the file name of the current output file. < br / > < / td > < / tr >
< tr class = "separator:a8d4178714145fa2d18821840db8fb2a6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a08c5db7b7f28da29ca40147cf8673a7a" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a08c5db7b7f28da29ca40147cf8673a7a" > < / a >
std::string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "../../d2/dba/classshaka_1_1media_1_1SegmentTestBase.html#a08c5db7b7f28da29ca40147cf8673a7a" > TemplateFileName< / a > (int number) const< / td > < / tr >
< tr class = "memdesc:a08c5db7b7f28da29ca40147cf8673a7a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the file name of the given template file. < br / > < / td > < / tr >
< tr class = "separator:a08c5db7b7f28da29ca40147cf8673a7a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a09bee5db28093d1d841e592c1f7df11d" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a09bee5db28093d1d841e592c1f7df11d" > < / a >
2017-05-18 01:49:31 +00:00
void  < / td > < td class = "memItemRight" valign = "bottom" > < b > set_cur_timestamp< / b > (uint64_t timestamp)< / td > < / tr >
< tr class = "separator:a09bee5db28093d1d841e592c1f7df11d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-01-07 17:08:40 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pro-attribs" > < / a >
Protected Attributes< / h2 > < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a3b0399bdccd9deafde4c89db5e717193" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a3b0399bdccd9deafde4c89db5e717193" > < / a >
2016-01-07 17:08:40 +00:00
std::string  < / td > < td class = "memItemRight" valign = "bottom" > < b > output_file_name_< / b > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a3b0399bdccd9deafde4c89db5e717193" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a4b0873e7c733b3c45b5aeadec4c76c7a" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a4b0873e7c733b3c45b5aeadec4c76c7a" > < / a >
2016-01-07 17:08:40 +00:00
std::string  < / td > < td class = "memItemRight" valign = "bottom" > < b > segment_template_< / b > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:a4b0873e7c733b3c45b5aeadec4c76c7a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:a27591b463fcb7029e23c472839482400" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a27591b463fcb7029e23c472839482400" > < / a >
2017-05-18 01:49:31 +00:00
uint64_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > cur_timestamp_< / b > < / td > < / tr >
< tr class = "separator:a27591b463fcb7029e23c472839482400" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-02-10 23:37:42 +00:00
< tr class = "memitem:ae91bd23a2ffd05d10184b536cb35751a" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ae91bd23a2ffd05d10184b536cb35751a" > < / a >
2016-01-07 17:08:40 +00:00
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > single_segment_< / b > < / td > < / tr >
2016-05-24 23:43:16 +00:00
< tr class = "separator:ae91bd23a2ffd05d10184b536cb35751a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-01-07 17:08:40 +00:00
< / 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 = "../../d0/dee/segmenter__test__base_8h_source.html#l00028" > 28< / a > of file < a class = "el" href = "../../d0/dee/segmenter__test__base_8h_source.html" > segmenter_test_base.h< / a > .< / p >
2016-01-07 17:08:40 +00:00
< / 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/formats/webm/< a class = "el" href = "../../d0/dee/segmenter__test__base_8h_source.html" > segmenter_test_base.h< / a > < / li >
< li > packager/media/formats/webm/< a class = "el" href = "../../d4/da7/segmenter__test__base_8cc_source.html" > segmenter_test_base.cc< / a > < / li >
2016-01-07 17:08:40 +00:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2021-06-22 00:16:40 +00:00
Generated on Tue Jun 22 2021 00:16:05 for Shaka Packager SDK by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
< / a > 1.8.17
2016-01-07 17:08:40 +00:00
< / small > < / address >
< / body >
< / html >