mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
160 lines
13 KiB
HTML
160 lines
13 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||
|
|
<head>
|
||
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||
|
|
<meta name="generator" content="Doxygen 1.14.0"/>
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
|
<title>libaaruformat: include/aaruformat/consts.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>
|
||
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
||
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
||
|
|
<script type="text/javascript" src="navtree.js"></script>
|
||
|
|
<script type="text/javascript" src="cookie.js"></script>
|
||
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
||
|
|
<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 id="projectrow">
|
||
|
|
<td id="projectalign">
|
||
|
|
<div id="projectname">libaaruformat<span id="projectnumber"> 1.0</span>
|
||
|
|
</div>
|
||
|
|
<div id="projectbrief">Aaru Data Preservation Suite - Format Library</div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<!-- end header part -->
|
||
|
|
<!-- Generated by Doxygen 1.14.0 -->
|
||
|
|
<script type="text/javascript">
|
||
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||
|
|
</script>
|
||
|
|
<script type="text/javascript">
|
||
|
|
$(function() { codefold.init(); });
|
||
|
|
</script>
|
||
|
|
<script type="text/javascript" src="menudata.js"></script>
|
||
|
|
<script type="text/javascript" src="menu.js"></script>
|
||
|
|
<script type="text/javascript">
|
||
|
|
$(function() {
|
||
|
|
initMenu('',true,false,'search.php','Search',true);
|
||
|
|
$(function() { init_search(); });
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
<div id="main-nav"></div>
|
||
|
|
</div><!-- top -->
|
||
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||
|
|
<div id="nav-tree">
|
||
|
|
<div id="nav-tree-contents">
|
||
|
|
<div id="nav-sync" class="sync"></div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
||
|
|
class="ui-resizable-handle">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<script type="text/javascript">
|
||
|
|
$(function(){initNavTree('consts_8h_source.html','',''); });
|
||
|
|
</script>
|
||
|
|
<div id="container">
|
||
|
|
<div id="doc-content">
|
||
|
|
<!-- window showing the filter options -->
|
||
|
|
<div id="MSearchSelectWindow"
|
||
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
|
<div id="MSearchResultsWindow">
|
||
|
|
<div id="MSearchResults">
|
||
|
|
<div class="SRPage">
|
||
|
|
<div id="SRIndex">
|
||
|
|
<div id="SRResults"></div>
|
||
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="header">
|
||
|
|
<div class="headertitle"><div class="title">consts.h</div></div>
|
||
|
|
</div><!--header-->
|
||
|
|
<div class="contents">
|
||
|
|
<a href="consts_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div>
|
||
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * This file is part of the Aaru Data Preservation Suite.</span></div>
|
||
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * Copyright (c) 2019-2025 Natalia Portillo.</span></div>
|
||
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> *</span></div>
|
||
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * This library is free software; you can redistribute it and/or modify</span></div>
|
||
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> * it under the terms of the GNU Lesser General Public License as</span></div>
|
||
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> * published by the Free Software Foundation; either version 2.1 of the</span></div>
|
||
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> * License, or (at your option) any later version.</span></div>
|
||
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"> *</span></div>
|
||
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> * This library is distributed in the hope that it will be useful, but</span></div>
|
||
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
|
||
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span></div>
|
||
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> * Lesser General Public License for more details.</span></div>
|
||
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> *</span></div>
|
||
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
|
||
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> * License along with this library; if not, see <http://www.gnu.org/licenses/>.</span></div>
|
||
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment"> */</span></div>
|
||
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
|
||
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#ifndef LIBAARUFORMAT_CONSTS_H</span></div>
|
||
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#define LIBAARUFORMAT_CONSTS_H</span></div>
|
||
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
|
||
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#ifndef _MSC_VER</span></div>
|
||
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#pragma clang diagnostic push</span></div>
|
||
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#pragma ide diagnostic ignored "OCUnusedMacroInspection"</span></div>
|
||
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#endif</span></div>
|
||
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span></div>
|
||
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span></div>
|
||
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="consts_8h.html#a13ba7a163f45ee45c977d63c408539ca"> 61</a></span><span class="preprocessor">#define DIC_MAGIC 0x544D52464D434944ULL</span><span class="preprocessor"></span></div>
|
||
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="consts_8h.html#a3c3ba66fe2b547655c9e4b16a1ba519a"> 64</a></span><span class="preprocessor">#define AARU_MAGIC 0x544D524655524141ULL</span></div>
|
||
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span></div>
|
||
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="consts_8h.html#adbbd4387273589f1c76a5f5786607013"> 68</a></span><span class="preprocessor">#define AARUF_VERSION 2</span><span class="preprocessor"></span></div>
|
||
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="consts_8h.html#ac837e146bff4d0f3603e4a9e444358c6"> 71</a></span><span class="preprocessor">#define AARUF_VERSION_V1 1</span><span class="preprocessor"></span></div>
|
||
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="consts_8h.html#ad2fdced5805aa0364f1c5b073f81dd76"> 75</a></span><span class="preprocessor">#define AARUF_VERSION_V2 2</span></div>
|
||
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span></div>
|
||
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="consts_8h.html#a6c8469dfe973ac952cf40394bd2c160b"> 79</a></span><span class="preprocessor">#define MAX_CACHE_SIZE 536870912ULL</span></div>
|
||
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span></div>
|
||
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="consts_8h.html#a25fd08252b97a0230d3efc899bddd240"> 82</a></span><span class="preprocessor">#define LZMA_PROPERTIES_LENGTH 5</span></div>
|
||
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span></div>
|
||
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="consts_8h.html#ac97c436bf02e6e7e7daea67d374f03cd"> 87</a></span><span class="preprocessor">#define MAX_DDT_ENTRY_CACHE 16000000</span></div>
|
||
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span></div>
|
||
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="consts_8h.html#a44401191f17a7c09a05e57ff9e5cff24"> 90</a></span><span class="preprocessor">#define SAMPLES_PER_SECTOR 588</span></div>
|
||
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span></div>
|
||
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="consts_8h.html#a207a31e861ea8e3a4f5ef52c13b42b3d"> 94</a></span><span class="preprocessor">#define MAX_FLAKE_BLOCK 4608</span><span class="preprocessor"></span></div>
|
||
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="consts_8h.html#a3fd3617b4eb7e9548e0fd0ca8990e44a"> 96</a></span><span class="preprocessor">#define MIN_FLAKE_BLOCK 256</span></div>
|
||
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span></div>
|
||
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="consts_8h.html#aa64757ba31a320f675fca1062111180f"> 100</a></span><span class="preprocessor">#define CD_XFIX_MASK 0xFF000000U</span><span class="preprocessor"></span></div>
|
||
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="consts_8h.html#a0b24c62ef1b78b72b9f4a42918f39e13"> 102</a></span><span class="preprocessor">#define CD_DFIX_MASK 0x00FFFFFFU</span></div>
|
||
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
|
||
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span><span class="preprocessor">#ifndef _MSC_VER</span></div>
|
||
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span><span class="preprocessor">#pragma clang diagnostic pop</span></div>
|
||
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="preprocessor">#endif</span></div>
|
||
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
||
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span><span class="preprocessor">#endif </span><span class="comment">// LIBAARUFORMAT_CONSTS_H</span></div>
|
||
|
|
</div><!-- fragment --></div><!-- contents -->
|
||
|
|
</div><!-- doc-content -->
|
||
|
|
</div><!-- container -->
|
||
|
|
<!-- start footer part -->
|
||
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||
|
|
<ul>
|
||
|
|
<li class="navelem"><a href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a href="dir_aeff2545c9dfcfc842fe9d84b123cb31.html">aaruformat</a></li><li class="navelem"><a href="consts_8h.html">consts.h</a></li>
|
||
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|