MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

FCam::_DNGFrame Class Reference

A _Frame struct with added custom fields to encode DNG fields and a DNG thumbnail. More...

Inheritance diagram for FCam::_DNGFrame:
Inheritance graph
[legend]
Collaboration diagram for FCam::_DNGFrame:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const Platform platform () const
  DNGFrames also act as their own platform data, because those properties may vary per DNG.
BayerPattern  bayerPattern () const
  Get the bayer pattern of this sensor when in raw mode.
unsigned short  minRawValue () const
  The smallest value to expect when in raw mode.
unsigned short  maxRawValue () const
  The largest value to expect when in raw mode.
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.
const std::string &  manufacturer () const
  The camera's manufacturer.
const std::string &  model () const
  The camera's model.
virtual void  debug (const char *name="") const
  A debugging dump function.

Detailed Description

A _Frame struct with added custom fields to encode DNG fields and a DNG thumbnail.

You should not instantiate a _DNGFrame directly, unless you're making dummy frames for testing purposes.


Member Function Documentation

const Platform& FCam::_DNGFrame::platform (  )  const [inline]

DNGFrames also act as their own platform data, because those properties may vary per DNG.

BayerPattern FCam::_DNGFrame::bayerPattern (  )  const [inline, virtual]

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

Implements FCam::Platform.

unsigned short FCam::_DNGFrame::minRawValue (  )  const [inline, virtual]

The smallest value to expect when in raw mode.

Implements FCam::Platform.

unsigned short FCam::_DNGFrame::maxRawValue (  )  const [inline, virtual]

The largest value to expect when in raw mode.

Implements FCam::Platform.

void FCam::_DNGFrame::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.

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

The camera's manufacturer.

(Nokia).

Implements FCam::Platform.

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

The camera's model.

Should also include manufacturer (Nokia N9).

Implements FCam::Platform.

virtual void FCam::_DNGFrame::debug ( const char *  name = ""  )  const [virtual]

A debugging dump function.

Prints out all DNGFrame-specific fields, and then calls FCam::_Frame::debug to print the base fields and tags.


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