24 #ifndef LIBOPENRAWPP_RAWFILE_H_
25 #define LIBOPENRAWPP_RAWFILE_H_
30 #include <libopenraw/rawfile.h>
45 struct BuiltinColourMatrix;
53 typedef ::or_rawfile_type Type;
54 typedef ::or_rawfile_typeid TypeId;
72 Type _typeHint = OR_RAWFILE_TYPE_UNKNOWN);
81 Type _typeHint = OR_RAWFILE_TYPE_UNKNOWN);
137 ::or_error getColourMatrix2(
double* matrix, uint32_t & size);
143 ExifLightsourceValue getCalibrationIlluminant2();
145 const MetaValue *getMetaValue(int32_t meta_index);
149 const uint32_t type_id;
194 virtual ::or_error
_getColourMatrix(uint32_t index,
double* matrix, uint32_t & size);
195 virtual ExifLightsourceValue _getCalibrationIlluminant(uint16_t index);
196 virtual MetaValue *_getMetaValue(int32_t ) = 0;
198 TypeId _typeIdFromModel(
const std::string& make,
const std::string & model);
199 TypeId _typeIdFromMake(
const std::string& make);
204 virtual void _identifyId() = 0;
216 static Type identify(
const char*_filename);
217 static ::or_error identifyBuffer(
const uint8_t* buff,
size_t len,
221 const std::string& value);