MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Static platform data about the N9 and its main image sensor. More...

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

List of all members.

Public Types

enum   Variant
 

Which variant of the platform are we running on?


Public Member Functions

virtual void  rawToRGBColorMatrix (int kelvin, int *matrix, int *wbc) const
  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
  The camera's manufacturer.
virtual const std::string &  model () const
  The camera's model.
virtual unsigned short  minRawValue () const
  The N9 produces raw values greater than or equal to zero.
virtual unsigned short  maxRawValue () const
  The N9 produces raw values up to a maximum of 959.
virtual BayerPattern  bayerPattern () const
  The N9 bayer pattern (the top 2x2 block of pixels) is GRBG.

Static Public Member Functions

static const Platform instance ()
  Access to the singleton instance of this class.

Detailed Description

Static platform data about the N9 and its main image sensor.


Member Function Documentation

virtual void FCam::N9::Platform::rawToRGBColorMatrix ( int  kelvin,
int *  matrix,
int *  wbc  
) const [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.

Implements FCam::Platform.

virtual const std::string& FCam::N9::Platform::manufacturer (  )  const [inline, virtual]

The camera's manufacturer.

(Nokia).

Implements FCam::Platform.

virtual const std::string& FCam::N9::Platform::model (  )  const [inline, virtual]

The camera's model.

Should also include manufacturer (Nokia N9).

Implements FCam::Platform.

static const Platform& FCam::N9::Platform::instance (  )  [static]

Access to the singleton instance of this class.

Normally you access the platform data via Frame::platform or Sensor::platform.


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