|
void | setSize (uint16_t x, uint16_t y) |
|
bool | is2by2Rgb () const |
|
::or_cfa_pattern | patternType () const |
|
const uint8_t * | patternPattern (uint16_t &count) const |
|
|
| CfaPattern (::or_cfa_pattern pattern, uint16_t width, uint16_t height) |
|
void | setPatternPattern (const uint8_t *pattern, uint16_t count) |
|
Definition at line 29 of file cfapattern.hpp.
◆ is2by2Rgb()
bool OpenRaw::CfaPattern::is2by2Rgb |
( |
| ) |
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: