2015-10-16 00:33:37 +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: media/formats/mp4/fourccs.h Source File< / 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 > < a href = "../../annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < 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 = "../../files.html" > < span > File  List< / 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)">
2015-10-19 19:22:31 +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 > Enumerator< / a > < / 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 >
< li class = "navelem" > < a class = "el" href = "../../dir_39dc0668bd5a501998f94e8b4e546c71.html" > media< / a > < / li > < li class = "navelem" > < a class = "el" href = "../../dir_65f7acfa8cf3a5f1edc11faa2428b914.html" > formats< / a > < / li > < li class = "navelem" > < a class = "el" href = "../../dir_3e9291fd7a18fdecc763294cb2628910.html" > mp4< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > fourccs.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "comment" > // Copyright (c) 2012 The Chromium Authors. All rights reserved.< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "comment" > // Use of this source code is governed by a BSD-style license that can be< / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "comment" > // found in the LICENSE file.< / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "preprocessor" > #ifndef MEDIA_FORMATS_MP4_FOURCCS_H_< / span > < / div >
2015-10-19 17:27:30 +00:00
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define MEDIA_FORMATS_MP4_FOURCCS_H_< / span > < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < span class = "preprocessor" > < / span > < / div >
2015-10-16 00:33:37 +00:00
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "preprocessor" > #include < string> < / 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 = "keyword" > namespace < / span > edash_packager {< / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "keyword" > namespace < / span > media {< / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "keyword" > namespace < / span > mp4 {< / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "keyword" > enum< / span > FourCC {< / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   FOURCC_NULL = 0,< / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   FOURCC_AVC1 = 0x61766331,< / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   FOURCC_AVCC = 0x61766343,< / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   FOURCC_BLOC = 0x626C6F63,< / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   FOURCC_CENC = 0x63656e63,< / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   FOURCC_CO64 = 0x636f3634,< / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   FOURCC_CTTS = 0x63747473,< / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   FOURCC_DASH = 0x64617368,< / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   FOURCC_DINF = 0x64696e66,< / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   FOURCC_DREF = 0x64726566,< / div >
< div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > 25< / span >   FOURCC_EAC3 = 0x65632d33,< / div >
< div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > 26< / span >   FOURCC_EDTS = 0x65647473,< / div >
< div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > 27< / span >   FOURCC_ELST = 0x656c7374,< / div >
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   FOURCC_ENCA = 0x656e6361,< / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   FOURCC_ENCV = 0x656e6376,< / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   FOURCC_ESDS = 0x65736473,< / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   FOURCC_FREE = 0x66726565,< / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   FOURCC_FRMA = 0x66726d61,< / div >
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > 33< / span >   FOURCC_FTYP = 0x66747970,< / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   FOURCC_HDLR = 0x68646c72,< / div >
< div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > 35< / span >   FOURCC_HINT = 0x68696e74,< / div >
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   FOURCC_ISO6 = 0x69736f36,< / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   FOURCC_IODS = 0x696f6473,< / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   FOURCC_MDAT = 0x6d646174,< / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   FOURCC_MDHD = 0x6d646864,< / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   FOURCC_MDIA = 0x6d646961,< / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   FOURCC_MECO = 0x6d65636f,< / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > 42< / span >   FOURCC_MEHD = 0x6d656864,< / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   FOURCC_META = 0x6d657461,< / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   FOURCC_MFHD = 0x6d666864,< / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > 45< / span >   FOURCC_MFRA = 0x6d667261,< / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > 46< / span >   FOURCC_MINF = 0x6d696e66,< / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   FOURCC_MOOF = 0x6d6f6f66,< / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   FOURCC_MOOV = 0x6d6f6f76,< / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   FOURCC_MP41 = 0x6d703431,< / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   FOURCC_MP4A = 0x6d703461,< / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   FOURCC_MP4V = 0x6d703476,< / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   FOURCC_MVEX = 0x6d766578,< / div >
< div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > 53< / span >   FOURCC_MVHD = 0x6d766864,< / div >
< div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > 54< / span >   FOURCC_PASP = 0x70617370,< / div >
< div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > 55< / span >   FOURCC_PDIN = 0x7064696e,< / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   FOURCC_PRFT = 0x70726674,< / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > 57< / span >   FOURCC_PSSH = 0x70737368,< / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > 58< / span >   FOURCC_SAIO = 0x7361696f,< / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > 59< / span >   FOURCC_SAIZ = 0x7361697a,< / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > 60< / span >   FOURCC_SBGP = 0x73626770,< / div >
< div class = "line" > < a name = "l00061" > < / a > < span class = "lineno" > 61< / span >   FOURCC_SCHI = 0x73636869,< / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > 62< / span >   FOURCC_SCHM = 0x7363686d,< / div >
< div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > 63< / span >   FOURCC_SDTP = 0x73647470,< / div >
< div class = "line" > < a name = "l00064" > < / a > < span class = "lineno" > 64< / span >   FOURCC_SEIG = 0x73656967,< / div >
< div class = "line" > < a name = "l00065" > < / a > < span class = "lineno" > 65< / span >   FOURCC_SGPD = 0x73677064,< / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   FOURCC_SIDX = 0x73696478,< / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   FOURCC_SINF = 0x73696e66,< / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / span >   FOURCC_SKIP = 0x736b6970,< / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   FOURCC_SMHD = 0x736d6864,< / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > 70< / span >   FOURCC_SOUN = 0x736f756e,< / div >
< div class = "line" > < a name = "l00071" > < / a > < span class = "lineno" > 71< / span >   FOURCC_SSIX = 0x73736978,< / div >
< div class = "line" > < a name = "l00072" > < / a > < span class = "lineno" > 72< / span >   FOURCC_STBL = 0x7374626c,< / div >
< div class = "line" > < a name = "l00073" > < / a > < span class = "lineno" > 73< / span >   FOURCC_STCO = 0x7374636f,< / div >
< div class = "line" > < a name = "l00074" > < / a > < span class = "lineno" > 74< / span >   FOURCC_STSC = 0x73747363,< / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > 75< / span >   FOURCC_STSD = 0x73747364,< / div >
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > 76< / span >   FOURCC_STSS = 0x73747373,< / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > 77< / span >   FOURCC_STSZ = 0x7374737a,< / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > 78< / span >   FOURCC_STTS = 0x73747473,< / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > 79< / span >   FOURCC_STYP = 0x73747970,< / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > 80< / span >   FOURCC_STZ2 = 0x73747a32,< / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / span >   FOURCC_TENC = 0x74656e63,< / div >
< div class = "line" > < a name = "l00082" > < / a > < span class = "lineno" > 82< / span >   FOURCC_TFDT = 0x74666474,< / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > 83< / span >   FOURCC_TFHD = 0x74666864,< / div >
< div class = "line" > < a name = "l00084" > < / a > < span class = "lineno" > 84< / span >   FOURCC_TKHD = 0x746b6864,< / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > 85< / span >   FOURCC_TRAF = 0x74726166,< / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > 86< / span >   FOURCC_TRAK = 0x7472616b,< / div >
< div class = "line" > < a name = "l00087" > < / a > < span class = "lineno" > 87< / span >   FOURCC_TREX = 0x74726578,< / div >
< div class = "line" > < a name = "l00088" > < / a > < span class = "lineno" > 88< / span >   FOURCC_TRUN = 0x7472756e,< / div >
< div class = "line" > < a name = "l00089" > < / a > < span class = "lineno" > 89< / span >   FOURCC_UDTA = 0x75647461,< / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > 90< / span >   FOURCC_URL = 0x75726c20,< / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > 91< / span >   FOURCC_URN = 0x75726e20,< / div >
< div class = "line" > < a name = "l00092" > < / a > < span class = "lineno" > 92< / span >   FOURCC_UUID = 0x75756964,< / div >
< div class = "line" > < a name = "l00093" > < / a > < span class = "lineno" > 93< / span >   FOURCC_VIDE = 0x76696465,< / div >
< div class = "line" > < a name = "l00094" > < / a > < span class = "lineno" > 94< / span >   FOURCC_VMHD = 0x766d6864,< / div >
< div class = "line" > < a name = "l00095" > < / a > < span class = "lineno" > 95< / span >   FOURCC_WIDE = 0x77696465,< / div >
< div class = "line" > < a name = "l00096" > < / a > < span class = "lineno" > 96< / span >   };< / div >
< div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > 97< / span >   < / div >
< div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > inline< / span > std::string FourCCToString(FourCC fourcc) {< / div >
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   < span class = "keywordtype" > char< / span > buf[5];< / div >
< div class = "line" > < a name = "l00100" > < / a > < span class = "lineno" > 100< / span >   buf[0] = (fourcc > > 24) & 0xff;< / div >
< div class = "line" > < a name = "l00101" > < / a > < span class = "lineno" > 101< / span >   buf[1] = (fourcc > > 16) & 0xff;< / div >
< div class = "line" > < a name = "l00102" > < / a > < span class = "lineno" > 102< / span >   buf[2] = (fourcc > > 8) & 0xff;< / div >
< div class = "line" > < a name = "l00103" > < / a > < span class = "lineno" > 103< / span >   buf[3] = (fourcc) & 0xff;< / div >
< div class = "line" > < a name = "l00104" > < / a > < span class = "lineno" > 104< / span >   buf[4] = 0;< / div >
< div class = "line" > < a name = "l00105" > < / a > < span class = "lineno" > 105< / span >   < span class = "keywordflow" > return< / span > std::string(buf);< / div >
< div class = "line" > < a name = "l00106" > < / a > < span class = "lineno" > 106< / span >   }< / div >
< div class = "line" > < a name = "l00107" > < / a > < span class = "lineno" > 107< / span >   < / div >
< div class = "line" > < a name = "l00108" > < / a > < span class = "lineno" > 108< / span >   } < span class = "comment" > // namespace mp4< / span > < / div >
< div class = "line" > < a name = "l00109" > < / a > < span class = "lineno" > 109< / span >   } < span class = "comment" > // namespace media< / span > < / div >
< div class = "line" > < a name = "l00110" > < / a > < span class = "lineno" > 110< / span >   } < span class = "comment" > // namespace edash_packager< / span > < / div >
< div class = "line" > < a name = "l00111" > < / a > < span class = "lineno" > 111< / span >   < / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   < span class = "preprocessor" > #endif // MEDIA_FORMATS_MP4_FOURCCS_H_< / span > < / div >
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2015-10-20 16:47:33 +00:00
Generated on Tue Oct 20 2015 16:47:27 for DASH Media Packaging SDK by   < a href = "http://www.doxygen.org/index.html" >
2015-10-16 00:33:37 +00:00
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
< / a > 1.8.6
< / small > < / address >
< / body >
< / html >