24 #include <libopenraw/consts.h>
38 void setSize(uint16_t x, uint16_t y);
40 void getSize(uint16_t &x, uint16_t &y)
const;
Info on the mosaic for the Colour Filter Array.
void setSize(uint16_t x, uint16_t y)
Set the pattern size.
void setPatternType(::or_cfa_pattern pattern)
Set the pattern type.
::or_cfa_pattern patternType() const
void getSize(uint16_t &x, uint16_t &y) const
Get the pattern size.
bool isCFA() const
Return of the mosaic is a Color Filter Array.
void setPatternPattern(const uint8_t *pattern, uint16_t count)
Set the pattern pattern.
static const MosaicInfo * twoByTwoPattern(::or_cfa_pattern)
Factory to return a singleton instance of the right pattern.
const uint8_t * patternPattern(uint16_t &count) const
Return the pattern's pattern.
bool is2by2Rgb() const
Return if the pattern is 2x2 RGB.
or_cfa_pattern
CFA pattern types.
Global namespace for libopenraw.