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">
2015-10-16 00:33:37 +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-04-10 04:00:37 +00:00
< meta name = "generator" content = "Doxygen 1.9.1" / >
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: packager/mpd/base/mock_mpd_builder.h Source File< / title >
2015-10-16 00:33:37 +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 >
2015-10-16 00:33:37 +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
2015-10-16 00:33:37 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2021-04-10 04:00:37 +00:00
<!-- Generated by Doxygen 1.9.1 -->
2015-10-16 00:33:37 +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 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search','.html');
/* @license-end */
2015-10-16 00:33:37 +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 >
2015-10-16 00:33:37 +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 >
2015-10-16 00:33:37 +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 >
2017-09-20 02:35:05 +00:00
< li class = "navelem" > < a class = "el" href = "../../dir_3f8eec2fc361645de4b1ec14c19fffc7.html" > packager< / a > < / li > < li class = "navelem" > < a class = "el" href = "../../dir_b885194e7131202a9b4650a8967e838c.html" > mpd< / a > < / li > < li class = "navelem" > < a class = "el" href = "../../dir_6fe4b0529cd3ec97045d3314254a0cce.html" > base< / a > < / li > < / ul >
2015-10-16 00:33:37 +00:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > mock_mpd_builder.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2021-04-10 04:00:37 +00:00
< div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "comment" > // Copyright 2015 Google Inc. All rights reserved.< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "comment" > // Use of this source code is governed by a BSD-style< / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < span class = "comment" > // license that can be found in the LICENSE file or at< / span > < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "comment" > // https://developers.google.com/open-source/licenses/bsd< / span > < / div >
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < span class = "preprocessor" > #ifndef MPD_BASE_MOCK_MPD_BUILDER_H_< / span > < / div >
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "preprocessor" > #define MPD_BASE_MOCK_MPD_BUILDER_H_< / span > < / div >
< div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < / div >
< div class = "line" > < a name = "l00010" > < / a > < span class = "lineno" > 10< / span >   < span class = "preprocessor" > #include < gmock/gmock.h> < / span > < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "preprocessor" > #include " packager/base/compiler_specific.h" < / span > < / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "preprocessor" > #include " packager/base/synchronization/lock.h" < / span > < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "preprocessor" > #include " packager/mpd/base/adaptation_set.h" < / span > < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < span class = "preprocessor" > #include " packager/mpd/base/content_protection_element.h" < / span > < / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   < span class = "preprocessor" > #include " packager/mpd/base/mpd_builder.h" < / span > < / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   < span class = "preprocessor" > #include " packager/mpd/base/period.h" < / span > < / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < span class = "preprocessor" > #include " packager/mpd/base/representation.h" < / span > < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   < / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < span class = "keyword" > namespace < / span > < a class = "code" href = "../../d8/daf/namespaceshaka.html" > shaka< / a > {< / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > < a class = "line" href = "../../df/d60/classshaka_1_1MockMpdBuilder.html" > 22< / a > < / span >   < span class = "keyword" > class < / span > < a class = "code" href = "../../df/d60/classshaka_1_1MockMpdBuilder.html" > MockMpdBuilder< / a > : < span class = "keyword" > public< / span > < a class = "code" href = "../../dc/da1/classshaka_1_1MpdBuilder.html" > MpdBuilder< / a > {< / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < a class = "code" href = "../../df/d60/classshaka_1_1MockMpdBuilder.html" > MockMpdBuilder< / a > ();< / div >
< div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > 25< / span >   ~< a class = "code" href = "../../df/d60/classshaka_1_1MockMpdBuilder.html" > MockMpdBuilder< / a > () < span class = "keyword" > override< / span > ;< / div >
< div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > 26< / span >   < / div >
< div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > 27< / span >   MOCK_METHOD1(< a class = "code" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#ae03eb3ac55f8b1360a57a1af16f593e6" > GetOrCreatePeriod< / a > , < a class = "code" href = "../../d8/de1/classshaka_1_1Period.html" > Period< / a > *(< span class = "keywordtype" > double< / span > start_time_in_seconds));< / div >
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   MOCK_METHOD1(< a class = "code" href = "../../dc/da1/classshaka_1_1MpdBuilder.html#a058a7c0bde155071773bcfaa5f0f5b3b" > ToString< / a > , < span class = "keywordtype" > bool< / span > (std::string* output));< / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   };< / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   < / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > < a class = "line" href = "../../d8/d02/classshaka_1_1MockPeriod.html" > 31< / a > < / span >   < span class = "keyword" > class < / span > < a class = "code" href = "../../d8/d02/classshaka_1_1MockPeriod.html" > MockPeriod< / a > : < span class = "keyword" > public< / span > < a class = "code" href = "../../d8/de1/classshaka_1_1Period.html" > Period< / a > {< / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > 33< / span >   < a class = "code" href = "../../d8/d02/classshaka_1_1MockPeriod.html" > MockPeriod< / a > (uint32_t period_id, < span class = "keywordtype" > double< / span > < a class = "code" href = "../../d8/de1/classshaka_1_1Period.html#a93ec8606ac8aa96139d3b5459ccb303d" > start_time_in_seconds< / a > );< / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   < / div >
< div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > 35< / span >   MOCK_METHOD2(< a class = "code" href = "../../d8/de1/classshaka_1_1Period.html#a6481aa2a87b0154796f49cb6198d0deb" > GetOrCreateAdaptationSet< / a > ,< / div >
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   < a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > *(< span class = "keyword" > const< / span > MediaInfo& media_info,< / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   < span class = "keywordtype" > bool< / span > content_protection_in_adaptation_set));< / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < span class = "comment" > // Only for constructing the super class. Not used for testing.< / span > < / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   uint32_t sequence_counter_ = 0;< / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   };< / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > < a class = "line" href = "../../db/d4b/classshaka_1_1MockAdaptationSet.html" > 44< / a > < / span >   < span class = "keyword" > class < / span > < a class = "code" href = "../../db/d4b/classshaka_1_1MockAdaptationSet.html" > MockAdaptationSet< / a > : < span class = "keyword" > public< / span > < a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > {< / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > 45< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > 46< / span >   < a class = "code" href = "../../db/d4b/classshaka_1_1MockAdaptationSet.html" > MockAdaptationSet< / a > ();< / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   ~< a class = "code" href = "../../db/d4b/classshaka_1_1MockAdaptationSet.html" > MockAdaptationSet< / a > () < span class = "keyword" > override< / span > ;< / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   < / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   MOCK_METHOD1(< a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a124e3c1ba5e3209f3214a556ecae28c3" > AddRepresentation< / a > , < a class = "code" href = "../../de/d52/classshaka_1_1Representation.html" > Representation< / a > *(< span class = "keyword" > const< / span > MediaInfo& media_info));< / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   MOCK_METHOD1(< a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a48a144f36f6ba4736f683f102582fabc" > CopyRepresentation< / a > ,< / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   < a class = "code" href = "../../de/d52/classshaka_1_1Representation.html" > Representation< / a > *(< span class = "keyword" > const< / span > < a class = "code" href = "../../de/d52/classshaka_1_1Representation.html" > Representation< / a > & representation));< / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   MOCK_METHOD1(< a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a28c52febc71a581ebec2c1308f6ea15c" > AddContentProtectionElement< / a > ,< / div >
< div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > 53< / span >   < span class = "keywordtype" > void< / span > (< span class = "keyword" > const< / span > < a class = "code" href = "../../da/d43/structshaka_1_1ContentProtectionElement.html" > ContentProtectionElement< / a > & element));< / div >
< div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > 54< / span >   MOCK_METHOD2(< a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#ae8a28838bf1bbc1ad8f5b80961fe33c2" > UpdateContentProtectionPssh< / a > ,< / div >
< div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > 55< / span >   < span class = "keywordtype" > void< / span > (< span class = "keyword" > const< / span > std::string& drm_uuid, < span class = "keyword" > const< / span > std::string& pssh));< / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   MOCK_METHOD1(< a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#ae96ad89ec7cc7d5ef1db467a9cf13730" > AddRole< / a > , < span class = "keywordtype" > void< / span > (AdaptationSet::Role role));< / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > 57< / span >   MOCK_METHOD1(< a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a40532ecbed5f71de85bde0cb7eb1ef9d" > ForceSetSegmentAlignment< / a > , < span class = "keywordtype" > void< / span > (< span class = "keywordtype" > bool< / span > segment_alignment));< / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / span >   MOCK_METHOD1(< a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a979cef296d0e67c271641a0c3146e8f3" > AddAdaptationSetSwitching< / a > ,< / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > 59< / span >   < span class = "keywordtype" > void< / span > (< span class = "keyword" > const< / span > < a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > * adaptation_set));< / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > 60< / span >   MOCK_METHOD1(< a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a834d1c61e34db517169b802b8a11eeda" > AddTrickPlayReference< / a > ,< / div >
< div class = "line" > < a name = "l00061" > < / a > < span class = "lineno" > 61< / span >   < span class = "keywordtype" > void< / span > (< span class = "keyword" > const< / span > < a class = "code" href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > AdaptationSet< / a > * adaptation_set));< / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > 62< / span >   < / div >
< div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > 63< / span >   < span class = "keyword" > private< / span > :< / div >
< div class = "line" > < a name = "l00064" > < / a > < span class = "lineno" > 64< / span >   < span class = "comment" > // Only for constructing the super class. Not used for testing.< / span > < / div >
< div class = "line" > < a name = "l00065" > < / a > < span class = "lineno" > 65< / span >   uint32_t sequence_counter_ = 0;< / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   };< / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   < / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > < a class = "line" href = "../../d0/d33/classshaka_1_1MockRepresentation.html" > 68< / a > < / span >   < span class = "keyword" > class < / span > < a class = "code" href = "../../d0/d33/classshaka_1_1MockRepresentation.html" > MockRepresentation< / a > : < span class = "keyword" > public< / span > < a class = "code" href = "../../de/d52/classshaka_1_1Representation.html" > Representation< / a > {< / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   < span class = "keyword" > public< / span > :< / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > 70< / span >   < span class = "comment" > // |representation_id| is the numeric ID for the < Representation> .< / span > < / div >
< div class = "line" > < a name = "l00071" > < / a > < span class = "lineno" > 71< / span >   < span class = "keyword" > explicit< / span > < a class = "code" href = "../../d0/d33/classshaka_1_1MockRepresentation.html" > MockRepresentation< / a > (uint32_t representation_id);< / div >
< div class = "line" > < a name = "l00072" > < / a > < span class = "lineno" > 72< / span >   ~< a class = "code" href = "../../d0/d33/classshaka_1_1MockRepresentation.html" > MockRepresentation< / a > () < span class = "keyword" > override< / span > ;< / div >
< div class = "line" > < a name = "l00073" > < / a > < span class = "lineno" > 73< / span >   < / div >
< div class = "line" > < a name = "l00074" > < / a > < span class = "lineno" > 74< / span >   MOCK_METHOD1(< a class = "code" href = "../../de/d52/classshaka_1_1Representation.html#a265d014093c9073b08505013886aaa8d" > AddContentProtectionElement< / a > ,< / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / span >   < span class = "keywordtype" > void< / span > (< span class = "keyword" > const< / span > < a class = "code" href = "../../da/d43/structshaka_1_1ContentProtectionElement.html" > ContentProtectionElement< / a > & element));< / div >
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > 76< / span >   MOCK_METHOD2(< a class = "code" href = "../../de/d52/classshaka_1_1Representation.html#a3d17325903aa01f0c8ff7753d94ff330" > UpdateContentProtectionPssh< / a > ,< / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > 77< / span >   < span class = "keywordtype" > void< / span > (< span class = "keyword" > const< / span > std::string& drm_uuid, < span class = "keyword" > const< / span > std::string& pssh));< / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > 78< / span >   MOCK_METHOD3(< a class = "code" href = "../../de/d52/classshaka_1_1Representation.html#ae9b6536925d1107e3f22ad3130cb9fe9" > AddNewSegment< / a > ,< / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > 79< / span >   < span class = "keywordtype" > void< / span > (int64_t start_time, int64_t duration, uint64_t size));< / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > 80< / span >   MOCK_METHOD1(< a class = "code" href = "../../de/d52/classshaka_1_1Representation.html#a11b32833166b9c4bea78cca2c6069d98" > SetSampleDuration< / a > , < span class = "keywordtype" > void< / span > (uint32_t sample_duration));< / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / span >   MOCK_CONST_METHOD0(< a class = "code" href = "../../de/d52/classshaka_1_1Representation.html#a524291f7a968cb040fdce0ac1db5fbd3" > GetMediaInfo< / a > , < span class = "keyword" > const< / span > MediaInfo& ());< / div >
< div class = "line" > < a name = "l00082" > < / a > < span class = "lineno" > 82< / span >   };< / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > 83< / span >   < / div >
< div class = "line" > < a name = "l00084" > < / a > < span class = "lineno" > 84< / span >   } < span class = "comment" > // namespace shaka< / span > < / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > 85< / span >   < / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > 86< / span >   < span class = "preprocessor" > #endif < / span > < span class = "comment" > // MPD_BASE_MOCK_MPD_BUILDER_H_< / span > < / div >
< div class = "ttc" id = "aclassshaka_1_1AdaptationSet_html" > < div class = "ttname" > < a href = "../../d8/d8e/classshaka_1_1AdaptationSet.html" > shaka::AdaptationSet< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d8/d72/adaptation__set_8h_source.html#l00033" > adaptation_set.h:33< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1AdaptationSet_html_a124e3c1ba5e3209f3214a556ecae28c3" > < div class = "ttname" > < a href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a124e3c1ba5e3209f3214a556ecae28c3" > shaka::AdaptationSet::AddRepresentation< / a > < / div > < div class = "ttdeci" > virtual Representation * AddRepresentation(const MediaInfo & media_info)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../de/dc2/adaptation__set_8cc_source.html#l00179" > adaptation_set.cc:179< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1AdaptationSet_html_a28c52febc71a581ebec2c1308f6ea15c" > < div class = "ttname" > < a href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a28c52febc71a581ebec2c1308f6ea15c" > shaka::AdaptationSet::AddContentProtectionElement< / a > < / div > < div class = "ttdeci" > virtual void AddContentProtectionElement(const ContentProtectionElement & element)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../de/dc2/adaptation__set_8cc_source.html#l00213" > adaptation_set.cc:213< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1AdaptationSet_html_a40532ecbed5f71de85bde0cb7eb1ef9d" > < div class = "ttname" > < a href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a40532ecbed5f71de85bde0cb7eb1ef9d" > shaka::AdaptationSet::ForceSetSegmentAlignment< / a > < / div > < div class = "ttdeci" > virtual void ForceSetSegmentAlignment(bool segment_alignment)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../de/dc2/adaptation__set_8cc_source.html#l00376" > adaptation_set.cc:376< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1AdaptationSet_html_a48a144f36f6ba4736f683f102582fabc" > < div class = "ttname" > < a href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a48a144f36f6ba4736f683f102582fabc" > shaka::AdaptationSet::CopyRepresentation< / a > < / div > < div class = "ttdeci" > virtual Representation * CopyRepresentation(const Representation & representation)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../de/dc2/adaptation__set_8cc_source.html#l00198" > adaptation_set.cc:198< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1AdaptationSet_html_a834d1c61e34db517169b802b8a11eeda" > < div class = "ttname" > < a href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a834d1c61e34db517169b802b8a11eeda" > shaka::AdaptationSet::AddTrickPlayReference< / a > < / div > < div class = "ttdeci" > virtual void AddTrickPlayReference(const AdaptationSet *adaptation_set)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../de/dc2/adaptation__set_8cc_source.html#l00410" > adaptation_set.cc:410< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1AdaptationSet_html_a979cef296d0e67c271641a0c3146e8f3" > < div class = "ttname" > < a href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#a979cef296d0e67c271641a0c3146e8f3" > shaka::AdaptationSet::AddAdaptationSetSwitching< / a > < / div > < div class = "ttdeci" > virtual void AddAdaptationSetSwitching(const AdaptationSet *adaptation_set)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../de/dc2/adaptation__set_8cc_source.html#l00382" > adaptation_set.cc:382< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1AdaptationSet_html_ae8a28838bf1bbc1ad8f5b80961fe33c2" > < div class = "ttname" > < a href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#ae8a28838bf1bbc1ad8f5b80961fe33c2" > shaka::AdaptationSet::UpdateContentProtectionPssh< / a > < / div > < div class = "ttdeci" > virtual void UpdateContentProtectionPssh(const std::string & drm_uuid, const std::string & pssh)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../de/dc2/adaptation__set_8cc_source.html#l00219" > adaptation_set.cc:219< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1AdaptationSet_html_ae96ad89ec7cc7d5ef1db467a9cf13730" > < div class = "ttname" > < a href = "../../d8/d8e/classshaka_1_1AdaptationSet.html#ae96ad89ec7cc7d5ef1db467a9cf13730" > shaka::AdaptationSet::AddRole< / a > < / div > < div class = "ttdeci" > virtual void AddRole(Role role)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../de/dc2/adaptation__set_8cc_source.html#l00230" > adaptation_set.cc:230< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1MockAdaptationSet_html" > < div class = "ttname" > < a href = "../../db/d4b/classshaka_1_1MockAdaptationSet.html" > shaka::MockAdaptationSet< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d9/d08/mock__mpd__builder_8h_source.html#l00044" > mock_mpd_builder.h:44< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1MockMpdBuilder_html" > < div class = "ttname" > < a href = "../../df/d60/classshaka_1_1MockMpdBuilder.html" > shaka::MockMpdBuilder< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d9/d08/mock__mpd__builder_8h_source.html#l00022" > mock_mpd_builder.h:22< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1MockPeriod_html" > < div class = "ttname" > < a href = "../../d8/d02/classshaka_1_1MockPeriod.html" > shaka::MockPeriod< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d9/d08/mock__mpd__builder_8h_source.html#l00031" > mock_mpd_builder.h:31< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1MockRepresentation_html" > < div class = "ttname" > < a href = "../../d0/d33/classshaka_1_1MockRepresentation.html" > shaka::MockRepresentation< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d9/d08/mock__mpd__builder_8h_source.html#l00068" > mock_mpd_builder.h:68< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1MpdBuilder_html" > < div class = "ttname" > < a href = "../../dc/da1/classshaka_1_1MpdBuilder.html" > shaka::MpdBuilder< / a > < / div > < div class = "ttdoc" > This class generates DASH MPDs (Media Presentation Descriptions).< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d6/da3/mpd__builder_8h_source.html#l00036" > mpd_builder.h:36< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1MpdBuilder_html_a058a7c0bde155071773bcfaa5f0f5b3b" > < div class = "ttname" > < a href = "../../dc/da1/classshaka_1_1MpdBuilder.html#a058a7c0bde155071773bcfaa5f0f5b3b" > shaka::MpdBuilder::ToString< / a > < / div > < div class = "ttdeci" > virtual bool ToString(std::string *output) WARN_UNUSED_RESULT< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d11/mpd__builder_8cc_source.html#l00159" > mpd_builder.cc:159< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1MpdBuilder_html_ae03eb3ac55f8b1360a57a1af16f593e6" > < div class = "ttname" > < a href = "../../dc/da1/classshaka_1_1MpdBuilder.html#ae03eb3ac55f8b1360a57a1af16f593e6" > shaka::MpdBuilder::GetOrCreatePeriod< / a > < / div > < div class = "ttdeci" > virtual Period * GetOrCreatePeriod(double start_time_in_seconds)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d11/mpd__builder_8cc_source.html#l00145" > mpd_builder.cc:145< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1Period_html" > < div class = "ttname" > < a href = "../../d8/de1/classshaka_1_1Period.html" > shaka::Period< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d7/d20/period_8h_source.html#l00026" > period.h:26< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1Period_html_a6481aa2a87b0154796f49cb6198d0deb" > < div class = "ttname" > < a href = "../../d8/de1/classshaka_1_1Period.html#a6481aa2a87b0154796f49cb6198d0deb" > shaka::Period::GetOrCreateAdaptationSet< / a > < / div > < div class = "ttdeci" > virtual AdaptationSet * GetOrCreateAdaptationSet(const MediaInfo & media_info, bool content_protection_in_adaptation_set)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/de1/period_8cc_source.html#l00074" > period.cc:74< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1Period_html_a93ec8606ac8aa96139d3b5459ccb303d" > < div class = "ttname" > < a href = "../../d8/de1/classshaka_1_1Period.html#a93ec8606ac8aa96139d3b5459ccb303d" > shaka::Period::start_time_in_seconds< / a > < / div > < div class = "ttdeci" > double start_time_in_seconds() const< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d7/d20/period_8h_source.html#l00055" > period.h:55< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1Representation_html" > < div class = "ttname" > < a href = "../../de/d52/classshaka_1_1Representation.html" > shaka::Representation< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d0/d2b/representation_8h_source.html#l00050" > representation.h:50< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1Representation_html_a11b32833166b9c4bea78cca2c6069d98" > < div class = "ttname" > < a href = "../../de/d52/classshaka_1_1Representation.html#a11b32833166b9c4bea78cca2c6069d98" > shaka::Representation::SetSampleDuration< / a > < / div > < div class = "ttdeci" > virtual void SetSampleDuration(uint32_t sample_duration)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d7/d94/representation_8cc_source.html#l00196" > representation.cc:196< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1Representation_html_a265d014093c9073b08505013886aaa8d" > < div class = "ttname" > < a href = "../../de/d52/classshaka_1_1Representation.html#a265d014093c9073b08505013886aaa8d" > shaka::Representation::AddContentProtectionElement< / a > < / div > < div class = "ttdeci" > virtual void AddContentProtectionElement(const ContentProtectionElement & element)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d7/d94/representation_8cc_source.html#l00159" > representation.cc:159< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1Representation_html_a3d17325903aa01f0c8ff7753d94ff330" > < div class = "ttname" > < a href = "../../de/d52/classshaka_1_1Representation.html#a3d17325903aa01f0c8ff7753d94ff330" > shaka::Representation::UpdateContentProtectionPssh< / a > < / div > < div class = "ttdeci" > virtual void UpdateContentProtectionPssh(const std::string & drm_uuid, const std::string & pssh)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d7/d94/representation_8cc_source.html#l00165" > representation.cc:165< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1Representation_html_a524291f7a968cb040fdce0ac1db5fbd3" > < div class = "ttname" > < a href = "../../de/d52/classshaka_1_1Representation.html#a524291f7a968cb040fdce0ac1db5fbd3" > shaka::Representation::GetMediaInfo< / a > < / div > < div class = "ttdeci" > virtual const MediaInfo & GetMediaInfo() const< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d7/d94/representation_8cc_source.html#l00211" > representation.cc:211< / a > < / div > < / div >
< div class = "ttc" id = "aclassshaka_1_1Representation_html_ae9b6536925d1107e3f22ad3130cb9fe9" > < div class = "ttname" > < a href = "../../de/d52/classshaka_1_1Representation.html#ae9b6536925d1107e3f22ad3130cb9fe9" > shaka::Representation::AddNewSegment< / a > < / div > < div class = "ttdeci" > virtual void AddNewSegment(int64_t start_time, int64_t duration, uint64_t size)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d7/d94/representation_8cc_source.html#l00171" > representation.cc:171< / a > < / div > < / div >
< div class = "ttc" id = "anamespaceshaka_html" > < div class = "ttname" > < a href = "../../d8/daf/namespaceshaka.html" > shaka< / a > < / div > < div class = "ttdoc" > All the methods that are virtual are virtual for mocking.< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../d4/d15/gflags__hex__bytes_8cc_source.html#l00011" > gflags_hex_bytes.cc:11< / a > < / div > < / div >
< div class = "ttc" id = "astructshaka_1_1ContentProtectionElement_html" > < div class = "ttname" > < a href = "../../da/d43/structshaka_1_1ContentProtectionElement.html" > shaka::ContentProtectionElement< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../de/dd6/content__protection__element_8h_source.html#l00036" > content_protection_element.h:36< / a > < / div > < / div >
2015-10-16 00:33:37 +00:00
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2021-06-11 04:44:53 +00:00
Generated on Thu Jun 10 2021 21:44:26 for Shaka Packager SDK by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "../../doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.9.1
2015-10-16 00:33:37 +00:00
< / small > < / address >
< / body >
< / html >