libopenraw  0.3.7
Public Member Functions | List of all members
OpenRaw::Internals::Cfa2x2RgbPattern Class Reference

The MosaicInfo type for 2x2 bayer mosaic patterns. More...

Inheritance diagram for OpenRaw::Internals::Cfa2x2RgbPattern:
OpenRaw::MosaicInfo

Public Member Functions

 Cfa2x2RgbPattern (::or_cfa_pattern pattern)
 Constructor for a specific 2x2 pattern.
 
- Public Member Functions inherited from OpenRaw::MosaicInfo
void setSize (uint16_t x, uint16_t y)
 Set the pattern size.
 
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.
 
bool is2by2Rgb () const
 Return if the pattern is 2x2 RGB.
 
::or_cfa_pattern patternType () const
 
const uint8_t * patternPattern (uint16_t &count) const
 Return the pattern's pattern. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from OpenRaw::MosaicInfo
static const MosaicInfotwoByTwoPattern (::or_cfa_pattern)
 Factory to return a singleton instance of the right pattern. More...
 
- Protected Member Functions inherited from OpenRaw::MosaicInfo
 MosaicInfo (::or_cfa_pattern pattern, uint16_t width, uint16_t height)
 Construct a MosaicInfo. More...
 
void setPatternPattern (const uint8_t *pattern, uint16_t count)
 Set the pattern pattern. More...
 
 MosaicInfo (const MosaicInfo &)=delete
 
MosaicInfooperator= (const MosaicInfo &)=delete
 
void setPatternType (::or_cfa_pattern pattern)
 Set the pattern type.
 
- Protected Attributes inherited from OpenRaw::MosaicInfo
Privated
 Private data.
 

Detailed Description

The MosaicInfo type for 2x2 bayer mosaic patterns.

Definition at line 51 of file mosaicinfo.cpp.


The documentation for this class was generated from the following file: