A _Frame struct with added custom fields to encode DNG fields and a DNG thumbnail. More...
#include <DNG.h>


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, float *matrix) 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.
Definition at line 23 of file DNG.h.
| const Platform& FCam::_DNGFrame::platform | ( | ) | const [inline] |
| 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, | |
| float * | matrix | |||
| ) | 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] |
| 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.
1.7.1