The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
nBits.h
Go to the documentation of this file.
1
/**
2
* @file nBits
3
* file name: nBits.h
4
* @author Betti Oesterholz
5
* @date 14.03.2011
6
* @mail webmaster@BioKom.info
7
*
8
* System: C++
9
*
10
* This header specifies functions to analyse the fib-objects to get bit counts.
11
* Copyright (C) @c GPL3 2011 Betti Oesterholz
12
*
13
* This program is free software: you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License (GPL) as
15
* published by the Free Software Foundation, either version 3 of the
16
* License, or any later version.
17
*
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU Lesser General Public License for more details.
22
*
23
* You should have received a copy of the GNU General Public License
24
* along with this program. If not, see <http://www.gnu.org/licenses/>.
25
*
26
*
27
* This header specifies functions to analyse the fib-objects to get bit
28
* counts.
29
*/
30
/*
31
History:
32
14.03.2011 Oesterholz created
33
*/
34
35
#ifndef ___N_ANALYSE__N_FIB_OBJECT__N_BITS_H__
36
#define ___N_ANALYSE__N_FIB_OBJECT__N_BITS_H__
37
38
39
#include "version.h"
40
41
#include "
cFibElement.h
"
42
43
#include <ostream>
44
45
46
47
using namespace
std;
48
using namespace
fib;
49
50
51
namespace
fib{
52
53
namespace
algorithms{
54
55
namespace
nAnalyse{
56
57
namespace
nFibObject{
58
59
namespace
nBits{
60
61
/**
62
* This function returns the minimal number of bits needed to store the
63
* mantissa values, of all underfunction values in the given fib-object.
64
*
65
* @param pFibObject the fib object to analyse
66
* @return a pair with:
67
* -first: the minimal number of bits needed to store the mantissa values
68
* -second: the number of values in functions
69
*/
70
pair< unsigned int, unsigned long >
evalueMaxFunctionValuesMantissaBits
(
71
const
cFibElement
* pFibObject );
72
73
74
};
//end namespace nBits
75
};
//end namespace nFibObject
76
};
//end namespace nAnalyse
77
};
//end namespace algorithms
78
};
//end namespace fib
79
80
81
#endif //___N_ANALYSE__N_FIB_OBJECT__N_BITS_H__
fib.algorithms
nAnalyse
nFibObject
incl
nBits.h
Generated on Thu Feb 14 2013 14:06:55 for The Fib multimedia system by
1.8.1