A _Frame struct with added custom fields to encode DNG fields and a DNG thumbnail. More...
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. |
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.
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] |
const std::string& FCam::_DNGFrame::model | ( | ) | const [inline, virtual] |
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
|