libopenraw  0.3.7
Typedefs | Functions
Mosaic Info API

Access to the mosaic info. More...

Typedefs

typedef const struct _MosaicInfo * ORMosaicInfoRef
 A MosaicInfo object.
 

Functions

void or_mosaicinfo_set_size (ORMosaicInfoRef pattern, uint16_t x, uint16_t y)
 Set the size of the mosaic.
 
void or_mosaicinfo_get_size (ORMosaicInfoRef pattern, uint16_t *x, uint16_t *y)
 Get the size of the mosaic.
 
or_cfa_pattern or_mosaicinfo_get_type (ORMosaicInfoRef)
 Get the type of the mosaic.
 
const uint8_t * or_mosaicinfo_get_pattern (ORMosaicInfoRef pattern, uint16_t *count)
 Get the pattern. More...
 

Detailed Description

Access to the mosaic info.

Function Documentation

◆ or_mosaicinfo_get_pattern()

const uint8_t* or_mosaicinfo_get_pattern ( ORMosaicInfoRef  pattern,
uint16_t *  count 
)

Get the pattern.

This will return an array of or_cfa_pattern_colour indicating the individual colours of the mosaic colour filter array.

Parameters
patternThe MosaicInfo
[out]countthe size of the array returned.
Returns
The pattern. The pointer is owned by the MosaicInfo object.

Definition at line 36 of file mosaicinfo.cpp.

References OpenRaw::MosaicInfo::patternPattern().