RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::Camera Class Referencefinal

#include "metadata/Camera.h"

Collaboration diagram for rawspeed::Camera:
[legend]

Public Types

enum class  SupportStatus : uint8_t {
  SupportedNoSamples , Supported , Unknown , UnknownCamera ,
  UnknownNoSamples , Unsupported
}

Public Member Functions

 Camera (const Camera *camera, uint32_t alias_num)
const CameraSensorInfogetSensorInfo (int iso) const

Public Attributes

std::string make
std::string model
std::string mode
std::string canonical_make
std::string canonical_model
std::string canonical_alias
std::string canonical_id
std::vector< std::string > aliases
std::vector< std::string > canonical_aliases
ColorFilterArray cfa
SupportStatus supportStatus
iPoint2D cropSize
iPoint2D cropPos
std::vector< BlackAreablackAreas
std::vector< CameraSensorInfosensorInfo
int decoderVersion
Hints hints
std::vector< NotARational< int > > color_matrix
bool cropAvailable = false

Detailed Description

Definition at line 77 of file Camera.h.

Member Enumeration Documentation

◆ SupportStatus

enum class rawspeed::Camera::SupportStatus : uint8_t
strong
Enumerator
SupportedNoSamples 
Supported 
Unknown 
UnknownCamera 
UnknownNoSamples 
Unsupported 

Definition at line 79 of file Camera.h.

Constructor & Destructor Documentation

◆ Camera()

rawspeed::Camera::Camera ( const Camera * camera,
uint32_t alias_num )

Definition at line 90 of file Camera.cpp.

References Camera(), aliases, canonical_alias, canonical_aliases, model, and ThrowCME.

Referenced by Camera().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ getSensorInfo()

const CameraSensorInfo * rawspeed::Camera::getSensorInfo ( int iso) const
nodiscard

Definition at line 418 of file Camera.cpp.

References assert(), getSensorInfo(), and sensorInfo.

Referenced by rawspeed::RafDecoder::decodeMetaDataInternal(), getSensorInfo(), and rawspeed::RawDecoder::setMetaData().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ aliases

std::vector<std::string> rawspeed::Camera::aliases

Definition at line 101 of file Camera.h.

Referenced by Camera().

◆ blackAreas

std::vector<BlackArea> rawspeed::Camera::blackAreas

◆ canonical_alias

std::string rawspeed::Camera::canonical_alias

◆ canonical_aliases

std::vector<std::string> rawspeed::Camera::canonical_aliases

Definition at line 102 of file Camera.h.

Referenced by Camera().

◆ canonical_id

std::string rawspeed::Camera::canonical_id

◆ canonical_make

std::string rawspeed::Camera::canonical_make

◆ canonical_model

std::string rawspeed::Camera::canonical_model

◆ cfa

◆ color_matrix

std::vector<NotARational<int> > rawspeed::Camera::color_matrix

◆ cropAvailable

bool rawspeed::Camera::cropAvailable = false

◆ cropPos

iPoint2D rawspeed::Camera::cropPos

◆ cropSize

iPoint2D rawspeed::Camera::cropSize

◆ decoderVersion

int rawspeed::Camera::decoderVersion

Definition at line 109 of file Camera.h.

Referenced by rawspeed::RawDecoder::checkCameraSupported().

◆ hints

Hints rawspeed::Camera::hints

Definition at line 110 of file Camera.h.

Referenced by rawspeed::RawDecoder::checkCameraSupported().

◆ make

std::string rawspeed::Camera::make

Definition at line 94 of file Camera.h.

◆ mode

std::string rawspeed::Camera::mode

Definition at line 96 of file Camera.h.

◆ model

std::string rawspeed::Camera::model

Definition at line 95 of file Camera.h.

Referenced by Camera().

◆ sensorInfo

std::vector<CameraSensorInfo> rawspeed::Camera::sensorInfo

Definition at line 108 of file Camera.h.

Referenced by getSensorInfo().

◆ supportStatus

SupportStatus rawspeed::Camera::supportStatus

Definition at line 104 of file Camera.h.

Referenced by rawspeed::RawDecoder::handleCameraSupport().


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