libopenraw
|
Classes | |
class | Private |
Public Member Functions | |
void | setSize (uint16_t x, uint16_t y) |
bool | is2by2Rgb () const |
::or_cfa_pattern | patternType () const |
const uint8_t * | patternPattern (uint16_t &count) const |
Static Public Member Functions | |
static const CfaPattern * | twoByTwoPattern (::or_cfa_pattern) |
Protected Member Functions | |
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.
bool OpenRaw::CfaPattern::is2by2Rgb | ( | ) | const |
Return if the pattern is 2x2 RGB
Definition at line 147 of file cfapattern.cpp.
Referenced by setPatternPattern(), and setSize().
or_cfa_pattern OpenRaw::CfaPattern::patternType | ( | ) | const |
Definition at line 186 of file cfapattern.cpp.
Referenced by OpenRaw::Internals::OrfFile::_getRawData(), OpenRaw::Internals::CRWFile::_getRawData(), OpenRaw::RawData::getRenderedImage(), and OpenRaw::Internals::NefFile::isCompressed().
|
protected |
Set the pattern pattern.
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.
References is2by2Rgb(), and setSize().
void OpenRaw::CfaPattern::setSize | ( | uint16_t | x, |
uint16_t | y | ||
) |
Set the pattern size
Definition at line 135 of file cfapattern.cpp.
References is2by2Rgb().
Referenced by setPatternPattern().
|
static |
factory to return a singleton instance of the right pattern
Definition at line 77 of file cfapattern.cpp.
Referenced by OpenRaw::RawData::setDimensions().