libopenraw
Main Page
Related Pages
Namespaces
Classes
Files
File List
lib
nefdiffiterator.h
1
/* -*- mode:c++; tab-width:4; c-basic-offset:4 -*- */
2
/*
3
* libopenraw - nefdiffiterator.h
4
*
5
* Copyright (C) 2008 Rafael Avila de Espindola.
6
*
7
* This library is free software: you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public License
9
* as published by the Free Software Foundation, either version 3 of
10
* the License, or (at your option) any later version.
11
*
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library. If not, see
19
* <http://www.gnu.org/licenses/>.
20
*/
21
22
#ifndef __NEFDIFFITERATOR_H_
23
#define __NEFDIFFITERATOR_H_
24
25
#include "bititerator.h"
26
#include "huffman.h"
27
28
namespace
OpenRaw {
29
namespace
Internals {
30
31
class
NefDiffIterator
{
32
BitIterator
m_iter;
33
HuffmanDecoder
m_decoder;
34
35
public
:
36
static
const
HuffmanNode
Lossy12Bit[];
37
static
const
HuffmanNode
LossLess14Bit[];
38
39
NefDiffIterator
(
const
HuffmanNode
*
const
,
const
void
*);
40
int
get
();
41
};
42
43
}
44
}
45
46
#endif
Generated on Sat Jan 12 2013 13:31:44 for libopenraw by
1.8.3