MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

FCam::Platform Class Reference

The abstract base class for static platform data. More...

Inheritance diagram for FCam::Platform:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual BayerPattern  bayerPattern () const =0
  Get the bayer pattern of this sensor when in raw mode.
virtual void  rawToRGBColorMatrix (int kelvin, int *matrix, int *wbc) const =0
  Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance.
virtual const std::string &  manufacturer () const =0
  The camera's manufacturer.
virtual const std::string &  model () const =0
  The camera's model.
virtual unsigned short  minRawValue () const =0
  The smallest value to expect when in raw mode.
virtual unsigned short  maxRawValue () const =0
  The largest value to expect when in raw mode.

Detailed Description

The abstract base class for static platform data.


Member Function Documentation

virtual BayerPattern FCam::Platform::bayerPattern (  )  const [pure virtual]

Get the bayer pattern of this sensor when in raw mode.

Implemented in FCam::N9::Platform, and FCam::_DNGFrame.

virtual void FCam::Platform::rawToRGBColorMatrix ( int  kelvin,
int *  matrix,
int *  wbc  
) const [pure virtual]

Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance.

Given in row-major order.

Implemented in FCam::N9::Platform, and FCam::_DNGFrame.

virtual const std::string& FCam::Platform::manufacturer (  )  const [pure virtual]

The camera's manufacturer.

(Nokia).

Implemented in FCam::N9::Platform, and FCam::_DNGFrame.

virtual const std::string& FCam::Platform::model (  )  const [pure virtual]

The camera's model.

Should also include manufacturer (Nokia N9).

Implemented in FCam::N9::Platform, and FCam::_DNGFrame.

virtual unsigned short FCam::Platform::minRawValue (  )  const [pure virtual]

The smallest value to expect when in raw mode.

Implemented in FCam::N9::Platform, and FCam::_DNGFrame.

virtual unsigned short FCam::Platform::maxRawValue (  )  const [pure virtual]

The largest value to expect when in raw mode.

Implemented in FCam::N9::Platform, and FCam::_DNGFrame.


Copyright (c) 2012, Nokia Corporation and/or its subsidiary(-ies). All rights reserved. See Copyright.
MeeGo 1.2 Harmattan API