libopenraw  0.3.7
nefcfaiterator.hpp
1 /* -*- mode:c++; tab-width:4; c-basic-offset:4 -*- */
2 /*
3  * libopenraw - nefcfaiterator.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 OR_INTERNALS_NEFCFAITERATOR_H_
23 #define OR_INTERNALS_NEFCFAITERATOR_H_
24 
25 #include <stddef.h>
26 #include <stdint.h>
27 
28 #include "nefdiffiterator.hpp"
29 
30 namespace OpenRaw {
31 namespace Internals {
32 
34  NefDiffIterator m_diffs;
35  size_t m_columns;
36  unsigned int m_row;
37  unsigned int m_column;
38  uint16_t m_vpred[2][2];
39  uint16_t m_hpred[2];
40 
41 public:
42 
43  NefCfaIterator (const NefDiffIterator&, size_t,
44  const uint16_t(*)[2]);
45  uint16_t get();
46 };
47 
48 }
49 }
50 
51 #endif
Global namespace for libopenraw.
Definition: arwfile.cpp:29