Public Member Functions

FCam::_DNGFrame Class Reference

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

#include <DNG.h>

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

List of all members.

Public Member Functions

const Platformplatform () 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.
const Platformplatform () 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.

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.

Definition at line 23 of file DNG.h.


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.

Definition at line 30 of file DNG.h.

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

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

Implements FCam::Platform.

Definition at line 51 of file DNG.h.

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

The smallest value to expect when in raw mode.

Implements FCam::Platform.

Definition at line 52 of file DNG.h.

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

The largest value to expect when in raw mode.

Implements FCam::Platform.

Definition at line 53 of file DNG.h.

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.

Definition at line 28 of file DNG.cpp.

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

The camera's manufacturer.

(e.g. Canon).

Implements FCam::Platform.

Definition at line 56 of file DNG.h.

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

The camera's model.

Should also include manufacturer (e.g. Canon 400D).

Implements FCam::Platform.

Definition at line 57 of file DNG.h.

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.

Definition at line 42 of file DNG.cpp.

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

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

Definition at line 30 of file DNG.h.

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

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

Implements FCam::Platform.

Definition at line 51 of file DNG.h.

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

The smallest value to expect when in raw mode.

Implements FCam::Platform.

Definition at line 52 of file DNG.h.

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

The largest value to expect when in raw mode.

Implements FCam::Platform.

Definition at line 53 of file DNG.h.

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]

The camera's manufacturer.

(e.g. Canon).

Implements FCam::Platform.

Definition at line 56 of file DNG.h.

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

The camera's model.

Should also include manufacturer (e.g. Canon 400D).

Implements FCam::Platform.

Definition at line 57 of file DNG.h.

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.


The documentation for this class was generated from the following files: