Definition at line 29 of file cfapattern.hpp.
◆ ~CfaPattern()
OpenRaw::CfaPattern::~CfaPattern |
( |
| ) |
|
|
virtual |
◆ CfaPattern() [1/2]
OpenRaw::CfaPattern::CfaPattern |
( |
| ) |
|
|
protected |
◆ CfaPattern() [2/2]
OpenRaw::CfaPattern::CfaPattern |
( |
::or_cfa_pattern | pattern, |
|
|
uint16_t | width, |
|
|
uint16_t | height ) |
|
protected |
◆ is2by2Rgb()
bool OpenRaw::CfaPattern::is2by2Rgb |
( |
| ) |
const |
◆ patternPattern()
const uint8_t * OpenRaw::CfaPattern::patternPattern |
( |
uint16_t & | count | ) |
const |
◆ patternType()
or_cfa_pattern OpenRaw::CfaPattern::patternType |
( |
| ) |
const |
◆ setPatternPattern()
void OpenRaw::CfaPattern::setPatternPattern |
( |
const uint8_t * | pattern, |
|
|
uint16_t | count ) |
|
protected |
Set the pattern pattern.
- Parameters
-
pattern | the actual pattern sequence left to right, top to bottom |
count | the number of element. Should be width x height |
Definition at line 154 of file cfapattern.cpp.
◆ setSize()
void OpenRaw::CfaPattern::setSize |
( |
uint16_t | x, |
|
|
uint16_t | y ) |
◆ twoByTwoPattern()
const CfaPattern * OpenRaw::CfaPattern::twoByTwoPattern |
( |
::or_cfa_pattern | pattern | ) |
|
|
static |
factory to return a singleton instance of the right pattern
- Returns
- a const CfaPattern. Never delete it. MAY BE NULL.
Definition at line 77 of file cfapattern.cpp.
The documentation for this class was generated from the following files: